aboutsummaryrefslogtreecommitdiff
path: root/gcc/hwint.h
AgeCommit message (Collapse)AuthorFilesLines
2005-08-23* hwint.h (HOST_WIDE_INT_PRINT): Use HOST_LONG_LONG_FORMAT.Mark Mitchell1-1/+1
From-SVN: r103402
2004-11-24hwint.h (HOST_LONG_LONG_FORMAT): New macro.Mark Mitchell1-6/+14
* hwint.h (HOST_LONG_LONG_FORMAT): New macro. Use it throughout. * config/i386/xm-mingw32.h (HOST_LONG_LONG_FORMAT): Define. * doc/hostconfig.texi (HOST_LONG_LONG_FORMAT): Document. From-SVN: r91136
2004-10-15bitmap.c, [...]: Update copyright.Kazu Hirata1-1/+1
* bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h, collect2.h, conflict.c, coretypes.h, coverage.h, errors.h, gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c, genconstants.c, gengenrtl.c, genmodes.c, genpeep.c, gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c, gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c, lists.c, machmode.def, mips-tdump.c, opts.h, params.c, predict.def, predict.h, protoize.c, reload.h, resource.h, rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c, tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c, value-prof.h: Update copyright. From-SVN: r89097
2004-08-30re PR rtl-optimization/13987 (compile time regression while compile ↵Andrew Pinski1-0/+23
fold-const.i) 2004-08-30 Andrew Pinski <apinski@apple.com> PR rtl-opt/13987 * config.host (use_long_long_for_widest_fast_int): New, default is off. (ia64-*-hpux*): Enable use_long_long_for_widest_fast_int. * configure.ac: If use_long_long_for_widest_fast_int, then define USE_LONG_LONG_FOR_WIDEST_FAST_INT. * configure: Regenerate. * config.in: Regenerate. * hwint.h (HOST_WIDEST_FAST_INT, HOST_BITS_PER_WIDEST_FAST_INT): New: widest integer type supported efficiently in hardware for the host. * sbitmap.h (SBITMAP_ELT_BITS): Define based on HOST_BITS_PER_WIDEST_FAST_INT. (SBITMAP_ELT_TYPE): Define based on HOST_WIDEST_FAST_INT. * hard-reg-set.h (HARD_REG_ELT_TYPE): Define based on HOST_WIDEST_FAST_INT instead of HOST_WIDE_INT. (HARD_REG_SET_LONGS): Likewise. (UHOST_BITS_PER_WIDE_INT): Likewise. Change the checks for the fast cases to be based on HOST_BITS_PER_WIDES_FAST_INT instead of HOST_BITS_PER_WIDE_INT. From-SVN: r86816
2003-06-25hwint.h (HOST_WIDE_INT_PRINT, [...]): New macros.Kaveh R. Ghazi1-17/+10
* hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros. (HOST_WIDE_INT_PRINT_DEC_SPACE, HOST_WIDE_INT_PRINT_UNSIGNED_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete. (HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C, HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C. * final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT. * ra-debug.c (dump_static_insn_cost): Likewise. From-SVN: r68489
2003-01-06hwint.h: If the current compiler has no 64-bit type at all, make ↵Zack Weinberg1-4/+5
HOST_WIDEST_INT 32 bits. * hwint.h: If the current compiler has no 64-bit type at all, make HOST_WIDEST_INT 32 bits. From-SVN: r60951
2002-12-16Merge basic-improvements-branch to trunkZack Weinberg1-126/+85
From-SVN: r60174
2002-11-20* hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).Douglas B Rupp1-2/+2
From-SVN: r59316
2002-07-22hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE, [...]): New formatting macros.Kaveh R. Ghazi1-0/+10
* hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE, HOST_WIDE_INT_PRINT_UNSIGNED_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE): New formatting macros. * ra-debug.c (dump_static_insn_cost): Avoid string concatenation. From-SVN: r55652
2002-07-22hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.J"orn Rennecke1-0/+3
* hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define. * genrecog.c (write_switch, write_cond): Use it. * genemit.c (gen_exp): Likewise. From-SVN: r55647
2001-12-09hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.Richard Kenner1-0/+4
* hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type. * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64, not GNUC. From-SVN: r47828
2001-10-09acconfig.h: Fix comment formatting.Kazu Hirata1-1/+1
* acconfig.h: Fix comment formatting. * c-dump.h: Likewise. * c-tree.h: Likewise. * conditions.h: Likewise. * expr.h: Likewise. * function.h: Likewise. * gthr.h: Likewise. * hwint.h: Likewise. * integrate.h: Likewise. * intl.h: Likewise. * loop.h: Likewise. * optabs.h: Likewise. From-SVN: r46131
2001-08-22Makefile.in, [...]: replace "GNU CC" with "GCC".Lars Brinkhoff1-1/+1
* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c, bitmap.h, builtin-types.def, builtins.c, builtins.def, c-aux-info.c, c-common.c, c-common.def, c-common.h, c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c, c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in, c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c, caller-save.c, calls.c, collect2.c, collect2.h, combine.c, conditions.h, config.gcc, configure.frag, configure.in, conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c, cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h, dependence.c, df.c, df.h, diagnostic.c, diagnostic.h, doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c, dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c, emit-rtl.c, errors.c, errors.h, except.c, except.h, exgettext, explow.c, expmed.c, expr.c, expr.h, final.c, fixproto, flags.h, flow.c, fold-const.c, fp-test.c, function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp, gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c, gencheck.c, gencodes.c, genconfig.c, genemit.c, genextract.c, genflags.c, gengenrtl.c, genmultilib, genopinit.c, genoutput.c, genpeep.c, genrecog.c, gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c, ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c, graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h, gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h, gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h, hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h, integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c, libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h, machmode.def, machmode.h, main.c, mbchar.c, mbchar.h, mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk, mkmap-symver.awk, optabs.c, output.h, params.c, params.def, params.h, predict.c, predict.def, predict.h, prefix.c, prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c, read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c, regclass.c, regmove.c, regrename.c, regs.h, reload.c, reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c, rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h, sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c, sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c, stringpool.c, system.h, timevar.c, timevar.def, timevar.h, tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h, tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h, unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h, unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c, xcoffout.h: replace "GNU CC" with "GCC". From-SVN: r45105
2001-05-25Standardize header guards.Richard Henderson1-3/+3
From-SVN: r42615
2001-05-03Re-installed 2001-01-09's patch:Alexandre Oliva1-0/+23
* hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long if it's wider than long and the target's long is wider than the host's. From-SVN: r41785
2001-03-14aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, [...]): New.Zack Weinberg1-19/+36
* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT, gcc_AC_C_LONG_LONG): New. * configure.in: Use them. Probe the size of short, int, long, and long long/__int64 if we have them. Move all the AC_C_* checks together, except gcc_AC_C_CHAR_BIT which has to go after AC_CHECK_HEADERS(limits.h). Take hwint.h out of host_xm_file and build_xm_file. * hwint.h: Unconditionally define HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG, and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT. Move the HOST_WIDEST_INT setup logic here from system.h. Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not defined. * system.h: Include hwint.h after limits.h. HOST_WIDEST_INT is now handled by hwint.h. * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h, config/c4x/xm-c4x.h, config/i370/xm-oe.h, config/ia64/xm-ia64.h: Don't define any of: HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT, HOST_BITS_PER_LONGLONG. * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h, config/h8300/xm-h8300.h, config/mips/iris6.h, config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h, config/sparc/xm-sp64.h: Delete. * config.gcc: Remove references to deleted files. * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT. * config/i370/xm-linux.h: Clarify floating-point situation in a comment. From-SVN: r40446
2001-03-06xm-a29k.h, [...]: Delete HOST_BITS_PER_* definitions which match the ↵Kaveh R. Ghazi1-5/+18
defaults provided in hwint.h. * config/a29k/xm-a29k.h, config/a29k/xm-unix.h, config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h, config/clipper/xm-clix.h, config/convex/xm-convex.h, config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h, config/h8300/xm-h8300.h, config/i370/xm-i370.h, config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h, config/i386/xm-i386.h, config/i860/xm-i860.h, config/i960/xm-i960.h, config/ia64/xm-ia64.h, config/m32r/xm-m32r.h, config/m68k/xm-m68k.h, config/m88k/xm-m88k.h, config/mcore/xm-mcore.h, config/mips/xm-mips.h, config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h, config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h, config/romp/xm-romp.h, config/rs6000/xm-beos.h, config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h, config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h, config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which match the defaults provided in hwint.h. * config/i386/xm-lynx.h, config/m68k/xm-lynx.h, config/sparc/xm-lynx.h, config/xm-std32.h: Delete files. * config.gcc (xm_file): Don't set to files which are deleted. * hwint.h: Provide default values for HOST_BITS_PER_*. No longer guard this file against these macros being undefined. From-SVN: r40262
2001-01-10* hwint.h: Revert yesterday's change.Richard Henderson1-24/+1
From-SVN: r38883
2001-01-09hwint.h (HOST_BITS_PER_WIDE_INT, [...]): Use long long if it's wider than ↵Alexandre Oliva1-1/+24
long and the target's long is wider than the... * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long if it's wider than long and the target's long is wider than the host's. From-SVN: r38820
1998-12-17* hwint.h: New file to consolidate HOST_WIDE_INT (etc) macros.Kaveh R. Ghazi1-0/+96
From-SVN: r24362