summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorHoa Nguyen <hoanguyen@ucdavis.edu>2019-07-12 12:09:30 -0700
committerHoa Nguyen <hoanguyen@ucdavis.edu>2019-07-16 20:26:31 +0000
commitf9b549fbf572ac1b8b40ee86411eb9331a2bf458 (patch)
tree95338742d3941dac89754102e7c619e95bf7996d /src/arch
parent93fadbcabef27580bcfd2647d1f66f5f5c31b7d3 (diff)
downloadgem5-f9b549fbf572ac1b8b40ee86411eb9331a2bf458.tar.xz
arch-x86: add unconditional tag to calls/returns
The branch predictor checks whether an instruction is unconditional branch before adding it or checking the RAS. With this change, the RAS is significantly more effective for short running x86 workloads. Change-Id: I60af5f2f583b898ad77f79f4b0478d6cda88fc21 Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19448 Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/isa/macroop.isa2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/isa/macroop.isa b/src/arch/x86/isa/macroop.isa
index 7d729618a..99d76b48c 100644
--- a/src/arch/x86/isa/macroop.isa
+++ b/src/arch/x86/isa/macroop.isa
@@ -226,8 +226,10 @@ let {{
if self.function_call:
flags.append("IsCall")
+ flags.append("IsUncondControl")
if self.function_return:
flags.append("IsReturn")
+ flags.append("IsUncondControl")
else:
flags.append("IsDelayedCommit")