For your consideration, as requested by Peter in response to Yongbok Kim's target-mips misalignment patch set.
Build tested on aarch64, arm, ppc64, i386, x86_64, sparc. I'm not able to test mips, ia64, or s390 hosts at the moment. r~ Richard Henderson (3): tcg: Merge memop and mmu_idx parameters to qemu_ld/st tcg: Push merged memop+mmu_idx parameter to softmmu routines tcg: Add MO_ALIGN, MO_UNALN softmmu_template.h | 122 +++++++++++++++++++++++------------------------ tcg/aarch64/tcg-target.c | 47 ++++++++++-------- tcg/arm/tcg-target.c | 39 ++++++++------- tcg/i386/tcg-target.c | 49 ++++++++++--------- tcg/ia64/tcg-target.c | 16 ++++--- tcg/mips/tcg-target.c | 38 ++++++++------- tcg/optimize.c | 3 +- tcg/ppc/tcg-target.c | 38 ++++++++------- tcg/s390/tcg-target.c | 35 +++++++------- tcg/sparc/tcg-target.c | 20 ++++---- tcg/tcg-be-ldst.h | 3 +- tcg/tcg-op.c | 22 ++++----- tcg/tcg-opc.h | 8 ++-- tcg/tcg.c | 16 +++++-- tcg/tcg.h | 85 +++++++++++++++++++++++++-------- tcg/tci/tcg-target.c | 6 --- tci.c | 47 +++++++++--------- 17 files changed, 334 insertions(+), 260 deletions(-) -- 2.1.0