diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:27:44 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:27:44 -0700 |
commit | e6b5192c2601d15a5f34b13ce2a83392575f90e7 (patch) | |
tree | c610ac2ba7518e07fee055504984205ef91c8a25 /src/arch/x86/isa/insts | |
parent | 80b4456feca5f6ae8767f9a17b4438aba30bc3e9 (diff) | |
download | gem5-e6b5192c2601d15a5f34b13ce2a83392575f90e7.tar.xz |
X86: Rename sel to ext for media microops.
Diffstat (limited to 'src/arch/x86/isa/insts')
3 files changed, 66 insertions, 66 deletions
diff --git a/src/arch/x86/isa/insts/simd128/floating_point/data_reordering/unpack_and_interleave.py b/src/arch/x86/isa/insts/simd128/floating_point/data_reordering/unpack_and_interleave.py index 9244f5e6d..0bf654b15 100644 --- a/src/arch/x86/isa/insts/simd128/floating_point/data_reordering/unpack_and_interleave.py +++ b/src/arch/x86/isa/insts/simd128/floating_point/data_reordering/unpack_and_interleave.py @@ -55,21 +55,21 @@ microcode = ''' def macroop UNPCKLPS_XMM_XMM { - unpack xmmh, xmml, xmmlm, sel=1, size=4 - unpack xmml, xmml, xmmlm, sel=0, size=4 + unpack xmmh, xmml, xmmlm, ext=1, size=4 + unpack xmml, xmml, xmmlm, ext=0, size=4 }; def macroop UNPCKLPS_XMM_M { ldfp ufp1, seg, sib, disp, dataSize=8 - unpack xmmh, xmml, ufp1, sel=1, size=4 - unpack xmml, xmml, ufp1, sel=0, size=4 + unpack xmmh, xmml, ufp1, ext=1, size=4 + unpack xmml, xmml, ufp1, ext=0, size=4 }; def macroop UNPCKLPS_XMM_P { rdip t7 ldfp ufp1, seg, riprel, disp, dataSize=8 - unpack xmmh, xmml, ufp1, sel=1, size=4 - unpack xmml, xmml, ufp1, sel=0, size=4 + unpack xmmh, xmml, ufp1, ext=1, size=4 + unpack xmml, xmml, ufp1, ext=0, size=4 }; def macroop UNPCKLPD_XMM_XMM { @@ -86,23 +86,23 @@ def macroop UNPCKLPD_XMM_P { }; def macroop UNPCKHPS_XMM_XMM { - unpack xmml, xmmh, xmmhm, sel=0, size=4 - unpack xmmh, xmmh, xmmhm, sel=1, size=4 + unpack xmml, xmmh, xmmhm, ext=0, size=4 + unpack xmmh, xmmh, xmmhm, ext=1, size=4 }; def macroop UNPCKHPS_XMM_M { lea t1, seg, sib, disp, dataSize=asz ldfp ufp1, seg, [1, t0, t1], 8, dataSize=8 - unpack xmml, xmmh, ufp1, sel=0, size=4 - unpack xmmh, xmmh, ufp1, sel=1, size=4 + unpack xmml, xmmh, ufp1, ext=0, size=4 + unpack xmmh, xmmh, ufp1, ext=1, size=4 }; def macroop UNPCKHPS_XMM_P { rdip t7 lea t1, seg, riprel, disp, dataSize=asz ldfp ufp1, seg, [1, t0, t1], 8, dataSize=8 - unpack xmml, xmmh, ufp1, sel=0, size=4 - unpack xmmh, xmmh, ufp1, sel=1, size=4 + unpack xmml, xmmh, ufp1, ext=0, size=4 + unpack xmmh, xmmh, ufp1, ext=1, size=4 }; def macroop UNPCKHPD_XMM_XMM { diff --git a/src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py b/src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py index be58a2551..b4dfb4607 100644 --- a/src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py +++ b/src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py @@ -55,117 +55,117 @@ microcode = ''' def macroop PUNPCKLBW_XMM_XMM { - unpack xmmh, xmml, xmmlm, sel=1, size=1 - unpack xmml, xmml, xmmlm, sel=0, size=1 + unpack xmmh, xmml, xmmlm, ext=1, size=1 + unpack xmml, xmml, xmmlm, ext=0, size=1 }; def macroop PUNPCKLBW_XMM_M { ldfp ufp1, seg, sib, disp, dataSize=8 - unpack xmmh, xmml, ufp1, sel=1, size=1 - unpack xmml, xmml, ufp1, sel=0, size=1 + unpack xmmh, xmml, ufp1, ext=1, size=1 + unpack xmml, xmml, ufp1, ext=0, size=1 }; def macroop PUNPCKLBW_XMM_P { rdip t7 ldfp ufp1, seg, riprel, disp, dataSize=8 - unpack xmmh, xmml, ufp1, sel=1, size=1 - unpack xmml, xmml, ufp1, sel=0, size=1 + unpack xmmh, xmml, ufp1, ext=1, size=1 + unpack xmml, xmml, ufp1, ext=0, size=1 }; def macroop PUNPCKLWD_XMM_XMM { - unpack xmmh, xmml, xmmlm, sel=1, size=2 - unpack xmml, xmml, xmmlm, sel=0, size=2 + unpack xmmh, xmml, xmmlm, ext=1, size=2 + unpack xmml, xmml, xmmlm, ext=0, size=2 }; def macroop PUNPCKLWD_XMM_M { ldfp ufp1, seg, sib, disp, dataSize=8 - unpack xmmh, xmml, ufp1, sel=1, size=2 - unpack xmml, xmml, ufp1, sel=0, size=2 + unpack xmmh, xmml, ufp1, ext=1, size=2 + unpack xmml, xmml, ufp1, ext=0, size=2 }; def macroop PUNPCKLWD_XMM_P { rdip t7 ldfp ufp1, seg, riprel, disp, dataSize=8 - unpack xmmh, xmml, ufp1, sel=1, size=2 - unpack xmml, xmml, ufp1, sel=0, size=2 + unpack xmmh, xmml, ufp1, ext=1, size=2 + unpack xmml, xmml, ufp1, ext=0, size=2 }; def macroop PUNPCKLDQ_XMM_XMM { - unpack xmmh, xmml, xmmlm, sel=1, size=4 - unpack xmml, xmml, xmmlm, sel=0, size=4 + unpack xmmh, xmml, xmmlm, ext=1, size=4 + unpack xmml, xmml, xmmlm, ext=0, size=4 }; def macroop PUNPCKLDQ_XMM_M { ldfp ufp1, seg, sib, disp, dataSize=8 - unpack xmmh, xmml, ufp1, sel=1, size=4 - unpack xmml, xmml, ufp1, sel=0, size=4 + unpack xmmh, xmml, ufp1, ext=1, size=4 + unpack xmml, xmml, ufp1, ext=0, size=4 }; def macroop PUNPCKLDQ_XMM_P { rdip t7 ldfp ufp1, seg, riprel, disp, dataSize=8 - unpack xmmh, xmml, ufp1, sel=1, size=4 - unpack xmml, xmml, ufp1, sel=0, size=4 + unpack xmmh, xmml, ufp1, ext=1, size=4 + unpack xmml, xmml, ufp1, ext=0, size=4 }; def macroop PUNPCKHBW_XMM_XMM { - unpack xmml, xmmh, xmmhm, sel=0, size=1 - unpack xmmh, xmmh, xmmhm, sel=1, size=1 + unpack xmml, xmmh, xmmhm, ext=0, size=1 + unpack xmmh, xmmh, xmmhm, ext=1, size=1 }; def macroop PUNPCKHBW_XMM_M { lea t1, seg, sib, disp, dataSize=asz ldfp ufp1, seg, [1, t0, t1], 8, dataSize=8 - unpack xmml, xmmh, ufp1, sel=0, size=1 - unpack xmmh, xmmh, ufp1, sel=1, size=1 + unpack xmml, xmmh, ufp1, ext=0, size=1 + unpack xmmh, xmmh, ufp1, ext=1, size=1 }; def macroop PUNPCKHBW_XMM_P { rdip t7 lea t1, seg, riprel, disp, dataSize=asz ldfp ufp1, seg, [1, t0, t1], 8, dataSize=8 - unpack xmml, xmmh, ufp1, sel=0, size=1 - unpack xmmh, xmmh, ufp1, sel=1, size=1 + unpack xmml, xmmh, ufp1, ext=0, size=1 + unpack xmmh, xmmh, ufp1, ext=1, size=1 }; def macroop PUNPCKHWD_XMM_XMM { - unpack xmml, xmmh, xmmhm, sel=0, size=2 - unpack xmmh, xmmh, xmmhm, sel=1, size=2 + unpack xmml, xmmh, xmmhm, ext=0, size=2 + unpack xmmh, xmmh, xmmhm, ext=1, size=2 }; def macroop PUNPCKHWD_XMM_M { lea t1, seg, sib, disp, dataSize=asz ldfp ufp1, seg, [1, t0, t1], 8, dataSize=8 - unpack xmml, xmmh, ufp1, sel=0, size=2 - unpack xmmh, xmmh, ufp1, sel=1, size=2 + unpack xmml, xmmh, ufp1, ext=0, size=2 + unpack xmmh, xmmh, ufp1, ext=1, size=2 }; def macroop PUNPCKHWD_XMM_P { rdip t7 lea t1, seg, riprel, disp, dataSize=asz ldfp ufp1, seg, [1, t0, t1], 8, dataSize=8 - unpack xmml, xmmh, ufp1, sel=0, size=2 - unpack xmmh, xmmh, ufp1, sel=1, size=2 + unpack xmml, xmmh, ufp1, ext=0, size=2 + unpack xmmh, xmmh, ufp1, ext=1, size=2 }; def macroop PUNPCKHDQ_XMM_XMM { - unpack xmml, xmmh, xmmhm, sel=0, size=4 - unpack xmmh, xmmh, xmmhm, sel=1, size=4 + unpack xmml, xmmh, xmmhm, ext=0, size=4 + unpack xmmh, xmmh, xmmhm, ext=1, size=4 }; def macroop PUNPCKHDQ_XMM_M { lea t1, seg, sib, disp, dataSize=asz ldfp ufp1, seg, [1, t0, t1], 8, dataSize=8 - unpack xmml, xmmh, ufp1, sel=0, size=4 - unpack xmmh, xmmh, ufp1, sel=1, size=4 + unpack xmml, xmmh, ufp1, ext=0, size=4 + unpack xmmh, xmmh, ufp1, ext=1, size=4 }; def macroop PUNPCKHDQ_XMM_P { rdip t7 lea t1, seg, riprel, disp, dataSize=asz ldfp ufp1, seg, [1, t0, t1], 8, dataSize=8 - unpack xmml, xmmh, ufp1, sel=0, size=4 - unpack xmmh, xmmh, ufp1, sel=1, size=4 + unpack xmml, xmmh, ufp1, ext=0, size=4 + unpack xmmh, xmmh, ufp1, ext=1, size=4 }; def macroop PUNPCKHQDQ_XMM_XMM { diff --git a/src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py b/src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py index 0743b43c5..5a58beca3 100644 --- a/src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py +++ b/src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py @@ -55,92 +55,92 @@ microcode = ''' def macroop PUNPCKLBW_MMX_MMX { - unpack mmx, mmx, mmxm, sel=0, size=1 + unpack mmx, mmx, mmxm, ext=0, size=1 }; def macroop PUNPCKLBW_MMX_M { ldfp ufp1, seg, sib, disp, dataSize=8 - unpack mmx, mmx, ufp1, sel=0, size=1 + unpack mmx, mmx, ufp1, ext=0, size=1 }; def macroop PUNPCKLBW_MMX_P { rdip t7 ldfp ufp1, seg, riprel, disp, dataSize=8 - unpack mmx, mmx, ufp1, sel=0, size=1 + unpack mmx, mmx, ufp1, ext=0, size=1 }; def macroop PUNPCKLWD_MMX_MMX { - unpack mmx, mmx, mmxm, sel=0, size=2 + unpack mmx, mmx, mmxm, ext=0, size=2 }; def macroop PUNPCKLWD_MMX_M { ldfp ufp1, seg, sib, disp, dataSize=8 - unpack mmx, mmx, ufp1, sel=0, size=2 + unpack mmx, mmx, ufp1, ext=0, size=2 }; def macroop PUNPCKLWD_MMX_P { rdip t7 ldfp ufp1, seg, riprel, disp, dataSize=8 - unpack mmx, mmx, ufp1, sel=0, size=2 + unpack mmx, mmx, ufp1, ext=0, size=2 }; def macroop PUNPCKLDQ_MMX_MMX { - unpack mmx, mmx, mmxm, sel=0, size=4 + unpack mmx, mmx, mmxm, ext=0, size=4 }; def macroop PUNPCKLDQ_MMX_M { ldfp ufp1, seg, sib, disp, dataSize=8 - unpack mmx, mmx, ufp1, sel=0, size=4 + unpack mmx, mmx, ufp1, ext=0, size=4 }; def macroop PUNPCKLDQ_MMX_P { rdip t7 ldfp ufp1, seg, riprel, disp, dataSize=8 - unpack mmx, mmx, ufp1, sel=0, size=4 + unpack mmx, mmx, ufp1, ext=0, size=4 }; def macroop PUNPCKHBW_MMX_MMX { - unpack mmx, mmx, mmxm, sel=1, size=1 + unpack mmx, mmx, mmxm, ext=1, size=1 }; def macroop PUNPCKHBW_MMX_M { ldfp ufp1, seg, sib, disp, dataSize=8 - unpack mmx, mmx, ufp1, sel=1, size=1 + unpack mmx, mmx, ufp1, ext=1, size=1 }; def macroop PUNPCKHBW_MMX_P { rdip t7 ldfp ufp1, seg, riprel, disp, dataSize=8 - unpack mmx, mmx, ufp1, sel=1, size=1 + unpack mmx, mmx, ufp1, ext=1, size=1 }; def macroop PUNPCKHWD_MMX_MMX { - unpack mmx, mmx, mmxm, sel=1, size=2 + unpack mmx, mmx, mmxm, ext=1, size=2 }; def macroop PUNPCKHWD_MMX_M { ldfp ufp1, seg, sib, disp, dataSize=8 - unpack mmx, mmx, ufp1, sel=1, size=2 + unpack mmx, mmx, ufp1, ext=1, size=2 }; def macroop PUNPCKHWD_MMX_P { rdip t7 ldfp ufp1, seg, riprel, disp, dataSize=8 - unpack mmx, mmx, ufp1, sel=1, size=2 + unpack mmx, mmx, ufp1, ext=1, size=2 }; def macroop PUNPCKHDQ_MMX_MMX { - unpack mmx, mmx, mmxm, sel=1, size=4 + unpack mmx, mmx, mmxm, ext=1, size=4 }; def macroop PUNPCKHDQ_MMX_M { ldfp ufp1, seg, sib, disp, dataSize=8 - unpack mmx, mmx, ufp1, sel=1, size=4 + unpack mmx, mmx, ufp1, ext=1, size=4 }; def macroop PUNPCKHDQ_MMX_P { rdip t7 ldfp ufp1, seg, riprel, disp, dataSize=8 - unpack mmx, mmx, ufp1, sel=1, size=4 + unpack mmx, mmx, ufp1, ext=1, size=4 }; ''' |