mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
[mips] Fix FP branch instructions to have explicit FP condition code register
operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187238 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -245,6 +245,14 @@ bool MipsInstPrinter::printAlias(const MCInst &MI, raw_ostream &OS) {
|
||||
if (isReg<Mips::ZERO_64>(MI, 1) && printAlias("bnez", MI, 0, 2, OS))
|
||||
return true;
|
||||
break;
|
||||
case Mips::BC1T:
|
||||
if (isReg<Mips::FCC0>(MI, 0) && printAlias("bc1t", MI, 1, OS))
|
||||
return true;
|
||||
break;
|
||||
case Mips::BC1F:
|
||||
if (isReg<Mips::FCC0>(MI, 0) && printAlias("bc1f", MI, 1, OS))
|
||||
return true;
|
||||
break;
|
||||
case Mips::OR:
|
||||
if (isReg<Mips::ZERO>(MI, 2) && printAlias("move", MI, 0, 1, OS))
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user