mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
Hexagon (target/hexagon) Make special new_value for USR
Precursor to moving new_value from the global state to DisasContext USR will need to stay in the global state because some helpers will set it's value Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230427230012.3800327-17-tsimpson@quicinc.com>
This commit is contained in:
parent
00e64fda06
commit
6aa4f1d15c
8 changed files with 27 additions and 12 deletions
|
@ -190,7 +190,7 @@ def genptr_decl_new(f, tag, regtype, regid, regno):
|
|||
if regid in {"s", "t"}:
|
||||
f.write(
|
||||
f" TCGv {regtype}{regid}N = "
|
||||
f"hex_new_value[insn->regno[{regno}]];\n"
|
||||
f"get_result_gpr(ctx, insn->regno[{regno}]);\n"
|
||||
)
|
||||
else:
|
||||
print("Bad register parse: ", regtype, regid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue