28.2.24 __builtin_fbcl
Description
Finds the first bit change from left in value. This is useful for dynamic scaling of fixed-point data. For example:
int result, value;
result = __builtin_fbcl(value);
might generate:
fbcl w4, w5
Prototype
int __builtin_fbcl(int value);
Argument
value
– Integer number to check for change.
Return Value
Returns a literal value sign extended to represent the number of bits to shift left.
Assembler Operator/ Machine Instruction
fbcl
Error Messages
None