diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 20:25:14 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 20:25:14 -0700 |
commit | 7d4db7266ea950bb1af6f74f407cc1e9e11faff6 (patch) | |
tree | 397c7e0f5b84b00579a4887042ffc7197c25c26c /src/arch/x86/isa/insts | |
parent | 179fd4e536e12cbd1baeefbd9d8ac0557f899003 (diff) | |
download | gem5-7d4db7266ea950bb1af6f74f407cc1e9e11faff6.tar.xz |
X86: Implement MOVSS.
Diffstat (limited to 'src/arch/x86/isa/insts')
-rw-r--r-- | src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py b/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py index 1a6be6783..1f4044bde 100644 --- a/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py +++ b/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py @@ -249,7 +249,31 @@ def macroop MOVLHPS_XMM_XMM { movfp xmmh, xmmlm, dataSize=8 }; -# MOVSS +def macroop MOVSS_XMM_XMM { + movfp xmml, xmmlm, dataSize=4 +}; + +def macroop MOVSS_XMM_M { + lfpimm xmml, 0 + lfpimm xmmh, 0 + ldfp xmml, seg, sib, disp, dataSize=4 +}; + +def macroop MOVSS_XMM_P { + rdip t7 + lfpimm xmml, 0 + lfpimm xmmh, 0 + ldfp xmml, seg, riprel, disp, dataSize=4 +}; + +def macroop MOVSS_M_XMM { + stfp xmml, seg, sib, disp, dataSize=4 +}; + +def macroop MOVSS_P_XMM { + rdip t7 + stfp xmml, seg, riprel, disp, dataSize=4 +}; def macroop MOVSD_XMM_M { # Zero xmmh |