Re: [PATCH 1/3][AArch64] Improve zero extend

2016-07-19 Thread Richard Earnshaw (lists)
On 19/07/16 16:30, Wilco Dijkstra wrote: > This patchset improves zero extend costs and code generation. > > When zero extending a 32-bit register, we emit a "mov", but currently > report the cost of the "mov" incorrectly. > > In terms of speed, we currently say the cost is that of an extend > op

[PATCH 1/3][AArch64] Improve zero extend

2016-07-19 Thread Wilco Dijkstra
This patchset improves zero extend costs and code generation. When zero extending a 32-bit register, we emit a "mov", but currently report the cost of the "mov" incorrectly. In terms of speed, we currently say the cost is that of an extend operation. But the cost of a "mov" is the cost of 1 instr