summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/aarch64-fix-cortex-a53-835769.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove -cc1 option "-backend-option".Eli Friedman2018-04-121-3/+3
| | | | | | | | | It means the same thing as -mllvm; there isn't any reason to have two options which do the same thing. Differential Revision: https://reviews.llvm.org/D45109 llvm-svn: 329965
* [AArch64] Enable A53 erratum workaround (835769) by default for Android targetsBradley Smith2014-10-161-0/+4
| | | | llvm-svn: 219933
* [AArch64] Add workaround for Cortex-A53 erratum (835769)Bradley Smith2014-10-131-0/+9
Some early revisions of the Cortex-A53 have an erratum (835769) whereby it is possible for a 64-bit multiply-accumulate instruction in AArch64 state to generate an incorrect result. The details are quite complex and hard to determine statically, since branches in the code may exist in some circumstances, but all cases end with a memory (load, store, or prefetch) instruction followed immediately by the multiply-accumulate operation. The safest work-around for this issue is to make the compiler avoid emitting multiply-accumulate instructions immediately after memory instructions and the simplest way to do this is to insert a NOP. This patch implements clang options to enable this workaround in the backend. The work-around code generation is not enabled by default. llvm-svn: 219604
OpenPOWER on IntegriCloud