Re: [GCC][AArch64][PATHC] Only allow 0s unconditionally for floating point values.

2017-08-01 Thread James Greenhalgh
On Tue, Aug 01, 2017 at 08:35:06AM +0100, Tamar Christina wrote: > Hi All, > > Previously I allowed 0s unconditionally through aarch64_can_const_movi_rtx_p > because we should always be able to use movi with 0 regardless of the mode. > > However this was causing issues when a vector contained a 0

[GCC][AArch64][PATHC] Only allow 0s unconditionally for floating point values.

2017-08-01 Thread Tamar Christina
Hi All, Previously I allowed 0s unconditionally through aarch64_can_const_movi_rtx_p because we should always be able to use movi with 0 regardless of the mode. However this was causing issues when a vector contained a 0 element and another value which was too complex for a movi. In theory this s