* rtl.h (traverse_md_constants): Declare.
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Nov 2000 01:22:02 +0000 (01:22 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Nov 2000 01:22:02 +0000 (01:22 +0000)
commit4333d9215b332c58eebc4e4b8e143f24fa2f29a1
tree2c6657d3d97f9c62e1acbc3a2c7ea186a70e237e
parent2267ca842b3577b3bd9ffdb2acfdff5e1498b39e
* rtl.h (traverse_md_constants): Declare.
(struct md_constant): Define.
* Makefile.in (HOST_RTL): Add hashtab.o .
(OBJS): Add hashtab.o .
(hashtab.o): New rule.
(rtl.o): Depends on HASHTAB_H.
* rtl.c (hashtab.h): #include.
(md_constants): New static variable.
(def_hash, def_name_eq_p, read_constants): New static functions.
(traverse_md_constants): New function.
(read_name): Do constant expansion.
(read_rtx): Recognize define_constants.
* gencodes.c (print_md_constant): New function.
(main): Emit #defines for all constant definitions encountered.
* md.texi (Constant Definitions): New node.
* gensupport.c (xcalloc): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37635 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/gencodes.c
gcc/gensupport.c
gcc/md.texi
gcc/rtl.c
gcc/rtl.h