[llvm-commits] [llvm] r108265 - /llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
Kevin Enderby
enderby at apple.com
Tue Jul 13 13:05:41 PDT 2010
Author: enderby
Date: Tue Jul 13 15:05:41 2010
New Revision: 108265
URL: http://llvm.org/viewvc/llvm-project?rev=108265&view=rev
Log:
Added a check that pusha cannot be encoded in 64-bit mode.
Modified:
llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
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=108265&r1=108264&r2=108265&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Tue Jul 13 15:05:41 2010
@@ -612,6 +612,8 @@
return Error(NameLoc, "popfl cannot be encoded in 64-bit mode");
else if (Name == "pushfl")
return Error(NameLoc, "pushfl cannot be encoded in 64-bit mode");
+ else if (Name == "pusha")
+ return Error(NameLoc, "pusha cannot be encoded in 64-bit mode");
} else {
if (Name == "popfq")
return Error(NameLoc, "popfq cannot be encoded in 32-bit mode");
More information about the llvm-commits
mailing list