mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Add missed condbranch opcodes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76043 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
05a0b8bc66
commit
628d419520
@ -347,24 +347,48 @@ SystemZInstrInfo::getBrCond(SystemZCC::CondCodes CC) const {
|
||||
switch (CC) {
|
||||
default:
|
||||
assert(0 && "Unknown condition code!");
|
||||
case SystemZCC::E:
|
||||
Opc = SystemZ::JE;
|
||||
break;
|
||||
case SystemZCC::NE:
|
||||
Opc = SystemZ::JNE;
|
||||
case SystemZCC::O:
|
||||
Opc = SystemZ::JO;
|
||||
break;
|
||||
case SystemZCC::H:
|
||||
Opc = SystemZ::JH;
|
||||
break;
|
||||
case SystemZCC::NLE:
|
||||
Opc = SystemZ::JNLE;
|
||||
break;
|
||||
case SystemZCC::L:
|
||||
Opc = SystemZ::JL;
|
||||
break;
|
||||
case SystemZCC::NHE:
|
||||
Opc = SystemZ::JNHE;
|
||||
break;
|
||||
case SystemZCC::LH:
|
||||
Opc = SystemZ::JLH;
|
||||
break;
|
||||
case SystemZCC::NE:
|
||||
Opc = SystemZ::JNE;
|
||||
break;
|
||||
case SystemZCC::E:
|
||||
Opc = SystemZ::JE;
|
||||
break;
|
||||
case SystemZCC::NLH:
|
||||
Opc = SystemZ::JNLH;
|
||||
break;
|
||||
case SystemZCC::HE:
|
||||
Opc = SystemZ::JHE;
|
||||
break;
|
||||
case SystemZCC::NL:
|
||||
Opc = SystemZ::JNL;
|
||||
break;
|
||||
case SystemZCC::LE:
|
||||
Opc = SystemZ::JLE;
|
||||
break;
|
||||
case SystemZCC::NH:
|
||||
Opc = SystemZ::JNH;
|
||||
break;
|
||||
case SystemZCC::NO:
|
||||
Opc = SystemZ::JNO;
|
||||
break;
|
||||
}
|
||||
|
||||
return get(Opc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user