summary refs log tree commit diff stats
path: root/linux-user/cpu_loop-common.h
diff options
context:
space:
mode:
authorVíctor Colombo <victor.colombo@eldorado.org.br>2022-09-06 09:55:22 -0300
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-09-20 10:54:06 -0300
commit4b65b6e76977895fe43eb340c54b552fd16fe1ce (patch)
tree98926f490498cc53f582359b17b153880f6e11c4 /linux-user/cpu_loop-common.h
parentaf721a31696a1e08d8dcdabcd14c4cb09f9a5e16 (diff)
downloadfocaccia-qemu-4b65b6e76977895fe43eb340c54b552fd16fe1ce.tar.gz
focaccia-qemu-4b65b6e76977895fe43eb340c54b552fd16fe1ce.zip
target/ppc: Zero second doubleword of VSR registers for FPR insns
FPR register are mapped to the first doubleword of the VSR registers.
Since PowerISA v3.1, the second doubleword of the target register
must be zeroed for FP instructions.

This patch does it by writting 0 to the second dw everytime the
first dw is being written using set_fpr.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220906125523.38765-8-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'linux-user/cpu_loop-common.h')
0 files changed, 0 insertions, 0 deletions