Re: [AArch64, PATCH 1/5] Improve MOVI handling (Change interface of aarch64_simd_valid_immediate)

2013-06-04 Thread Marcus Shawcroft
On 3 June 2013 17:31, Ian Bolton wrote: > 13-06-03 Ian Bolton > > * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Change > return type to bool for prototype. > (aarch64_legitimate_constant_p): Check for true instead of not -1. > (aarch64_simd_valid_im

[AArch64, PATCH 1/5] Improve MOVI handling (Change interface of aarch64_simd_valid_immediate)

2013-06-03 Thread Ian Bolton
(This patch is the first of five, where the first 4 do some clean-up and the last fixes a bug with scalar MOVI. The bug fix without the clean-up was particularly ugly!) This one is pretty simple - just altering an interface, so we can later remove an unnecessary wrapper function. OK for trunk?