summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-07-20 15:03:36 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-07-20 15:03:36 -0700
commitfcc23891bbfd06cff9d3f486a6c73eb9d159aa07 (patch)
treecce8c25a1cf09070c226d1ff81883231a29f9694 /src
parent79b3208aa585e04f3ccf7559777854c2fae1a698 (diff)
downloadgem5-fcc23891bbfd06cff9d3f486a6c73eb9d159aa07.tar.xz
Implement jnbe.
--HG-- extra : convert_revision : cdbf1ff5ed3a63787cbd2187a8a3455a41cc5085
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/isa/insts/control_transfer/jump.py10
1 files changed, 10 insertions, 0 deletions
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