On Tue, Oct 27, 2015 at 06:21:44PM +0000, Kyrill Tkachov wrote: > Hi all, > > The testcase gcc.target/aarch64/vldN_lane_1.c ICEs on aarch64 targets when > RTL checking is enabled. We end up taking the UINTVAL of a CONST_DOUBLE in > aarch64_output_simd_mov_immediate. This is because > aarch64_output_simd_mov_immediate only handles SF and DF inner modes whereas > in that testcase it ends up being passed a V4HF immediate. > > This patch generalises the check and allows for any FP inner mode. > The testcase now compiles successfully with RTL checking enabled. > There are some other RTL checking failures that have been reported in the > last few days and I'll tackle them as I go along. > > Bootstrapped and tested on aarch64. > > Ok for trunk?
OK. Thanks, James > > Thanks, > Kyrill > > 2015-10-27 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > > * config/aarch64/aarch64.c (aarch64_output_simd_mov_immediate): > Handle floating point inner modes properly.