From f9b549fbf572ac1b8b40ee86411eb9331a2bf458 Mon Sep 17 00:00:00 2001 From: Hoa Nguyen Date: Fri, 12 Jul 2019 12:09:30 -0700 Subject: 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 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19448 Maintainer: Jason Lowe-Power Tested-by: kokoro Reviewed-by: Gabe Black --- src/arch/x86/isa/macroop.isa | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/arch') 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") -- cgit v1.2.3