diff options
author | Bill Wendling <isanbard@gmail.com> | 2007-07-04 01:29:22 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2007-07-04 01:29:22 +0000 |
commit | 10404c47d1d5850da090facdb82e4def7758c547 (patch) | |
tree | 15edf49f7b745957730f1b3debddc6a8d48c98aa /lib | |
parent | bef204db6fc6b2e69f93f23f644617a3c01968aa (diff) | |
download | external_llvm-10404c47d1d5850da090facdb82e4def7758c547.zip external_llvm-10404c47d1d5850da090facdb82e4def7758c547.tar.gz external_llvm-10404c47d1d5850da090facdb82e4def7758c547.tar.bz2 |
Support generation of GR64 to MMX code in the JIT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86InstrMMX.td | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/X86/X86InstrMMX.td b/lib/Target/X86/X86InstrMMX.td index e3cfa00..c774460 100644 --- a/lib/Target/X86/X86InstrMMX.td +++ b/lib/Target/X86/X86InstrMMX.td @@ -25,6 +25,8 @@ // MMXIS - MMX instructions with XS prefix. class MMXI<bits<8> o, Format F, dag ops, string asm, list<dag> pattern> : I<o, F, ops, asm, pattern>, TB, Requires<[HasMMX]>; +class MMXRI<bits<8> o, Format F, dag ops, string asm, list<dag> pattern> + : I<o, F, ops, asm, pattern>, TB, REX_W, Requires<[HasMMX]>; class MMX2I<bits<8> o, Format F, dag ops, string asm, list<dag> pattern> : I<o, F, ops, asm, pattern>, TB, OpSize, Requires<[HasMMX]>; class MMXIi8<bits<8> o, Format F, dag ops, string asm, list<dag> pattern> @@ -183,8 +185,8 @@ def MMX_MOVD64rm : MMXI<0x6E, MRMSrcMem, (ops VR64:$dst, i32mem:$src), def MMX_MOVD64mr : MMXI<0x7E, MRMDestMem, (ops i32mem:$dst, VR64:$src), "movd {$src, $dst|$dst, $src}", []>; -def MMX_MOVD64to64rr : MMXI<0x6E, MRMSrcReg, (ops VR64:$dst, GR64:$src), - "movd {$src, $dst|$dst, $src}", []>; +def MMX_MOVD64to64rr : MMXRI<0x6E, MRMSrcReg, (ops VR64:$dst, GR64:$src), + "movd {$src, $dst|$dst, $src}", []>; def MMX_MOVQ64rr : MMXI<0x6F, MRMSrcReg, (ops VR64:$dst, VR64:$src), "movq {$src, $dst|$dst, $src}", []>; |