Commit Graph

15 Commits

Author SHA1 Message Date
Richard Stallman
97d5530df4 (hash_ptr): Renamed from hash_int.
(compare_ptrs): Renamed from compare_ints.
Do not cast args to int; just compare.

From-SVN: r2611
1992-10-26 08:16:20 +00:00
Richard Stallman
437b93370d (reg_names): Make it static. Use DEBUG_REGISTER_NAMES if that's defined.
(DEBUG_PRINT_REG): Define if not defined.
(print_rtx): Use DEBUG_PRINT_REG for hard regs.

(reg_name): Moved here.
Get rid of RCS headers.  Fix up whitespace and comments.
Make key field and corresponding args `const void *'.
Don't use assert.
Get rid of spurious array-level in node_table field; make it void **.
Declare module_hash_table, class_hash_table.
(hash_int): Divide by sizeof (void *), not by 2**that minus 1.

From-SVN: r2455
1992-10-14 09:32:39 +00:00
Richard Stallman
d0bd180dfb Fix indentation, clean up comments.
Rename structure fields and typedefs.

From-SVN: r2192
1992-09-20 23:42:24 +00:00
Richard Stallman
f847fb392d Changed the format of various sections to conform with GNU standard.
Deleted dependencies on some header files.
Replaced the use of the functions from memory.h with funtions like bzero.
Changed the include format.

From-SVN: r2019
1992-09-02 01:59:40 +00:00
Dennis Glatting
c7d30f6625 minor documentation changes.
From-SVN: r2008
1992-08-31 14:15:02 -07:00
Dennis Glatting
2a425bd567 Saving a working version before release.
From-SVN: r1884
1992-08-17 21:46:58 -07:00
Dennis Glatting
2db2bea5cb Check in after array version of run-time works.
Expect more changes as hash version and other changes are made.

From-SVN: r734
1992-04-13 11:43:08 +00:00
Dennis Glatting
eedb4710a6 Cleaned up file format for a distribution.
From-SVN: r111
1991-12-10 12:05:28 +00:00
Dennis Glatting
cb21dc2330 fixed assert macro.
added memory allocation adjustment macro for hash size allocation.

From-SVN: r96
1991-12-03 02:01:23 +00:00
Dennis Glatting
a46ecc2682 changed shorts back to ints.
the efficiency gained didn't out weight the grossness of the code.

From-SVN: r69
1991-11-24 01:20:02 +00:00
Dennis Glatting
c8497ed621 converted some entries in the hash structure from ints to shorts.
this was done to use a less expensive division instruction
in the hashIndex() routine.

From-SVN: r68
1991-11-23 22:19:21 +00:00
Dennis Glatting
c97e400f30 deleted hash mask information from hash struct.
changed hashing algorithm.  those values are no longer needed.

From-SVN: r65
1991-11-21 22:25:19 +00:00
Dennis Glatting
60cabde622 implemented hash table expansion as suggested by rms.
From-SVN: r59
1991-11-07 23:23:40 +00:00
Dennis Glatting
1e6464e0e4 added copyleft
From-SVN: r57
1991-11-07 22:30:54 +00:00
Dennis Glatting
4217c4568b Initial check in. Preliminary development stage.
From-SVN: r46
1991-10-24 00:45:39 +00:00