aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/Asmexpand.ml
diff options
context:
space:
mode:
Diffstat (limited to 'powerpc/Asmexpand.ml')
-rw-r--r--powerpc/Asmexpand.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerpc/Asmexpand.ml b/powerpc/Asmexpand.ml
index beaef42f..8cd123fe 100644
--- a/powerpc/Asmexpand.ml
+++ b/powerpc/Asmexpand.ml
@@ -527,7 +527,7 @@ let expand_builtin_inline name args res =
and lblneq = new_label ()
and lblsucc = new_label () in
emit (Plwz (GPR10,Cint _0,exp));
- emit (Plwz (GPR11,Cint _0,exp));
+ emit (Plwz (GPR11,Cint _0,des));
emit (Psync);
emit (Plabel lbls);
emit (Plwarx (GPR12,GPR0,dst));