summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86InstrControl.td
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2012-01-20 21:14:06 +0000
committerDevang Patel <dpatel@apple.com>2012-01-20 21:14:06 +0000
commitcf0e269d16f3d784b428c9b1b1e22d1f9e8bb91d (patch)
tree9f95d63c356290b2dce03ab347c5f1f8b37fbec6 /lib/Target/X86/X86InstrControl.td
parent1e9ccd68d40c3d79b2f25f471553914d73bdee58 (diff)
downloadllvm-cf0e269d16f3d784b428c9b1b1e22d1f9e8bb91d.tar.gz
llvm-cf0e269d16f3d784b428c9b1b1e22d1f9e8bb91d.tar.bz2
llvm-cf0e269d16f3d784b428c9b1b1e22d1f9e8bb91d.tar.xz
Intel syntax: For now, disable ambiguous JMP64pcrel32 for intel syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrControl.td')
-rw-r--r--lib/Target/X86/X86InstrControl.td4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrControl.td b/lib/Target/X86/X86InstrControl.td
index c228a0aed5..e52dcbf657 100644
--- a/lib/Target/X86/X86InstrControl.td
+++ b/lib/Target/X86/X86InstrControl.td
@@ -43,8 +43,10 @@ let isBarrier = 1, isBranch = 1, isTerminator = 1 in {
"jmp\t$dst", [(br bb:$dst)]>;
def JMP_1 : Ii8PCRel<0xEB, RawFrm, (outs), (ins brtarget8:$dst),
"jmp\t$dst", []>;
+ // FIXME : Intel syntax for JMP64pcrel32 such that it is not ambiguious
+ // with JMP_1.
def JMP64pcrel32 : I<0xE9, RawFrm, (outs), (ins brtarget:$dst),
- "jmp{q}\t$dst", []>;
+ "jmpq\t$dst", []>;
}
// Conditional Branches.