Hi Kyrill,

> Since 53c3316a8c79 (PR tree-optimization/108477), expand uses
> aop<mode>3 for IOR and XOR of bitwise-disjoint operands.  AArch64 does
> not define it, so the middle-end defaults to PLUS for SImode and DImode.
> The AArch64 patterns for bitfield insert, shifted operands and ORR
> immediates are written for IOR.  PLUS also loses one sign-bit copy,
> so exact_int_to_float_conversion_p sees 25 significant bits instead of
> 24 and keeps the float/fcvt pair.  For fcvt_int_float_double3.c:

LGTM, OK.

In the future we could check whether it makes sense to handle more
complex immediates as well (or even mix ADD and ORR).

Cheers,
Wilco

Reply via email to