Skip to content
Commit e68b1151 authored by Paul A. Clarke's avatar Paul A. Clarke
Browse files

[powerpc] __fesetround_inline optimizations



On POWER9, use more efficient means to update the 2-bit rounding mode
via the 'mffscrn' instruction (instead of two 'mtfsb0/1' instructions
or one 'mtfsfi' instruction that modifies 4 bits).

Suggested-by: default avatarPaul E. Murphy <murphyp@linux.ibm.com>
Reviewed-By: default avatarPaul E Murphy <murphyp@linux.ibm.com>
parent 7413c188
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment