qemu/include/tcg
Richard Henderson 6b8abd244b tcg: Introduce the 'z' constraint for a hardware zero register
For loongarch, mips, riscv and sparc, a zero register is
available all the time.  For aarch64, register index 31
depends on context: sometimes it is the stack pointer,
and sometimes it is the zero register.

Introduce a new general-purpose constraint which maps 0
to TCG_REG_ZERO, if defined.  This differs from existing
constant constraints in that const_arg[*] is recorded as
false, indicating that the value is in a register.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2025-02-18 08:29:03 -08:00
..
debug-assert.h tcg: Split out tcg/debug-assert.h 2023-05-23 18:54:55 -07:00
debuginfo.h accel/tcg: Move perf and debuginfo support to tcg/ 2024-01-29 21:04:10 +10:00
helper-info.h tcg: Make tcg/helper-info.h self-contained 2024-04-30 16:12:05 -07:00
insn-start-words.h tcg: Add insn_start_words to TCGContext 2023-06-05 12:04:29 -07:00
perf.h accel/tcg: Move perf and debuginfo support to tcg/ 2024-01-29 21:04:10 +10:00
startup.h tcg: Split out tcg init functions to tcg/startup.h 2023-10-04 11:03:54 -07:00
tcg-cond.h tcg: Introduce TCG_COND_TST{EQ,NE} 2024-02-03 23:43:47 +00:00
tcg-gvec-desc.h tcg: Adjust simd_desc size encoding 2020-10-08 05:57:32 -05:00
tcg-ldst.h accel/tcg: Widen tcg-ldst.h addresses to uint64_t 2023-05-16 16:30:29 -07:00
tcg-mo.h tcg: Move TCG headers to include/tcg/ 2020-01-15 15:13:10 -10:00
tcg-op-common.h tcg: Remove INDEX_op_plugin_cb_{start,end} 2024-04-30 16:12:05 -07:00
tcg-op-gvec-common.h tcg: Add write_aofs to GVecGen3i 2024-05-06 12:55:50 -07:00
tcg-op-gvec.h tcg: Split tcg/tcg-op-gvec.h 2023-06-05 12:04:29 -07:00
tcg-op.h tcg: Export tcg_gen_ext_{i32,i64,tl} 2023-10-22 16:32:28 -07:00
tcg-opc.h tcg: Merge INDEX_op_qemu_*_{a32,a64}_* 2025-02-18 07:33:42 -08:00
tcg-temp-internal.h tcg: Reset free_temps before tcg_optimize 2024-12-12 14:28:38 -06:00
tcg.h tcg: Introduce the 'z' constraint for a hardware zero register 2025-02-18 08:29:03 -08:00