ack/mach/powerpc/ncg
George Koehler 7e9348169c Add reglap to ncg. Add 4-byte reg_float to PowerPC ncg.
The new feature "reglap" allows two sizes of floating-point register
variables (reg_float), if each register overlaps a single register of
the other size.  PowerPC ncg uses reglap to define 4-byte instances
of f14 to f31 that overlap the 8-byte instances.

When ncgg sees the definition of fs14("f14")=f14, it removes the
8-byte f14 from its rvnumbers array, and adds the 4-byte fs14 in its
place.  Later, when ncg puts a variable in fs14, if it is an 8-byte
variable, then ncg switches to the 8-byte f14.  The code has
/* reglap */ comments in util/ncgg or #ifdef REGLAP in mach/proto/ncg

reglap became necessary because my commit a20b87c caused PowerPC ego
to allocate reg_float in both 4-byte and 8-byte sizes.
2017-10-14 12:40:04 -04:00
..
mach.c Add reglap to ncg. Add 4-byte reg_float to PowerPC ncg. 2017-10-14 12:40:04 -04:00
mach.h Archival checkin (semi-working code). 2007-11-02 18:56:58 +00:00
table Add reglap to ncg. Add 4-byte reg_float to PowerPC ncg. 2017-10-14 12:40:04 -04:00