Hi!

On Fri, Nov 10, 2017 at 06:13:19PM -0500, Michael Meissner wrote:
> This patch updates the float128 built-in functions that get/set exponents, get
> mantissa, and do tests to work with _Float128 on the current system, and with
> long double when -mabi=ieeelongdouble is used.
> 
> The issue is when long double == IEEE, we use TFmode instead of KFmode.  I
> decided to fix this inside of rs6000_expand_builtin, adding a switch statement
> for the KFmode float128 built-ins, and switching them to the TFmode variant if
> -mabi=ieeelongdouble.

>       (scalar_extract_expq): Change float128 built-in functions to
>       accomidate having both KFmode and TFmode functions.  Use the
>       KFmode variant as the default.

"accommodate".

>       * config/rs6000/vsx.md (xsxexpqp_<mode>): Change float128 built-in
>       function insns to support both TFmode and KFmode varaints.

"variants".

Other than those trivialities, looks fine.  Please commit.  Thanks!


Segher

Reply via email to