Finally, I found the bug in SSE helpers (passed cpu_env to pshufx, not caught because of the ugly casts).
Now this also passes the test with OpenSUSE-12.1-GNOME-LiveCD-x86_64. It's also possible to use Clang to compile x86 targets with my earlier Clang patch set applied. I think this is 1.2 material. Blue Swirl (9): x86: avoid AREG0 for FPU helpers x86: avoid AREG0 for condition code helpers x86: avoid AREG0 for integer helpers x86: avoid AREG0 for SVM helpers x86: avoid AREG0 for SMM helpers x86: use wrappers for memory access helpers x86: avoid AREG0 for misc helpers x86: avoid AREG0 in segmentation helpers x86: switch to AREG0 free mode configure | 2 +- cpu-all.h | 22 + target-i386/Makefile.objs | 9 - target-i386/cc_helper.c | 199 ++++---- target-i386/cc_helper_template.h | 36 +- target-i386/fpu_helper.c | 429 ++++++++--------- target-i386/helper.h | 352 +++++++------- target-i386/int_helper.c | 44 +- target-i386/mem_helper.c | 46 +- target-i386/misc_helper.c | 75 ++-- target-i386/ops_sse.h | 378 ++++++++------- target-i386/ops_sse_header.h | 334 +++++++------- target-i386/seg_helper.c | 434 +++++++++--------- target-i386/shift_helper_template.h | 10 +- target-i386/smm_helper.c | 14 +- target-i386/svm_helper.c | 185 ++++---- target-i386/translate.c | 903 +++++++++++++++++++---------------- 17 files changed, 1772 insertions(+), 1700 deletions(-) -- 1.7.2.5