V2 with a workaround for win32 namespace pollution. Whee! Only resending patch 09/15, wherein the change lies.
r~ The following changes since commit 4178c782f85530d261058abdccc734aa9b7c89ca: Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20161028' into staging (2016-10-31 11:12:02 +0000) are available in the git repository at: git://github.com/rth7680/qemu.git tags/pull-sparc-20161031-2 for you to fetch changes up to 5a7267b6a9e94c264ca77a7ca5a239e70dac81da: target-sparc: Use tcg_gen_atomic_cmpxchg_tl (2016-10-31 14:46:48 -0600) ---------------------------------------------------------------- target-sparc updates for atomics and alignment ---------------------------------------------------------------- Richard Henderson (15): target-sparc: Use overalignment flags for twinx and block asis target-sparc: Introduce cpu_raise_exception_ra target-sparc: Add MMU_PHYS_IDX target-sparc: Use MMU_PHYS_IDX for bypass asis target-sparc: Handle more twinx asis target-sparc: Implement swap_asi inline target-sparc: Implement ldstub_asi inline target-sparc: Implement cas_asi/casx_asi inline target-sparc: Implement BCOPY/BFILL inline target-sparc: Remove asi helper code handled inline target-sparc: Implement ldqf and stqf inline target-sparc: Allow 4-byte alignment on fp mem ops target-sparc: Remove MMU_MODE*_SUFFIX target-sparc: Use tcg_gen_atomic_xchg_tl target-sparc: Use tcg_gen_atomic_cmpxchg_tl target-sparc/cpu.h | 34 +- target-sparc/helper.c | 52 +-- target-sparc/helper.h | 7 - target-sparc/ldst_helper.c | 1021 ++++++++------------------------------------ target-sparc/mmu_helper.c | 47 +- target-sparc/translate.c | 434 ++++++++++++------- target-sparc/win_helper.c | 37 +- 7 files changed, 540 insertions(+), 1092 deletions(-)