mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
Allow a slash, '/', as a prefix separator for X86. rdar://8741045
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121320 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b0c4f8af3
commit
76331754d4
@ -758,6 +758,8 @@ ParseInstruction(StringRef Name, SMLoc NameLoc,
|
||||
|
||||
if (getLexer().is(AsmToken::EndOfStatement))
|
||||
Parser.Lex(); // Consume the EndOfStatement
|
||||
else if (isPrefix && getLexer().is(AsmToken::Slash))
|
||||
Parser.Lex(); // Consume the prefix separator Slash
|
||||
|
||||
// This is a terrible hack to handle "out[bwl]? %al, (%dx)" ->
|
||||
// "outb %al, %dx". Out doesn't take a memory form, but this is a widely
|
||||
|
@ -738,6 +738,11 @@ lock incl 1(%rsp)
|
||||
// CHECK: lock
|
||||
// CHECK: incl 1(%rsp)
|
||||
|
||||
// rdar://8741045
|
||||
lock/incl 1(%rsp)
|
||||
// CHECK: lock
|
||||
// CHECK: incl 1(%rsp)
|
||||
|
||||
// rdar://8033482
|
||||
rep movsl
|
||||
// CHECK: rep
|
||||
|
Loading…
x
Reference in New Issue
Block a user