From: Hoa Nguyen Date: Fri, 12 Jul 2019 19:09:30 +0000 (-0700) Subject: arch-x86: add unconditional tag to calls/returns X-Git-Tag: v19.0.0.0~732 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9b549fbf572ac1b8b40ee86411eb9331a2bf458;p=gem5.git 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 --- 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")