]> git.proxmox.com Git - mirror_qemu.git/commit - target/hexagon/macros.h
Hexagon (target/hexagon) cleanup gen_store_conditional[48] functions
authorTaylor Simpson <tsimpson@quicinc.com>
Tue, 1 Jun 2021 23:19:43 +0000 (18:19 -0500)
committerTaylor Simpson <tsimpson@quicinc.com>
Tue, 29 Jun 2021 16:32:50 +0000 (11:32 -0500)
commit88725336717ab93a194bd1b100179b6a96983988
tree3a6428df3f2f6745c96551ecc150c3d5e299de3f
parenta5a8d98c8537f022a14bdc70eff12e296431b80f
Hexagon (target/hexagon) cleanup gen_store_conditional[48] functions

Previously the store-conditional code was writing to hex_pred[prednum].
Then, the fGEN_TCG override was reading from there to the destination
variable so that the packet commit logic would handle it properly.

The correct implementation is to write to the destination variable
and don't have the extra read in the override.

Remove the unused arguments from gen_store_conditional[48]

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1622589584-22571-4-git-send-email-tsimpson@quicinc.com>
target/hexagon/gen_tcg.h
target/hexagon/genptr.c
target/hexagon/macros.h