Index: src/ppc/assembler-ppc.cc |
diff --git a/src/ppc/assembler-ppc.cc b/src/ppc/assembler-ppc.cc |
index 793209343cd5edbdd84b97bf57027c78a84b7b06..db45066009a07c5702bbe76ad7eee54c5513fb2e 100644 |
--- a/src/ppc/assembler-ppc.cc |
+++ b/src/ppc/assembler-ppc.cc |
@@ -862,12 +862,15 @@ void Assembler::sub(Register dst, Register src1, Register src2, OEBit o, |
xo_form(EXT2 | SUBFX, dst, src2, src1, o, r); |
} |
- |
-void Assembler::subfc(Register dst, Register src1, Register src2, OEBit o, |
- RCBit r) { |
+void Assembler::subc(Register dst, Register src1, Register src2, OEBit o, |
+ RCBit r) { |
xo_form(EXT2 | SUBFCX, dst, src2, src1, o, r); |
} |
+void Assembler::sube(Register dst, Register src1, Register src2, OEBit o, |
+ RCBit r) { |
+ xo_form(EXT2 | SUBFEX, dst, src2, src1, o, r); |
+} |
void Assembler::subfic(Register dst, Register src, const Operand& imm) { |
d_form(SUBFIC, dst, src, imm.imm_, true); |