aboutsummaryrefslogtreecommitdiff
path: root/gcc/machmode.h
AgeCommit message (Collapse)AuthorFilesLines
1999-09-21machmode.h (HOST_PTR_PRINTF): Move from here ...Kaveh R. Ghazi1-15/+0
* machmode.h (HOST_PTR_PRINTF): Move from here ... * system.h (HOST_PTR_PRINTF): ... to here. * mips-tfile.c: Don't include machmode.h. * Makefile.in (MACHMODE_H): New variable. Update to use it. (mips-tfile.o): Don't depend on machmode.h. From-SVN: r29568
1999-08-27rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format for a ↵Zack Weinberg1-10/+6
CONST_DOUBLE... 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com> * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format for a CONST_DOUBLE, at compile time. Initialize rtx_length and class_narrowest_mode at compile time. Kill init_rtl. Mark rtx_length, mode_class, mode_size, mode_unit_size, mode_wider_mode, mode_mask_array, class_narrowest_mode, and rtx_format as const. Kill all references to EXTRA_CC_MODES or EXTRA_CC_NAMES. * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for format. * rtl.h: Declare rtx_length and rtx_format as const. * machmode.def: Define CC(). Use CC() to define CCmode. If EXTRA_CC_MODES is defined, expand it here. * machmode.h: Declare mode_class, mode_size, mode_unit_size, mode_wider_mode, mode_mask_array, and class_narrowest_mode as const. Kill all references to EXTRA_CC_MODES. * toplev.c: Don't prototype or call init_rtl. * optabs.c: Don't call init_mov_optab. * genemit.c: Don't generate init_mov_optab. Don't call init_rtl. * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT here. * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c: Don't call init_rtl. * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h, rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in definition of EXTRA_CC_MODES. * md.texi: Kill ref to EXTRA_CC_NAMES. * tm.texi: Document new way to define EXTRA_CC_MODES. * genrecog.c: Do not look up the name of a define_split. (Unrelated bugfix.) From-SVN: r28937
1999-08-20machmode.h (mode_name): Constify a char*.Kaveh R. Ghazi1-1/+1
* machmode.h (mode_name): Constify a char*. * rtl.c (mode_name): Likewise. * genopinit.c (gen_insn): Use accessor macro, not `mode_name'. * optabs.c (init_libfuncs): Constify a char*. * print-tree.c (mode_name): Remove redundant declaration. (print_node): Use accessor macro, not `mode_name'. * reload1.c (dump_needs): Constify a char*. Use accessor macro, not `mode_name'. (new_spill_reg): Constify a char*. * tree.c (mode_name): Remove redundant declaration. From-SVN: r28783
1999-04-08configure.in (host_xm_file, [...]): Include hwint.h.Kaveh R. Ghazi1-77/+4
* configure.in (host_xm_file, build_xm_file): Include hwint.h. Use case statements instead of "if test -a ... -a ... -a ..." * machmode.h: Don't define HOST_WIDE_INT, etc. Wrap use of HOST_WIDE_INT in #ifdef. * mips.h: Include hwint.h instead of providing definitions for HOST_WIDE_INT, etc. Wrap uses of HOST_WIDE_INT in #ifdef. From-SVN: r26291
1999-03-11machmode.h (smallest_mode_for_size): Prototype.Richard Henderson1-0/+6
* machmode.h (smallest_mode_for_size): Prototype. * stor-layout.c (smallest_mode_for_size): Remove static. From-SVN: r25703
1999-01-06Copyright fixes.Jeff Law1-1/+1
From-SVN: r24535
1998-12-16cccp.c: Don't define MIN/MAX anymore.Kaveh R. Ghazi1-11/+1
* cccp.c: Don't define MIN/MAX anymore. * cpplib.c: Likewise. * machmode.h: Likewise. * system.h: Provide definitions for MIN/MAX. From-SVN: r24339
1998-11-07configure.in (host_xm_file, [...]): Arrange to include gansidecl.h in ↵Kaveh R. Ghazi1-2/+0
{ht}config.h & tm.h just before the config/... * configure.in (host_xm_file, build_xm_file, xm_file, tm_file): Arrange to include gansidecl.h in {ht}config.h & tm.h just before the config/ directory headers. (tm_file_list, host_xm_file_list, build_xm_file_list): Handle gansidecl.h in the list of dependencies. * Makefile.in (RTL_BASE_H): Don't depend on gansidecl.h. (TREE_H, DEMANGLE_H, RECOG_H, REGS_H, libgcc2.a, stmp-multilib, mbchar.o, collect2.o, pexecute.o, vfprintf.o, splay-tree.o, gcc.o, gencheck.o, choose-temp.o, mkstemp.o, mkstemp.o, prefix.o, dyn-string.o, cexp.o, cccp.o, cppmain.o, cpplib.o, cpperror.o, cppexp.o, cppfiles.o, cpphash.o, cppalloc.o, scan-decls.o): Likewise. * cccp.c: Don't include gansidecl.h. * cexp.y: Likewise. * collect2.c: Likewise. * config/c4x/c4x.c: Likewise. * config/v850/v850.h: Likewise. * cppalloc.c: Likewise. * cpperror.c: Likewise. * cppexp.c: Likewise. * cppfiles.c: Likewise. * cpphash.c: Likewise. * cpplib.c: Likewise. * cppmain.c: Likewise. * cppulp.c: Likewise. * demangle.h: Likewise. * doprint.c: Likewise. * dyn-string.c: Likewise. * eh-common.h: Likewise. * fix-header.c: Likewise. * frame.c: Likewise. * gcc.c: Likewise. * gcov.c: Likewise. * gen-protos.c: Likewise. * gencheck.c: Likewise. * halfpic.h: Likewise. * hash.c: Likewise. * machmode.h: Likewise. * mbchar.c: Likewise. * prefix.c: Likewise. * protoize.c: Likewise. * recog.h: Likewise. * rtl.h: Likewise. * scan-decls.c: Likewise. * tree.h: Likewise. * varray.h: Likewise. From-SVN: r23558
1998-10-23machmode.h (mode_mask_array): No longer const.Richard Earnshaw1-1/+1
* machmode.h (mode_mask_array): No longer const. * rtl.c (init_rtl): Fully initialize it if EXTRA_CC_MODES defined. From-SVN: r23245
1998-10-09expmed.c (store_bit_field): Pun non-integral str_rtx modes.Richard Henderson1-0/+5
* expmed.c (store_bit_field): Pun non-integral str_rtx modes. Take extra care for op0 now possibly being a subreg. (extract_bit_field): Likewise. * function.c (purge_addressof_1): Revert Oct 4 change. Drop the reg to memory if there is no equal sized integral mode. * stor-layout.c (int_mode_for_mode): New function. * machmode.h: Prototype it. From-SVN: r22962
1998-10-01dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work with more than ↵John Carr1-5/+5
three size ranges. * dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work with more than three size ranges. * flow.c (sbitmap_copy): Use bcopy to copy bitmap. * rtl.c (mode_name): Add a null string at the end of the array. (mode_wider_mode): Change type to unsigned char. (mode_mask_array): New variable. (init_rtl): Update for mode_wider_mode type change. * rtl.h (mode_wider_mode): Change type to unsigned char. (mode_mask_array): Declare. (GET_MODE_MASK): Use mode_mask_array. From-SVN: r22717
1998-07-06Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly.Kaveh R. Ghazi1-4/+8
Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly. Instead, autoconf will only determine whether "%p" works and its up to machmode.h to base its definition of HOST_PTR_PRINTF on that. This ensures that machmode.h is always included to get the definition of HOST_PTR_PRINTF for lossy hosts or cross compiles where "%p" is not found. * aclocal.m4 (GCC_FUNC_PRINTF_PTR): Don't define HOST_PTR_PRINTF. Instead, define a new macro HAVE_PRINTF_PTR which only signifies whether we have the %p format specifier or not. * acconfig.h: Delete stub for HOST_PTR_PRINTF, add HAVE_PRINTF_PTR. * machmode.h (HOST_PTR_PRINTF): When determining the definition, check HAVE_PRINTF_PTR to see whether "%p" is okay. * mips-tfile.c: Include machmode.h to get HOST_PTR_PRINTF. * Makefile.in (mips-tfile.o): Depend on machmode.h. From-SVN: r20953
1998-05-08* machmode.h (COMPLEX_MODE_P): New macro.Richard Henderson1-0/+5
From-SVN: r19644
1996-11-15(HOST_PTR_PRINTF): Handle char * wider than long.Richard Kenner1-1/+66
(HOST_WIDE_INT_PRINT_{DEC,UNSIGNED,HEX,DOUBLE_HEX}): New macros. From-SVN: r13173
1996-07-03formatting tweaksMike Stump1-7/+7
From-SVN: r12390
1996-04-15machmode.h: #include "gansidecl.h".Doug Evans1-13/+4
* machmode.h: #include "gansidecl.h". (PROTO): Delete. (HAVE_MACHINE_MODES): Move definition to standard place. From-SVN: r11796
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9961
1994-11-22(ptr_mode): Add declaration.Richard Kenner1-3/+4
From-SVN: r8547
1994-06-15(MAX_SHORTS): Deleted.Torbjorn Granlund1-8/+0
From-SVN: r7474
1993-06-27(INTEGRAL_MODE_P, FLOAT_MODE_P): New macros.Richard Kenner1-1/+12
From-SVN: r4778
1993-03-19Add prototypes.Jim Wilson1-2/+11
From-SVN: r3794
1992-07-12entered into RCSRichard Stallman1-1/+2
From-SVN: r1574
1992-07-06*** empty log message ***Charles Hannum1-2/+30
From-SVN: r1471
1992-03-10*** empty log message ***Richard Kenner1-0/+6
From-SVN: r429
1992-01-15*** empty log message ***Richard Kenner1-1/+1
From-SVN: r192
1992-01-04*** empty log message ***Richard Kenner1-1/+12
From-SVN: r163
1991-08-28Initial revisionRichard Kenner1-0/+111
From-SVN: r33