|
|||||||||||
|
Technical Support On-Line Manuals Compiler Reference Guide |
Compiler Reference Guide__sasx intrinsic
This intrinsic inserts an unsigned int __sasx(unsigned int where:
The
Each bit in APSR.GE is set or cleared for each byte in the
return value, depending on the results of the operation. If
Example:
unsigned int exchange_subtract_add(unsigned int val1, unsigned int val2)
{
unsigned int res;
res = __sasx(val1,val2); /* res[15:0] = val1[15:0] - val2[31:16]
res[31:16] = val1[31:16] + val2[15:0]
*/
return res;
}
| ||||||||||
|
|||||||||||