Re: [PATCH][AArch64] Avoid emitting zero immediate as zero register

2015-12-16 Thread James Greenhalgh
On Tue, Dec 15, 2015 at 11:17:35AM +, Wilco Dijkstra wrote: > ping > > > -Original Message- > > From: Wilco Dijkstra [mailto:wdijk...@arm.com] > > Sent: 28 October 2015 17:33 > > To: GCC Patches > > Subject: [PATCH][AArch64] Avoid emit

RE: [PATCH][AArch64] Avoid emitting zero immediate as zero register

2015-12-15 Thread Wilco Dijkstra
ping > -Original Message- > From: Wilco Dijkstra [mailto:wdijk...@arm.com] > Sent: 28 October 2015 17:33 > To: GCC Patches > Subject: [PATCH][AArch64] Avoid emitting zero immediate as zero register > > Several instructions accidentally emit wzr/xzr even when the pa

[PATCH][AArch64] Avoid emitting zero immediate as zero register

2015-10-28 Thread Wilco Dijkstra
Several instructions accidentally emit wzr/xzr even when the pattern specifies an immediate. Fix this by removing the register specifier in patterns that emit immediates. Passes regression tests. OK for commit? ChangeLog: 2015-10-28 Wilco Dijkstra * gcc/config/aarch64/aarch64.md (cc