ack/util/ego/ra
George Koehler a20b87ca01 In ego, put both words and double-words in reg_float.
The size of a reg_float isn't in the descr file, so ego doesn't know.
PowerPC and SPARC are the only arches with floating-point registers in
their descr files.  PowerPC and SPARC registers can hold both 4-byte
and 8-byte floats, so I want ego to do both sizes.

This might break our SPARC code expander because ego doesn't know that
8-byte values take 2 registers in SPARC.  (So ego might allocate too
many registers and deallocate too much stack space.)  We don't build
the SPARC code expander, and its descr file is already wrong: its list
of register save costs is too short, so ego will read past the end of
the array.

This commit doesn't fix the problem with ego and PowerPC ncg.  Right
now, ncg refuses to put 4-byte floats in registers, but ego expects
them to get registers and deallocates their stack space.  So ncg emits
programs that use the deallocated space, and the values of 4-byte
floats become corrupt.
2017-02-16 19:55:52 -05:00
..
build.lua ego now builds and is used. 2016-08-21 22:01:19 +02:00
itemtab.src Initial revision 1984-11-27 16:16:36 +00:00
makeitems.c Rationalised use of #includes to be more standards-compliant. 2006-07-22 00:46:16 +00:00
ra.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
ra.h Header --> Id 1994-06-24 11:31:16 +00:00
ra_allocl.c Header --> Id 1994-06-24 11:31:16 +00:00
ra_allocl.h Header --> Id 1994-06-24 11:31:16 +00:00
ra_aux.c Header --> Id 1994-06-24 11:31:16 +00:00
ra_aux.h Header --> Id 1994-06-24 11:31:16 +00:00
ra_interv.c Build ego. 2013-05-15 21:14:06 +01:00
ra_interv.h Header --> Id 1994-06-24 11:31:16 +00:00
ra_items.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
ra_items.h Header --> Id 1994-06-24 11:31:16 +00:00
ra_lifet.c Header --> Id 1994-06-24 11:31:16 +00:00
ra_lifet.h Header --> Id 1994-06-24 11:31:16 +00:00
ra_pack.c Build ego. 2013-05-15 21:14:06 +01:00
ra_pack.h Header --> Id 1994-06-24 11:31:16 +00:00
ra_profits.c In ego, put both words and double-words in reg_float. 2017-02-16 19:55:52 -05:00
ra_profits.h Header --> Id 1994-06-24 11:31:16 +00:00
ra_xform.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
ra_xform.h Header --> Id 1994-06-24 11:31:16 +00:00