This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
带饱和的算术运算,当运算的结果超过当前比特位数所能表示的最大值后,会将结果饱和到当前比特位数所能表示的最大值,如果不加饱和,那么运算的结果就会直接溢出。带饱和运算的指令在使用的过程中如果发生饱和,会在CSR寄存器的SAT位置1.
你要想了解这些内联函数的具体含义,还是要结合sprugh7 指令手册中对应的指令来一起理解。