qemu-e2k/tcg
Ilya Leoshkevich 22d2e5351a tcg/{i386, s390x}: Add earlyclobber to the op_add2's first output
i386 and s390x implementations of op_add2 require an earlyclobber,
which is currently missing. This breaks VCKSM in s390x guests. E.g., on
x86_64 the following op:

    add2_i32 tmp2,tmp3,tmp2,tmp3,tmp3,tmp2   dead: 0 2 3 4 5  pref=none,0xffff

is translated to:

    addl     %ebx, %r12d
    adcl     %r12d, %ebx

Introduce a new C_N1_O1_I4 constraint, and make sure that earlyclobber
of aliased outputs is honored.

Cc: qemu-stable@nongnu.org
Fixes: 82790a8709 ("tcg: Add markup for output requires new register")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230719221310.1968845-7-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2023-07-23 17:58:19 +01:00
..
aarch64
arm
i386 tcg/{i386, s390x}: Add earlyclobber to the op_add2's first output 2023-07-23 17:58:19 +01:00
loongarch64
mips
ppc tcg/ppc: Fix race in goto_tb implementation 2023-07-23 17:52:42 +01:00
riscv
s390x tcg/{i386, s390x}: Add earlyclobber to the op_add2's first output 2023-07-23 17:58:19 +01:00
sparc64
tci tcg/tci: Fix MemOpIdx operand index for 3-operand memops 2023-06-09 08:30:56 -07:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
optimize.c
region.c
tcg-common.c
tcg-internal.h
tcg-ldst.c.inc
tcg-op-gvec.c tcg: Fix temporary variable in tcg_gen_gvec_andcs 2023-06-26 17:33:00 +02:00
tcg-op-ldst.c tcg: Use HAVE_CMPXCHG128 instead of CONFIG_CMPXCHG128 2023-07-15 08:02:49 +01:00
tcg-op-vec.c tcg: Reduce tcg_assert_listed_vecop() scope 2023-07-01 08:26:54 +02:00
tcg-op.c tcg: Do not elide memory barriers for !CF_PARALLEL in system mode 2023-06-26 17:33:00 +02:00
tcg-pool.c.inc
tcg.c tcg/{i386, s390x}: Add earlyclobber to the op_add2's first output 2023-07-23 17:58:19 +01:00
tci.c