target/ppc: Replicate Double->Single-Precision result
commit3515553bf625ad48aa90210379c4f387c2596093
authorLucas Coutinho <lucas.coutinho@eldorado.org.br>
Sun, 20 Mar 2022 22:35:27 +0000 (20 23:35 +0100)
committerCédric Le Goater <clg@kaod.org>
Sun, 20 Mar 2022 22:35:27 +0000 (20 23:35 +0100)
tree2b0de8f4019521c31af91295b07b95b5c88ab95d
parent217979d33e78ee64978295962c33d8525973c760
target/ppc: Replicate Double->Single-Precision result

Power ISA v3.1 formalizes the previously undefined result in
words 1 and 3 to be a copy of the result in words 0 and 2.

This affects: xvcvsxdsp, xvcvuxdsp, xvcvdpsp.

And the previously undefined result in word 1 to be a copy of
the result in word 0.

This affects: xscvdpsp.

Signed-off-by: Lucas Coutinho <lucas.coutinho@eldorado.org.br>
Message-Id: <20220316200427.3410437-1-lucas.coutinho@eldorado.org.br>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/fpu_helper.c