[PATCH][AArch64] Restore recog state after finding pre-madd instruction

2014-10-29 Thread Kyrill Tkachov
Hi all, This patch fixes an issue with the final_prescan workaround for the Cortex-A53 erratum 835769 where calling recog_memoized could modify the recog data for the multiply-accumulate instruction when looking at a preceding asm block. This can lead to wrong code generation. The solution

Re: [PATCH][AArch64] Restore recog state after finding pre-madd instruction

2014-10-29 Thread Marcus Shawcroft
On 29 October 2014 10:03, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, This patch fixes an issue with the final_prescan workaround for the Cortex-A53 erratum 835769 where calling recog_memoized could modify the recog data for the multiply-accumulate instruction when looking at a