mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +00:00
Thumb2 assembly parsing and encoding for MLA and MLS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139399 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a50c6d95e4
commit
468709e43d
@ -3184,9 +3184,9 @@ getMnemonicAcceptInfo(StringRef Mnemonic, bool &CanAcceptCarrySet,
|
||||
Mnemonic == "mul" || Mnemonic == "bic" || Mnemonic == "asr" ||
|
||||
Mnemonic == "umlal" || Mnemonic == "orr" || Mnemonic == "mvn" ||
|
||||
Mnemonic == "rsb" || Mnemonic == "rsc" || Mnemonic == "orn" ||
|
||||
Mnemonic == "sbc" || Mnemonic == "mla" || Mnemonic == "umull" ||
|
||||
Mnemonic == "sbc" || Mnemonic == "umull" ||
|
||||
Mnemonic == "eor" || Mnemonic == "smlal" || Mnemonic == "neg" ||
|
||||
(Mnemonic == "mov" && !isThumb())) {
|
||||
((Mnemonic == "mov" || Mnemonic == "mla") && !isThumb())) {
|
||||
CanAcceptCarrySet = true;
|
||||
} else {
|
||||
CanAcceptCarrySet = false;
|
||||
|
@ -972,6 +972,16 @@ _func:
|
||||
@ CHECK: mcrr2 p7, #15, r5, r4, c1 @ encoding: [0x44,0xfc,0xf1,0x57]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ MLA/MLS
|
||||
@------------------------------------------------------------------------------
|
||||
mla r1,r2,r3,r4
|
||||
mls r1,r2,r3,r4
|
||||
|
||||
@ CHECK: mla r1, r2, r3, r4 @ encoding: [0x02,0xfb,0x03,0x41]
|
||||
@ CHECK: mls r1, r2, r3, r4 @ encoding: [0x02,0xfb,0x13,0x41]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ IT
|
||||
@------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user