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

[powerpc] get_rounding_mode: utilize faster method to get rounding mode



Add support to use 'mffsl' instruction if compiled for POWER9 (or later).

Also, mask the result to avoid bleeding unrelated bits into the result of
_FPU_GET_RC().

Reviewed-by: default avatarTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
parent 28dd3939
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