summary refs log tree commit diff stats
path: root/tcg/s390x/tcg-target-con-str.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-10-28 05:34:24 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-02-03 23:53:49 +0000
commitd95b51d3fb917d0b07cc18e567cb0512ef97292e (patch)
treebb9c99f858f79c36f8011ca6757540474e926297 /tcg/s390x/tcg-target-con-str.h
parentcbaddf30949a95f9133a6b3661ab5816db19833e (diff)
downloadfocaccia-qemu-d95b51d3fb917d0b07cc18e567cb0512ef97292e.tar.gz
focaccia-qemu-d95b51d3fb917d0b07cc18e567cb0512ef97292e.zip
tcg/s390x: Add TCG_CT_CONST_CMP
Better constraint for tcg_out_cmp, based on the comparison.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
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 9d2cb775dc..745f6c0df5 100644
--- a/tcg/s390x/tcg-target-con-str.h
+++ b/tcg/s390x/tcg-target-con-str.h
@@ -16,6 +16,7 @@ REGS('o', 0xaaaa) /* odd numbered general regs */
  * Define constraint letters for constants:
  * CONST(letter, TCG_CT_CONST_* bit set)
  */
+CONST('C', TCG_CT_CONST_CMP)
 CONST('I', TCG_CT_CONST_S16)
 CONST('J', TCG_CT_CONST_S32)
 CONST('K', TCG_CT_CONST_P32)