diff options
author | Tom Musta <tommusta@gmail.com> | 2014-01-07 10:05:59 -0600 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-03-05 03:06:41 +0100 |
commit | fab7fe426fa5325f93c931ffbe25f4e024b1ced4 (patch) | |
tree | 821ece26f95ded45065281ef5785538ee90bdf33 /spice-qemu-char.c | |
parent | 1b0bd0029f16649a7f3d8ba021191bc6ca3a471f (diff) |
target-ppc: Add ISA2.06 Float to Integer Instructions
This patch adds the four floating point to integer conversion instructions
introduced by Power ISA V2.06:
- Floating Convert to Integer Word Unsigned (fctiwu)
- Floating Convert to Integer Word Unsigned with Round Toward
Zero (fctiwuz)
- Floating Convert to Integer Doubleword Unsigned (fctidu)
- Floating Convert to Integer Doubleword Unsigned with Round
Toward Zero (fctiduz)
A common macro is developed to eliminate repetitious code. Existing instructions
are also refactoried to use this macro (fctiw, fctiwz, fctid, fctidz).
Signed-off-by: Tom Musta <tommusta@gmail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'spice-qemu-char.c')
0 files changed, 0 insertions, 0 deletions