David Given
|
ecb3395aba
|
Converting floats and doubles to integers now works, as much as these ever do
on MIPS; turns out that it can't (or at least can't in qemu) reliably turn
INT_MIN from a double to an int.
|
2018-09-12 23:58:48 +02:00 |
|
David Given
|
8105281534
|
Make sure li works properly when loading fixed up values which end up as 0. Use
lui rather than li to load high values.
|
2018-09-12 22:28:40 +02:00 |
|
David Given
|
3122946a6f
|
Replaced some incorrect hi16s with ha16s.
|
2018-09-10 23:21:54 +02:00 |
|
David Given
|
a1747ac916
|
Add the .dataf4 and .dataf8 directives to the assembler --- manually converting
floats and doubles to bytes is not fun. It might even work!
|
2018-09-10 22:56:18 +02:00 |
|
David Given
|
f8f6fa9fc1
|
Added some more incredibly untested helper functions.
|
2018-09-10 00:21:16 +02:00 |
|
David Given
|
e88670dad4
|
Yikes! Turns out that FPU registers are only 32 bits wide, and doubles are
stored in pairs, just like on the PowerPC!
|
2018-09-09 18:25:00 +02:00 |
|
David Given
|
5dfef6f180
|
Rework relocations again: add RELO2HI and RELO2HISAD for the high two bytes of
a word.
|
2018-09-09 14:11:11 +02:00 |
|
David Given
|
75308901bc
|
Added hi[] and lo[] functions to the assembler; fix things enough that we now
get to the point of failing to link programs.
|
2018-09-08 22:42:06 +02:00 |
|
David Given
|
379c1a4a3c
|
Rework floating point conversion. Bash enough of the table into workingness
that the libraries build now.
|
2018-09-08 22:06:38 +02:00 |
|