Prototype | Description |
---|---|
int __assert1(int, int, int); | Generates trap instructions for kernel debugging. |
void __assert2(int); | Generates trap instructions for kernel debugging. |
unsigned int __cntlz4(unsigned int); | Count Leading Zeros, 4-byte integer |
unsigned int __cntlz8(unsigned long long); | Count Leading Zeros, 8-byte integer |
unsigned int __cnttz4(unsigned int); | Count Trailing Zeros, 4-byte integer |
unsigned int __cnttz8(unsigned long long); | Count Trailing Zeros, 8-byte integer |
signed long long __llabs (signed long long); | Returns the absolute value of the argument. |
unsigned short __load2r(unsigned short*); | Load Halfword Byte Reversed |
unsigned int __load4r(unsigned int*); | Load Word Byte Reversed |
long long int __mulhd(long long int ra, long long int rb); | Multiply High Doubleword Signed
Returns the highorder 64 bits of the 128bit product of the operands ra and rb. Supported only in 64-bit mode. |
unsigned long long int __mulhdu(unsigned long long int ra, unsigned long long int rb); | Multiply High Doubleword Unsigned
Returns the highorder 64 bits of the 128bit product of the operands ra and rb. Supported only in 64-bit mode. |
int __mulhw(int ra, int rb); | Multiply High Word Signed
Returns the highorder 32 bits of the 64bit product of the operands ra and rb. |
unsigned int __mulhwu(unsigned int ra, unsigned int rb); | Multiply High Word Unsigned
Returns the highorder 32 bits of the 64bit product of the operands ra and rb. |
int __popcnt4(unsigned int); | Returns the number of bits set for a 32-bit integer. |
int __popcnt8(unsigned long long); | Returns the number of bits set for a 64-bit integer. |
unsigned long __popcntb(unsigned long); | Counts the 1 bits in each byte of the source operand and places that count into the corresponding byte of the result. |
int __poppar4(unsigned int); | Returns 1 if there is an odd number of bits set in a 32-bit integer. Returns 0 otherwise. |
int __poppar8(unsigned long long); | Returns 1 if there is an odd number of bits set in a 64-bit integer. Returns 0 otherwise. |
unsigned long long __rdlam(unsigned long long rs, unsigned int shift, unsigned long long mask); | Rotate Double Left and AND with Mask
Rotates the contents of rs left shift bits, ANDs the rotated data with the mask. mask must be a constant and represent a contiguous bit field. |
unsigned long long __rldimi(unsigned long long rs, unsigned long long is, unsigned int shift, unsigned long long mask); | Rotate Left Doubleword Immediate then Mask Insert
Rotates rs left shift bits then inserts rs into is under bit mask mask. shift must be a constant and 0<=shift<=63. mask must be a constant and represent a contiguous bit field. |
unsigned int __rlwimi(unsigned int rs, unsigned int is, unsigned int shift, unsigned int mask); | Rotate Left Word Immediate then Mask Insert
Rotates rs left shift bits then inserts rs into is under bit mask mask. shift must be a constant and 0<=shift<=31. mask must be a constant and represent a contiguous bit field. |
unsigned int __rlwnm(unsigned int rs, unsigned int shift, unsigned int mask); | Rotate Left Word then AND with Mask
Rotates rs left shift bits, then ANDs rs with bit mask mask. mask must be a constant and represent a contiguous bit field. |
unsigned int __rotatel4(unsigned int rs, unsigned int shift); | Rotate Left Word
Rotates rs left shift bits. |
unsigned long long __rotatel8(unsigned long long rs, unsigned long long shift); | Rotate Left Doubleword
Rotates rs left shift bits. |
void __store2r(unsigned short, unsigned short *); | Store 2-byte Register |
void __store4r(unsigned int, unsigned int *); | Store 4-byte Register |
void __tdw(long long a, long long b, unsigned int TO); | Trap Doubleword
Compares operand a with operand b. This comparison results in five conditions which are ANDed with a 5-bit constant TO containing a value of 0 to 31 inclusive. If the result is not 0 the system trap handler is invoked. Each bit position, if set, indicates one or more of the following possible conditions:
Supported only in 64-bit mode. |
void __trap(int); | Trap if the Parameter is not Zero |
void __trapd (long long); | Trap if the Parameter is not Zero
Supported only in 64-bit mode. |
void __tw(int a, int b, unsigned int TO); | Trap Word
Compares operand a with operand b. This comparison results in five conditions which are ANDed with a 5-bit constant TO containing a value of 0 to 31 inclusive. If the result is not 0 the system trap handler is invoked. Each bit position, if set, indicates one or more of the following possible conditions:
|