From: Gabe Black Date: Fri, 20 Jul 2007 22:03:36 +0000 (-0700) Subject: Implement jnbe. X-Git-Tag: m5_2.0_beta4~297^2~16 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcc23891bbfd06cff9d3f486a6c73eb9d159aa07;p=gem5.git Implement jnbe. --HG-- extra : convert_revision : cdbf1ff5ed3a63787cbd2187a8a3455a41cc5085 --- diff --git a/src/arch/x86/isa/insts/control_transfer/jump.py b/src/arch/x86/isa/insts/control_transfer/jump.py index e01925f41..b191730d5 100644 --- a/src/arch/x86/isa/insts/control_transfer/jump.py +++ b/src/arch/x86/isa/insts/control_transfer/jump.py @@ -94,6 +94,16 @@ def macroop JBE_I wrip t1, t2, flags=(CCvZF,) }; +def macroop JNBE_I +{ + # Make the default data size of jumps 64 bits in 64 bit mode + .adjust_env oszIn64Override + + rdip t1 + limm t2, imm + wrip t1, t2, flags=(nCCvZF,) +}; + def macroop JMP_I { # Make the default data size of jumps 64 bits in 64 bit mode