From 3b0c25022ec92d117d4ff6d7e11fdfb5327eff0e Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Tue, 31 Jul 2018 17:36:00 +0000 Subject: [PATCH] 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. From-SVN: r263171 --- gcc/ChangeLog | 4 ++++ gcc/config/aarch64/aarch64.opt | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 179f97ad50d..d547126badf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-07-31 Richard Earnshaw + + * config/aarch64/aarch64.opt (mtrack-speculation): New target option. + 2018-07-31 Richard Earnshaw * config/aarch64.md (unspecv): Add UNSPECV_SPECULAION_BARRIER. diff --git a/gcc/config/aarch64/aarch64.opt b/gcc/config/aarch64/aarch64.opt index 1426b45ff0f..bc9b22a4464 100644 --- a/gcc/config/aarch64/aarch64.opt +++ b/gcc/config/aarch64/aarch64.opt @@ -214,3 +214,7 @@ Target RejectNegative Joined Enum(sve_vector_bits) Var(aarch64_sve_vector_bits) mverbose-cost-dump Common Undocumented Var(flag_aarch64_verbose_cost) Enables verbose cost model dumping in the debug dump files. + +mtrack-speculation +Target Var(aarch64_track_speculation) +Generate code to track when the CPU might be speculating incorrectly. -- 2.30.2