diff options
author | rearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-07-31 17:36:00 +0000 |
---|---|---|
committer | Dongkyun Son <dongkyun.s@samsung.com> | 2019-02-06 15:52:03 +0000 |
commit | dc1279d6da8e406489871229a4778e55f4177bef (patch) | |
tree | 4fb8c870131d16400169b482d7868bae8f309487 | |
parent | 81f53356576efc2be3ba0748551ac8b282bb6491 (diff) | |
download | linaro-gcc-dc1279d6da8e406489871229a4778e55f4177bef.tar.gz linaro-gcc-dc1279d6da8e406489871229a4778e55f4177bef.tar.bz2 linaro-gcc-dc1279d6da8e406489871229a4778e55f4177bef.zip |
AArch64 - Add new option -mtrack-speculation
This patch doesn't do anything useful, it simply adds a new command-line
option -mtrack-speculation to AArch64. Subsequent patches build on this.
* config/aarch64/aarch64.opt (mtrack-speculation): New target option.
(backported 97eb2b8649e777da576598448d9d68afcfe69b54)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263171 138bc75d-0d04-0410-961f-82ee72b054a4
Change-Id: I70cf2047662fa73e3d7090d62392210bac872591
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/aarch64/aarch64.opt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ec6ae81dc01..017782351db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2018-07-31 Richard Earnshaw <rearnsha@arm.com> + * config/aarch64/aarch64.opt (mtrack-speculation): New target option. + +2018-07-31 Richard Earnshaw <rearnsha@arm.com> + * config/aarch64.md (unspecv): Add UNSPECV_SPECULAION_BARRIER. (speculation_barrier): New insn. diff --git a/gcc/config/aarch64/aarch64.opt b/gcc/config/aarch64/aarch64.opt index 82e9f5bd0be..1c9b7052260 100644 --- a/gcc/config/aarch64/aarch64.opt +++ b/gcc/config/aarch64/aarch64.opt @@ -167,3 +167,7 @@ Common Var(flag_mlow_precision_div) Optimization Enable the division approximation. Enabling this reduces precision of division results to about 16 bits for single precision and to 32 bits for double precision. + +mtrack-speculation +Target Var(aarch64_track_speculation) +Generate code to track when the CPU might be speculating incorrectly.
\ No newline at end of file |