diff options
author | Tom Musta <tommusta@gmail.com> | 2013-11-01 08:21:17 -0500 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-12-20 01:58:04 +0100 |
commit | df020ce07045413ab3205916a3cde64bb150694c (patch) | |
tree | 765ac1ef125bd4517597f5b6fc79c81825fddc40 /target-sparc | |
parent | 582b55a96ac4f66cea64d82e47651bd5ef38a8ec (diff) | |
download | qemu-df020ce07045413ab3205916a3cde64bb150694c.zip qemu-df020ce07045413ab3205916a3cde64bb150694c.tar.gz qemu-df020ce07045413ab3205916a3cde64bb150694c.tar.bz2 |
Add VSX Scalar Move Instructions
This patch adds the VSX scalar move instructions:
- xsabsdp (Scalar Absolute Value Double-Precision)
- xsnabspd (Scalar Negative Absolute Value Double-Precision)
- xsnegdp (Scalar Negate Double-Precision)
- xscpsgndp (Scalar Copy Sign Double-Precision)
A common generator macro (VSX_SCALAR_MOVE) is added since these
instructions vary only slightly from each other.
Macros to support VSX XX2 and XX3 form opcodes are also added.
These macros handle the overloading of "opcode 2" space (instruction
bits 26:30) caused by AX and BX bits (29 and 30, respectively).
V3: Per feedback from Paolo Bonzini, moved the sign mask into a
temporary and used andc.
Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-sparc')
0 files changed, 0 insertions, 0 deletions