aboutsummaryrefslogtreecommitdiff
path: root/tcg/s390x/tcg-target-con-str.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-12-08 17:28:19 +0000
committerRichard Henderson <richard.henderson@linaro.org>2023-01-06 23:07:06 +0000
commitb2509acc60f9380ee2473074c6999dcefd9284fc (patch)
treeb0f0f1cb3b25fc1f791a8b93e04490e3b1edcd58 /tcg/s390x/tcg-target-con-str.h
parenta0332aca67772b8858d455b5b8d7f972843b3d4e (diff)
tcg/s390x: Tighten constraints for or_i64 and xor_i64
Drop support for sequential OR and XOR, as the serial dependency is slower than loading the constant first. Let the register allocator handle such immediates by matching only what one insn can achieve. Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/s390x/tcg-target-con-str.h')
-rw-r--r--tcg/s390x/tcg-target-con-str.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/s390x/tcg-target-con-str.h b/tcg/s390x/tcg-target-con-str.h
index 76446aecae..7b910d6d11 100644
--- a/tcg/s390x/tcg-target-con-str.h
+++ b/tcg/s390x/tcg-target-con-str.h
@@ -20,4 +20,5 @@ REGS('o', 0xaaaa) /* odd numbered general regs */
CONST('A', TCG_CT_CONST_S33)
CONST('I', TCG_CT_CONST_S16)
CONST('J', TCG_CT_CONST_S32)
+CONST('K', TCG_CT_CONST_P32)
CONST('Z', TCG_CT_CONST_ZERO)