forked from OSchip/llvm-project
Added a check that pusha cannot be encoded in 64-bit mode.
llvm-svn: 108265
This commit is contained in:
parent
fc4b8b8e80
commit
76a6b663a3
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue