2016-09-15 21:12:03 +00:00
|
|
|
for _, plat in ipairs(vars.plats) do
|
2016-10-29 21:37:11 +00:00
|
|
|
acklibrary {
|
|
|
|
name = "headers_"..plat,
|
|
|
|
}
|
|
|
|
|
2016-09-15 21:12:03 +00:00
|
|
|
acklibrary {
|
|
|
|
name = "lib_"..plat,
|
|
|
|
srcs = {
|
Add fef 4, fif 4. Improve fef 8, fif 8. Other float changes.
When I wrote fef 8, I forgot to test denormalized numbers. Oops. Now
fix two of my mistakes:
- When checking for zero, `extrwi r6, r3, 22, 12` needs to be
`extrwi r6, r3, 20, 12`. There are only 20 bits to extract.
- After the multiplication by 2**64, I forgot to put the fraction in
[0.5, 1) or (-1, 0.5] by setting IEEE exponent = 1022.
Teach fif 8 about signed zero and NaN.
In ncg/table, change cmf so NaN is not equal to any value, and comment
why ordered comparisons don't work with NaN. Also add cost for
fctwiz, remove extra `uses REG`.
Edit comment in cfu8.s because the conditional branch might be before
or after fctwiz.
2018-01-22 19:04:15 +00:00
|
|
|
"./*.s", -- fif4.s
|
2016-09-15 21:12:03 +00:00
|
|
|
},
|
|
|
|
vars = { plat = plat },
|
|
|
|
deps = {
|
2016-10-29 21:37:11 +00:00
|
|
|
"h+emheaders",
|
|
|
|
"+headers_"..plat,
|
2016-09-15 21:12:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
end
|