From e4449a23fd61f75e713894b589d04b06646dda15 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 18 Apr 2011 15:37:22 -0700 Subject: [PATCH] altivec: fix select1wb --- orc/orcrules-altivec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orc/orcrules-altivec.c b/orc/orcrules-altivec.c index 4b0e801..18d405e 100644 --- a/orc/orcrules-altivec.c +++ b/orc/orcrules-altivec.c @@ -663,8 +663,8 @@ powerpc_rule_select1wb (OrcCompiler *p, void *user, OrcInstruction *insn) int dest = ORC_DEST_ARG (p, insn, 0); int perm; - perm = powerpc_get_constant_full (p, 0x00010405, 0x08090c0d, - 0x10111415, 0x18191c1d); + perm = powerpc_get_constant_full (p, 0x00020406, 0x080a0c0e, + 0x00020406, 0x080a0c0e); powerpc_emit_vperm (p, dest, src1, src1, perm); } -- 2.7.4