diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-07-17 15:36:45 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-07-17 15:36:45 -0700 |
commit | d77d4c04b702fd8af1d268893bd71e7245f9c542 (patch) | |
tree | bebd7ca5997fcb17697ad9a55677e75ca198597f /src/arch/x86/isa/insts | |
parent | c4004482a536f412f5aa8416aa6ca39d8075a89c (diff) | |
download | gem5-d77d4c04b702fd8af1d268893bd71e7245f9c542.tar.xz |
Implement the jz instruction.
--HG--
extra : convert_revision : 7c0bd7ce244f724ac03bbb5fdf770c7a3eba78b4
Diffstat (limited to 'src/arch/x86/isa/insts')
-rw-r--r-- | src/arch/x86/isa/insts/control_transfer/jump.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/arch/x86/isa/insts/control_transfer/jump.py b/src/arch/x86/isa/insts/control_transfer/jump.py index e90e5b12b..9a013a823 100644 --- a/src/arch/x86/isa/insts/control_transfer/jump.py +++ b/src/arch/x86/isa/insts/control_transfer/jump.py @@ -53,8 +53,11 @@ # # Authors: Gabe Black -microcode = "" -#let {{ -# class JMP(Inst): -# "GenFault ${new UnimpInstFault}" -#}}; +microcode = ''' +def macroop JZ_I +{ + rdip t1 + limm t2, imm + wrip t1, t2, flags=(CZF,) +}; +''' |