From 16e81bcc07e0057a667428ce97cc280e7e8c4863 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 5 Mar 2009 18:33:00 -0700 Subject: [PATCH] fix orC --- src/powerpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/powerpc.cpp b/src/powerpc.cpp index 2006eaa991..9b7e16a989 100644 --- a/src/powerpc.cpp +++ b/src/powerpc.cpp @@ -1096,9 +1096,9 @@ orC(Context* c, unsigned size, Assembler::Constant* a, orC(c, 4, &al, b, dst); orC(c, 4, &ah, &bh, &dh); } else { - issue(c, ori(dst->low, b->low, v)); + issue(c, ori(b->low, dst->low, v)); if (v >> 16) { - issue(c, oris(dst->low, b->low, v >> 16)); + issue(c, oris(dst->low, dst->low, v >> 16)); } } }