mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-13 07:09:54 +00:00
This implements fmadd, fmsub, fnmadd, fnmsub and their single-precision counterparts. The single-precision versions operate the same as the double-precision versions until the final rounding and overflow/underflow steps. This adds an S register to store the low bits of the product. S shifts into R on left shifts, and can be negated, but doesn't do any other arithmetic. This adds a test for the double-precision versions of these instructions. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
24 lines
322 B
Plaintext
24 lines
322 B
Plaintext
test 01:PASS
|
|
test 02:PASS
|
|
test 03:PASS
|
|
test 04:PASS
|
|
test 05:PASS
|
|
test 06:PASS
|
|
test 07:PASS
|
|
test 08:PASS
|
|
test 09:PASS
|
|
test 10:PASS
|
|
test 11:PASS
|
|
test 12:PASS
|
|
test 13:PASS
|
|
test 14:PASS
|
|
test 15:PASS
|
|
test 16:PASS
|
|
test 17:PASS
|
|
test 18:PASS
|
|
test 19:PASS
|
|
test 20:PASS
|
|
test 21:PASS
|
|
test 22:PASS
|
|
test 23:PASS
|