projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6382d2c
)
Added a check that pusha cannot be encoded in 64-bit mode.
author
Kevin Enderby
<enderby@apple.com>
Tue, 13 Jul 2010 20:05:41 +0000
(20:05 +0000)
committer
Kevin Enderby
<enderby@apple.com>
Tue, 13 Jul 2010 20:05:41 +0000
(20:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108265
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/AsmParser/X86AsmParser.cpp
b/lib/Target/X86/AsmParser/X86AsmParser.cpp
index a856e9cc7a4e0aa031da6f1cbcef82db5bcd5a99..9e219baa2939aa6159b3720a83ab6776adb1a9a6 100644
(file)
--- a/
lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/
lib/Target/X86/AsmParser/X86AsmParser.cpp
@@
-612,6
+612,8
@@
ParseInstruction(const StringRef &Name, SMLoc NameLoc,
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");