mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
McARM: Flush out hard coded known non-predicated mnemonic list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123189 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -869,9 +869,18 @@ bool ARMAsmParser::ParseOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands){
|
||||
// FIXME: Would be nice to autogen this.
|
||||
static unsigned SplitMnemonicAndCC(StringRef &Mnemonic) {
|
||||
// Ignore some mnemonics we know aren't predicated forms.
|
||||
if (Mnemonic == "movs" ||
|
||||
Mnemonic == "vmls" ||
|
||||
Mnemonic == "vnmls")
|
||||
if (Mnemonic == "teq" || Mnemonic == "vceq" ||
|
||||
Mnemonic == "movs" ||
|
||||
Mnemonic == "svc" ||
|
||||
(Mnemonic == "mls" || Mnemonic == "smmls" || Mnemonic == "vcls" ||
|
||||
Mnemonic == "vmls" || Mnemonic == "vnmls") ||
|
||||
Mnemonic == "vacge" || Mnemonic == "vcge" ||
|
||||
Mnemonic == "vclt" ||
|
||||
Mnemonic == "vacgt" || Mnemonic == "vcgt" ||
|
||||
Mnemonic == "vcle" ||
|
||||
(Mnemonic == "smlal" || Mnemonic == "umaal" || Mnemonic == "umlal" ||
|
||||
Mnemonic == "vabal" || Mnemonic == "vmlal" || Mnemonic == "vpadal" ||
|
||||
Mnemonic == "vqdmlal"))
|
||||
return ARMCC::AL;
|
||||
|
||||
// Otherwise, determine the predicate.
|
||||
|
Reference in New Issue
Block a user