[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCInstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 26 16:42:17 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PowerPCInstrInfo.td updated: 1.85 -> 1.86
---
Log message:
The condition register being branched on may not be cr0, as such, print it.
This fixes: UnitTests/2005-07-17-INT-To-FP.c
---
Diffs of the changes: (+6 -6)
PowerPCInstrInfo.td | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
Index: llvm/lib/Target/PowerPC/PowerPCInstrInfo.td
diff -u llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.85 llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.86
--- llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.85 Fri Aug 26 17:05:54 2005
+++ llvm/lib/Target/PowerPC/PowerPCInstrInfo.td Fri Aug 26 18:42:05 2005
@@ -88,17 +88,17 @@
// FIXME: 4*CR# needs to be added to the BI field!
// This will only work for CR0 as it stands now
def BLT : BForm<16, 0, 0, 12, 0, (ops CRRC:$crS, target:$block),
- "blt $block">;
+ "blt $crS, $block">;
def BLE : BForm<16, 0, 0, 4, 1, (ops CRRC:$crS, target:$block),
- "ble $block">;
+ "ble $crS, $block">;
def BEQ : BForm<16, 0, 0, 12, 2, (ops CRRC:$crS, target:$block),
- "beq $block">;
+ "beq $crS, $block">;
def BGE : BForm<16, 0, 0, 4, 0, (ops CRRC:$crS, target:$block),
- "bge $block">;
+ "bge $crS, $block">;
def BGT : BForm<16, 0, 0, 12, 1, (ops CRRC:$crS, target:$block),
- "bgt $block">;
+ "bgt $crS, $block">;
def BNE : BForm<16, 0, 0, 4, 2, (ops CRRC:$crS, target:$block),
- "bne $block">;
+ "bne $crS, $block">;
}
let isCall = 1,
More information about the llvm-commits
mailing list