diff options
Diffstat (limited to 'target-ppc/op_mem.h')
-rw-r--r-- | target-ppc/op_mem.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/target-ppc/op_mem.h b/target-ppc/op_mem.h index c1039da2d8..f1229859f3 100644 --- a/target-ppc/op_mem.h +++ b/target-ppc/op_mem.h @@ -610,10 +610,10 @@ void OPPROTO glue(op_stwcx, MEMSUFFIX) (void) do_raise_exception(EXCP_ALIGN); } else { if (unlikely(env->reserve != (uint32_t)T0)) { - env->crf[0] = xer_ov; + env->crf[0] = xer_so; } else { glue(stl, MEMSUFFIX)((uint32_t)T0, T1); - env->crf[0] = xer_ov | 0x02; + env->crf[0] = xer_so | 0x02; } } env->reserve = -1; @@ -627,10 +627,10 @@ void OPPROTO glue(op_stwcx_64, MEMSUFFIX) (void) do_raise_exception(EXCP_ALIGN); } else { if (unlikely(env->reserve != (uint64_t)T0)) { - env->crf[0] = xer_ov; + env->crf[0] = xer_so; } else { glue(stl, MEMSUFFIX)((uint64_t)T0, T1); - env->crf[0] = xer_ov | 0x02; + env->crf[0] = xer_so | 0x02; } } env->reserve = -1; @@ -643,10 +643,10 @@ void OPPROTO glue(op_stdcx, MEMSUFFIX) (void) do_raise_exception(EXCP_ALIGN); } else { if (unlikely(env->reserve != (uint32_t)T0)) { - env->crf[0] = xer_ov; + env->crf[0] = xer_so; } else { glue(stq, MEMSUFFIX)((uint32_t)T0, T1); - env->crf[0] = xer_ov | 0x02; + env->crf[0] = xer_so | 0x02; } } env->reserve = -1; @@ -659,10 +659,10 @@ void OPPROTO glue(op_stdcx_64, MEMSUFFIX) (void) do_raise_exception(EXCP_ALIGN); } else { if (unlikely(env->reserve != (uint64_t)T0)) { - env->crf[0] = xer_ov; + env->crf[0] = xer_so; } else { glue(stq, MEMSUFFIX)((uint64_t)T0, T1); - env->crf[0] = xer_ov | 0x02; + env->crf[0] = xer_so | 0x02; } } env->reserve = -1; @@ -676,10 +676,10 @@ void OPPROTO glue(op_stwcx_le, MEMSUFFIX) (void) do_raise_exception(EXCP_ALIGN); } else { if (unlikely(env->reserve != (uint32_t)T0)) { - env->crf[0] = xer_ov; + env->crf[0] = xer_so; } else { glue(st32r, MEMSUFFIX)((uint32_t)T0, T1); - env->crf[0] = xer_ov | 0x02; + env->crf[0] = xer_so | 0x02; } } env->reserve = -1; @@ -693,10 +693,10 @@ void OPPROTO glue(op_stwcx_le_64, MEMSUFFIX) (void) do_raise_exception(EXCP_ALIGN); } else { if (unlikely(env->reserve != (uint64_t)T0)) { - env->crf[0] = xer_ov; + env->crf[0] = xer_so; } else { glue(st32r, MEMSUFFIX)((uint64_t)T0, T1); - env->crf[0] = xer_ov | 0x02; + env->crf[0] = xer_so | 0x02; } } env->reserve = -1; @@ -709,10 +709,10 @@ void OPPROTO glue(op_stdcx_le, MEMSUFFIX) (void) do_raise_exception(EXCP_ALIGN); } else { if (unlikely(env->reserve != (uint32_t)T0)) { - env->crf[0] = xer_ov; + env->crf[0] = xer_so; } else { glue(st64r, MEMSUFFIX)((uint32_t)T0, T1); - env->crf[0] = xer_ov | 0x02; + env->crf[0] = xer_so | 0x02; } } env->reserve = -1; @@ -725,10 +725,10 @@ void OPPROTO glue(op_stdcx_le_64, MEMSUFFIX) (void) do_raise_exception(EXCP_ALIGN); } else { if (unlikely(env->reserve != (uint64_t)T0)) { - env->crf[0] = xer_ov; + env->crf[0] = xer_so; } else { glue(st64r, MEMSUFFIX)((uint64_t)T0, T1); - env->crf[0] = xer_ov | 0x02; + env->crf[0] = xer_so | 0x02; } } env->reserve = -1; |