Revision c878da3b exec-all.h

b/exec-all.h
337 337
                                    *(int32_t *)((void *)GETRA() + 3) - 1))
338 338
# elif defined (_ARCH_PPC) && !defined (_ARCH_PPC64)
339 339
#  define GETRA() ((uintptr_t)__builtin_return_address(0))
340
#  define GETPC_LDST() ((uintptr_t) ((*(int32_t *)(GETRA() + 4)) - 1))
340
#  define GETPC_LDST() ((uintptr_t) ((*(int32_t *)(GETRA() - 4)) - 1))
341 341
# else
342 342
#  error "CONFIG_QEMU_LDST_OPTIMIZATION needs GETPC_LDST() implementation!"
343 343
# endif

Also available in: Unified diff