diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:24:18 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:24:18 -0700 |
commit | 3633392ec4e7e3dade7501f31751aef54a471ee5 (patch) | |
tree | 76414fe2eda7b1d6740da2f1e3afe1af400a831b /src/arch/x86/isa/insts/simd64/integer | |
parent | ab49a34a4ef8bea1235433437e27eaf50c427336 (diff) | |
download | gem5-3633392ec4e7e3dade7501f31751aef54a471ee5.tar.xz |
X86: Implement PAND, ANDPS, and ANDPD.
Diffstat (limited to 'src/arch/x86/isa/insts/simd64/integer')
-rw-r--r-- | src/arch/x86/isa/insts/simd64/integer/logical/pand.py | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/arch/x86/isa/insts/simd64/integer/logical/pand.py b/src/arch/x86/isa/insts/simd64/integer/logical/pand.py index 055b7c5f6..15513ef98 100644 --- a/src/arch/x86/isa/insts/simd64/integer/logical/pand.py +++ b/src/arch/x86/isa/insts/simd64/integer/logical/pand.py @@ -54,6 +54,19 @@ # Authors: Gabe Black microcode = ''' -# PAND -# PANDN +def macroop PAND_MMX_MMX { + mand mmx, mmx, mmxm +}; + +def macroop PAND_MMX_M { + ldfp ufp1, seg, sib, disp, dataSize=8 + mand mmx, mmx, ufp1 +}; + +def macroop PAND_MMX_P { + rdip t7 + ldfp ufp1, seg, riprel, disp, dataSize=8 + mand mmx, mmx, ufp1 +}; ''' +# PANDN |