diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 20:22:56 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 20:22:56 -0700 |
commit | 90dc1abd0b95efc37f0bb12ed1dddd22e0d5d914 (patch) | |
tree | 4267485ef235067dbb85811168371f6fed9eeb2e /src/arch/x86/isa/insts/simd128/integer/data_transfer/move_mask.py | |
parent | 90786e43fc8ba16d6e1941ca996e82e94f186e5e (diff) | |
download | gem5-90dc1abd0b95efc37f0bb12ed1dddd22e0d5d914.tar.xz |
X86: Implement the instructions that move sign bits.
Diffstat (limited to 'src/arch/x86/isa/insts/simd128/integer/data_transfer/move_mask.py')
-rw-r--r-- | src/arch/x86/isa/insts/simd128/integer/data_transfer/move_mask.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/arch/x86/isa/insts/simd128/integer/data_transfer/move_mask.py b/src/arch/x86/isa/insts/simd128/integer/data_transfer/move_mask.py index 558391c6a..0be1229b4 100644 --- a/src/arch/x86/isa/insts/simd128/integer/data_transfer/move_mask.py +++ b/src/arch/x86/isa/insts/simd128/integer/data_transfer/move_mask.py @@ -54,5 +54,9 @@ # Authors: Gabe Black microcode = ''' -# PMOVMSKB +def macroop PMOVMSKB_R_XMM { + limm reg, 0 + movsign reg, xmmlm, size=1, ext=0 + movsign reg, xmmhm, size=1, ext=1 +}; ''' |