aboutsummaryrefslogtreecommitdiff
path: root/system/arch_init.c
diff options
context:
space:
mode:
authorTaylor Simpson <ltaylorsimpson@gmail.com>2023-12-10 15:07:04 -0700
committerBrian Cain <bcain@quicinc.com>2024-01-21 22:01:42 -0800
commit421b53d589e2a714b3f3175dddedda9755e83387 (patch)
tree7b88c261dfcf50614309f70d2efd22e5f40aba21 /system/arch_init.c
parentccdae09a8054731fbf49d5f223ff1903408a5ac3 (diff)
downloadqemu-421b53d589e2a714b3f3175dddedda9755e83387.zip
qemu-421b53d589e2a714b3f3175dddedda9755e83387.tar.gz
qemu-421b53d589e2a714b3f3175dddedda9755e83387.tar.bz2
Hexagon (target/hexagon) Clean up handling of modifier registers
Currently, the register number (MuN) for modifier registers is the modifier register number rather than the index into hex_gpr. This patch changes MuN to the hex_gpr index, which is consistent with the handling of control registers. Note that HELPER(fcircadd) needs the CS register corresponding to the modifier register specified in the instruction. We create a TCGv variable "CS" to hold the value to pass to the helper. Reviewed-by: Brian Cain <bcain@quicinc.com> Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com> Message-Id: <20231210220712.491494-2-ltaylorsimpson@gmail.com> Signed-off-by: Brian Cain <bcain@quicinc.com>
Diffstat (limited to 'system/arch_init.c')
0 files changed, 0 insertions, 0 deletions