diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2003-10-15 21:57:21 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2003-10-15 21:57:21 +0000 |
commit | b8eaca232b716d78395c3ddacb0484ee6148d141 (patch) | |
tree | 904f83fb53c1f8a9c252a65c246a7ba6a8688cde /gcc/fold-const.c | |
parent | 0f229b22bb0f6b0c24e0ef69e3f45368524748e3 (diff) | |
download | gcc-b8eaca232b716d78395c3ddacb0484ee6148d141.zip gcc-b8eaca232b716d78395c3ddacb0484ee6148d141.tar.gz gcc-b8eaca232b716d78395c3ddacb0484ee6148d141.tar.bz2 |
genmodes.c: Include hashtab.h.
* genmodes.c: Include hashtab.h.
(modes_by_name, hash_mode, eq_mode, struct mode_adjust)
(adj_bytesize, adj_alignment, adj_format, new_adjust)
(_ADD_ADJUST, ADJUST_BYTESIZE, ADJUST_ALIGNMENT, ADJUST_FORMAT)
(print_maybe_const_decl, emit_mode_adjustments): New.
(known_modes): Rename to modes.
(find_mode): Kill class argument; look up in hash table.
(new_mode): Insert into hash table also.
(new_adjust): New.
(reset_float_format, make_partial_integer_mode)
(make_vector_mode): Tweak error reporting.
(reset_float_format): Correct type of fourth argument.
(emit_insn_modes_h): Add #defines to help make mode_size,
mode_base_align, and real_format_for_mode conditionally const.
(emit_mode_size, emit_mode_base_align): Use print_maybe_const_decl.
(emit_real_format_for_mode): Likewise, but temporarily disabled.
(emit_insn_modes_c): Call emit_mode_adjustments.
(main): Initialize modes_by_name.
* Makefile.in: Update dependencies.
* machmode.def: Document EXPR arguments and new ADJUST_* statements.
* machmode.h: Use CONST_MODE_SIZE and CONST_MODE_BASE_ALIGN in
declarations of mode_size and mode_base_align. Declare
init_adjust_machine_modes.
* toplev.c (backend_init): Call init_adjust_machine_modes.
From-SVN: r72534
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions