[llvm-commits] [llvm] r117435 - in /llvm/trunk: lib/Target/X86/AsmParser/X86AsmParser.cpp test/MC/X86/x86-32.s
Kevin Enderby
enderby at apple.com
Tue Oct 26 20:01:02 PDT 2010
Author: enderby
Date: Tue Oct 26 22:01:02 2010
New Revision: 117435
URL: http://llvm.org/viewvc/llvm-project?rev=117435&view=rev
Log:
Yet another tweak to X86 instructions to add ud2a as an alias to ud2
(still to add ud2b).
Modified:
llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/trunk/test/MC/X86/x86-32.s
Modified: llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp?rev=117435&r1=117434&r2=117435&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Tue Oct 26 22:01:02 2010
@@ -711,6 +711,7 @@
.Case("fnstsww", "fnstsw")
.Case("fstsww", "fstsw")
.Case("verrw", "verr")
+ .Case("ud2a", "ud2")
.Default(Name);
// FIXME: Hack to recognize cmp<comparison code>{ss,sd,ps,pd}.
Modified: llvm/trunk/test/MC/X86/x86-32.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/x86-32.s?rev=117435&r1=117434&r2=117435&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/x86-32.s (original)
+++ llvm/trunk/test/MC/X86/x86-32.s Tue Oct 26 22:01:02 2010
@@ -782,3 +782,7 @@
// CHECK: fnclex
// CHECK: encoding: [0xdb,0xe2]
fnclex
+
+// CHECK: ud2
+// CHECK: encoding: [0x0f,0x0b]
+ ud2a
More information about the llvm-commits
mailing list