summaryrefslogtreecommitdiff
path: root/orc/orcrules-altivec.c
diff options
context:
space:
mode:
Diffstat (limited to 'orc/orcrules-altivec.c')
-rw-r--r--orc/orcrules-altivec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/orc/orcrules-altivec.c b/orc/orcrules-altivec.c
index 51c3bd1..7a1d056 100644
--- a/orc/orcrules-altivec.c
+++ b/orc/orcrules-altivec.c
@@ -1127,7 +1127,7 @@ powerpc_rule_cmpltf (OrcCompiler * p, void *user, OrcInstruction * insn)
int src2 = ORC_SRC_ARG (p, insn, 1);
int dest = ORC_DEST_ARG (p, insn, 0);
- powerpc_emit_VXR (p, "vcmpgefp", 0x100001c6, dest, src2, src1, FALSE);
+ powerpc_emit_VXR (p, "vcmpgtfp", 0x100002c6, dest, src2, src1, FALSE);
}
static void
@@ -1137,7 +1137,7 @@ powerpc_rule_cmplef (OrcCompiler * p, void *user, OrcInstruction * insn)
int src2 = ORC_SRC_ARG (p, insn, 1);
int dest = ORC_DEST_ARG (p, insn, 0);
- powerpc_emit_VXR (p, "vcmpgtfp", 0x100002c6, dest, src2, src1, FALSE);
+ powerpc_emit_VXR (p, "vcmpgefp", 0x100001c6, dest, src2, src1, FALSE);
}
static void