forked from OSchip/llvm-project
parent
c55efe4fb2
commit
3636be3c8f
|
@ -2755,7 +2755,8 @@ StringRef ARMAsmParser::splitMnemonic(StringRef Mnemonic,
|
|||
// predicated but do have a carry-set and so weren't caught above.
|
||||
if (Mnemonic != "adcs" && Mnemonic != "bics" && Mnemonic != "movs" &&
|
||||
Mnemonic != "muls" && Mnemonic != "smlals" && Mnemonic != "smulls" &&
|
||||
Mnemonic != "umlals" && Mnemonic != "umulls" && Mnemonic != "lsls") {
|
||||
Mnemonic != "umlals" && Mnemonic != "umulls" && Mnemonic != "lsls" &&
|
||||
Mnemonic != "sbcs") {
|
||||
unsigned CC = StringSwitch<unsigned>(Mnemonic.substr(Mnemonic.size()-2))
|
||||
.Case("eq", ARMCC::EQ)
|
||||
.Case("ne", ARMCC::NE)
|
||||
|
|
|
@ -406,4 +406,12 @@ _func:
|
|||
@------------------------------------------------------------------------------
|
||||
rsbs r1, r3, #0
|
||||
|
||||
rsbs r1, r3, #0 @ encoding: [0x59,0x42]
|
||||
@ CHECK: rsbs r1, r3, #0 @ encoding: [0x59,0x42]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ SBC
|
||||
@------------------------------------------------------------------------------
|
||||
sbcs r4, r3
|
||||
|
||||
@ CHECK: sbcs r4, r3 @ encoding: [0x9c,0x41]
|
||||
|
|
Loading…
Reference in New Issue