* src/z80/ralloc.c (packRegsForHLUse): Banned IFXs from being packed into HL.
authormichaelh <michaelh@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 7 Nov 2001 21:17:05 +0000 (21:17 +0000)
committermichaelh <michaelh@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 7 Nov 2001 21:17:05 +0000 (21:17 +0000)
commit07df12abd9fe9f3ff2fa7edb177ff5e38a78324c
tree1daea5aabf6af34437efe28a87f9539f3b3ac18b
parent1bb04369c1ceddeeace0ecd3a8bd05f0877ba4e3
* src/z80/ralloc.c (packRegsForHLUse): Banned IFXs from being packed into HL.
(packRegsForHLUse): Added rule to pack address of/pointer get for itemps into HL for the Z80.
(packRegsForAccUse2): Added rule to pack hbit IFXs into A.

* src/z80/main.c (_setDefaultOptions): Made float code re-entrant by default.

* src/z80/gen.c (aopGetLitWordLong): Added word support for floats.
(genNotFloat): Added.
(genUminusFloat): Added.

* device/lib/z80/Makefile: Added floating pt stubs.

* device/lib/Makefile.in (Z80SOURCES): Added floating pt support.

* src/z80/gen.c (genIpush): Fixed up a push of one byte when left is in a pair.

* device/lib/_fsadd.c (__fsadd): Fixed up return where the numbers are hugely different.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1524 4a8a32a2-be11-0410-ad9d-d568d2c75423
23 files changed:
ChangeLog
device/lib/Makefile.in
device/lib/_fs2schar.c
device/lib/_fs2sint.c
device/lib/_fs2slong.c
device/lib/_fs2uchar.c
device/lib/_fs2uint.c
device/lib/_fsadd.c
device/lib/_schar2fs.c
device/lib/_sint2fs.c
device/lib/_slong2fs.c
device/lib/_uchar2fs.c
device/lib/_uint2fs.c
device/lib/gbz80/Makefile
device/lib/gbz80/fstubs.s [new file with mode: 0644]
device/lib/z80/Makefile
device/lib/z80/fstubs.s [new file with mode: 0644]
src/z80/gen.c
src/z80/main.c
src/z80/peeph.def
src/z80/ralloc.c
support/regression/tests/driverstruct.c
support/regression/tests/float.c [new file with mode: 0644]