mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-28 06:29:45 +00:00
Added a check that pusha cannot be encoded in 64-bit mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6382d2cadd
commit
52a18aedae
@ -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
Block a user