mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
fix rdar://8017621 - llvm-mc can't guess encoding for "push $(1000)"
llvm-svn: 113184
This commit is contained in:
parent
9f2c0da214
commit
3377802111
@ -636,6 +636,7 @@ ParseInstruction(StringRef Name, SMLoc NameLoc,
|
||||
.Case("repe", "rep")
|
||||
.Case("repz", "rep")
|
||||
.Case("repnz", "repne")
|
||||
.Case("push", Is64Bit ? "pushq" : "pushl")
|
||||
.Case("pushf", Is64Bit ? "pushfq" : "pushfl")
|
||||
.Case("popf", Is64Bit ? "popfq" : "popfl")
|
||||
.Case("retl", Is64Bit ? "retl" : "ret")
|
||||
|
@ -173,3 +173,8 @@ outb %al, $161
|
||||
outw %ax, $128
|
||||
// CHECK: inb $161, %al
|
||||
inb $161, %al
|
||||
|
||||
// rdar://8017621
|
||||
// CHECK: pushq $1
|
||||
push $1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user