[AArch64] Implement workaround for ARM Cortex-A53 erratum 835769
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 10 Oct 2014 12:28:45 +0000 (12:28 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 10 Oct 2014 12:28:45 +0000 (12:28 +0000)
commit75cf149453542f0107a957624b27e8c3cce106fa
treeffcfff25f5f96b8c613f337c9da709e167e9e127
parentb9696ffb6e8e8fbb59b0cc925e218e92c2d71be0
[AArch64] Implement workaround for ARM Cortex-A53 erratum 835769

* config/aarch64/aarch64.h (FINAL_PRESCAN_INSN): Define.
(ADJUST_INSN_LENGTH): Define.
* config/aarch64/aarch64.opt (mfix-cortex-a53-835769): New option.
* config/aarch64/aarch64.c (is_mem_p): New function.
(is_memory_op): Likewise.
(aarch64_prev_real_insn): Likewise.
(is_madd_op): Likewise.
(dep_between_memop_and_curr): Likewise.
(aarch64_madd_needs_nop): Likewise.
(aarch64_final_prescan_insn): Likewise.
* doc/invoke.texi (AArch64 Options): Document -mfix-cortex-a53-835769
and -mno-fix-cortex-a53-835769 options.

From-SVN: r216075
gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.h
gcc/config/aarch64/aarch64.opt
gcc/doc/invoke.texi