summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2010-08-16 21:18:51 +0000
committerEli Friedman <eli.friedman@gmail.com>2010-08-16 21:18:51 +0000
commit2444da06522f3bde8e35344d785651e1eadf15d1 (patch)
tree55955529877e6d5ab893765def7b52e8a262e98f /llvm/lib
parent6199f2d1465296fd824196f0b66f71cacf98cb19 (diff)
downloadbcm5719-llvm-2444da06522f3bde8e35344d785651e1eadf15d1.tar.gz
bcm5719-llvm-2444da06522f3bde8e35344d785651e1eadf15d1.zip
Comment out some broken/unused/useless instructions which mess up disassembly.
llvm-svn: 111185
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86Instr64bit.td6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86Instr64bit.td b/llvm/lib/Target/X86/X86Instr64bit.td
index 408da43a794..76e093b3d9c 100644
--- a/llvm/lib/Target/X86/X86Instr64bit.td
+++ b/llvm/lib/Target/X86/X86Instr64bit.td
@@ -392,6 +392,11 @@ def MOV64mr_TC : RI<0x89, MRMDestMem, (outs), (ins i64mem_TC:$dst, GR64_TC:$src)
[]>;
}
+// FIXME: These definitions are utterly broken
+// Just leave them commented out for now because they're useless outside
+// of the large code model, and most compilers won't generate the instructions
+// in question.
+/*
def MOV64o8a : RIi8<0xA0, RawFrm, (outs), (ins offset8:$src),
"mov{q}\t{$src, %rax|%rax, $src}", []>;
def MOV64o64a : RIi32<0xA1, RawFrm, (outs), (ins offset64:$src),
@@ -400,6 +405,7 @@ def MOV64ao8 : RIi8<0xA2, RawFrm, (outs offset8:$dst), (ins),
"mov{q}\t{%rax, $dst|$dst, %rax}", []>;
def MOV64ao64 : RIi32<0xA3, RawFrm, (outs offset64:$dst), (ins),
"mov{q}\t{%rax, $dst|$dst, %rax}", []>;
+*/
// Moves to and from segment registers
def MOV64rs : RI<0x8C, MRMDestReg, (outs GR64:$dst), (ins SEGMENT_REG:$src),
OpenPOWER on IntegriCloud