summary refs log tree commit diff stats
path: root/hw/timer/altera_timer.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-06-06 17:52:41 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-06-07 08:33:45 -0700
commitab64da79774060450046ce8c800eef000024dc8c (patch)
treefd95944eee2b242ec515d5ecfcf4f87509ea6e57 /hw/timer/altera_timer.c
parentf5e6786de4815751b0a3d2235c760361f228ea48 (diff)
downloadfocaccia-qemu-ab64da79774060450046ce8c800eef000024dc8c.tar.gz
focaccia-qemu-ab64da79774060450046ce8c800eef000024dc8c.zip
tcg/tci: Adjust passing of MemOpIdx
Since adding MO_ATOM_MASK, the maximum MemOpIdx requires 15 bits,
which overflows the 12 bit field allocated for TCI memory ops.
Expand the field to 16 bits for 2-operand memory ops, and place
the value in TCG_REG_TMP for 3-operand memory ops (same as we
already do for 4-operand memory ops).

Cures a debug assert for aarch64, with FEAT_LSE2 enabled.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/timer/altera_timer.c')
0 files changed, 0 insertions, 0 deletions