Re: [PATCH][AArch64][4/5] Improve immediate generation

2015-09-18 Thread James Greenhalgh
On Wed, Sep 02, 2015 at 01:36:03PM +0100, Wilco Dijkstra wrote: > The code that emits a movw with an add/sub is hardly ever used, and all cases > in actual code are already covered by mov+movk, so it is redundant (an > example of such an immediate is 0x00000abcul). > > Passes GCC regressio

[PATCH][AArch64][4/5] Improve immediate generation

2015-09-02 Thread Wilco Dijkstra
The code that emits a movw with an add/sub is hardly ever used, and all cases in actual code are already covered by mov+movk, so it is redundant (an example of such an immediate is 0x00000abcul). Passes GCC regression tests/bootstrap. Minor changes in generated code due to movk being us