[AArch64] Restore recog state after finding pre-madd instruction
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 29 Oct 2014 21:44:05 +0000 (21:44 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 29 Oct 2014 21:44:05 +0000 (21:44 +0000)
commit3fea1a75f5a7f9bba73e2b7dbf40aeee41a51983
treee420a20917a7cfba03b9d4d171afd166c12e32e3
parenta56561ac2d88ea0bc0bb6551483c118358762842
[AArch64] Restore recog state after finding pre-madd instruction

* config/aarch64/aarch64.c (aarch64_madd_needs_nop): Restore
recog state after aarch64_prev_real_insn call.

* gcc.target/aarch64/madd_after_asm_1.c: New test.

From-SVN: r216852
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/madd_after_asm_1.c [new file with mode: 0644]