1. 26 Jun, 2003 28 commits
  2. 25 Jun, 2003 12 commits
    • extend.texi: Document new builtin functions for Intel Prescott New Intrunctions. · 22c7c85e
      2003-06-25  H.J. Lu <hongjiu.lu@intel.com>
      
      	* doc/extend.texi: Document new builtin functions for Intel
      	Prescott New Intrunctions.
      
      	* doc/invoke.texi: Document new command-line options, -mpni and
      	-mno-pni, for Intel Prescott New Intrunctions.
      
      	* config.gcc (extra_headers): Add pmmintrin.h for i[34567]86-*-*.
      
      	* config/i386/i386.c (override_options): Turn on MASK_SSE2
      	for -mpni. Turn on MASK_SSE for -msse2.
      	(bdesc_2arg): Add PNI builtins with 2 args.
      	(bdesc_1arg): Add PNI builtins with 1 arg.
      	(ix86_init_mmx_sse_builtins): Handle PNI builtins.
      	(ix86_expand_builtin): Likewise.
      
      	* config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A,
      	MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT,
      	MASK_TLS_DIRECT_SEG_REFS): Renumbered.
      	(TARGET_PNI): New.
      	(TARGET_SWITCHES): Don't enable MASK_SSE for -msse2 here. Add
      	-mpni and -mno-pni.
      	(TARGET_CPU_CPP_BUILTINS): Defined __PNI__ for PNI.
      	(ix86_builtins): Add PNI builtins.
      	(config/i386/i386.md): Add PNI patterns.
      
      	* config/i386/pmmintrin.h: New file.
      
      From-SVN: r68502
      H.J. Lu committed
    • h8300.md (call): Fix the insn lengths. · 7f8b3eb0
      	* config/h8300/h8300.md (call): Fix the insn lengths.
      	(call_value): Likewise.
      
      From-SVN: r68501
      Kazu Hirata committed
    • c-common.c (handle_used_attribute): Use mark_referenced. · 4d7d0451
      	* c-common.c (handle_used_attribute): Use mark_referenced.
      	* varasm.c (mark_referenced): Break out from ...
      	(assemble_name): ... here.
      	* tree.h (mark_referenced): Declare.
      
      From-SVN: r68500
      Jan Hubicka committed
    • gccbug.in: Add PCH to list of categories. · 6322fdd8
      2003-06-25  Wolfgang Bangerth  <bangerth@dealii.org>
      
      * gccbug.in: Add PCH to list of categories.
      
      From-SVN: r68497
      Wolfgang Bangerth committed
    • cppfiles.c: Clarify comments. · 48c4721e
      	* cppfiles.c: Clarify comments.
      	* cpphash.h: Likewise.
      	* cpplib.h: Likewise.
      	* cppmacro.c: Likewise.
      	* mkdeps.h: Likewise.
      
      From-SVN: r68496
      Martin Schaffner committed
    • c-opts.c (complain_wrong_lang, [...]): Remove. · f18754d6
      	* c-opts.c (complain_wrong_lang, write_langs): Remove.
      	(c_common_handle_option): Complaints about wrong language are
      	handled in opts.c now.
      	* opts.c (complain_wrong_lang, write_langs, handle_options): New.
      	(find_opt): Fix thinko.
      	(handle_option): Update prototype.  Complain about switches for
      	a different front end.
      	* opts.h (lang_names, handle_options): New.
      	(handle_option): Remove.
      	* opts.sh: Write out language names array.
      	* toplev.c (parse_options_and_default_flags): Use handle_options.
      
      From-SVN: r68495
      Neil Booth committed
    • i386.c (MASK_SSE1): Removed. · 37f22004
      2003-06-25  H.J. Lu <hongjiu.lu@intel.com>
      
      	* config/i386/i386.c (MASK_SSE1): Removed.
      	(MASK_SSE164): Removed.
      	(MASK_SSE264): Removed.
      	(bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace
      	MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264
      	with MASK_SSE2 | MASK_64BIT.
      	(bdesc_1arg): Likewise.
      	(ix86_init_mmx_sse_builtins): Likewise.
      
      	* config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2.
      	(TARGET_SWITCHES): Enable both MASK_SSE and MASK_SSE2 for
      	-msse2.
      
      From-SVN: r68492
      H.J. Lu committed
    • hwint.h (HOST_WIDE_INT_PRINT, [...]): New macros. · 85f015e1
      	* 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
      Kaveh R. Ghazi committed
    • arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. · 27847754
      * config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead of
      ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
      Replace occurances of '???' with 'XXX' incase they are mistaken for trigraphs.
      (THUMB_PRINT_OPERAND_ADDRESS): abort if a compound address does not have a
      register for the first operand.
      
      From-SVN: r68487
      Nick Clifton committed
    • streambuf.tcc (sbumpc, [...]): Move inline, from here... · 29d9ed97
      2003-06-25  Nathan C. Myers  <ncm-nospam@cantrip.org>
      
      	* include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
      	sputc): Move inline, from here...
      	* include/std/std_streambuf.h: ... to here.
      
      	* include/std/std_streambuf.h (snextc, sbumpc, sgetc,
      	sputbackc, sungetc, sputc): Use __builtin_expect.
      
      From-SVN: r68486
      Nathan C. Myers committed
    • sh.c (sh_register_move_cost): Add case for moving between MAC_REGS. · b1dcf523
      2003-06-25	Dhananjay Deshpande <dhananjayd@kpitcummins.com>
      
      	* config/sh/sh.c (sh_register_move_cost):
      	Add case for moving between MAC_REGS.
      
      From-SVN: r68484
      Dhananjay Deshpande committed
    • re PR c/10178 (ICE in tree_low_cst) · 2896d056
      	PR 10178
      	* langhooks.h (struct lang_hooks): Add no_body_blocks bool.
      	* langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): New; default false.
      	* c-lang.c, objc/objc-lang.c: Override LANG_HOOKS_NO_BODY_BLOCKS
      	to true.
      	* stmt.c (is_body_block): If lang_hooks.no_body_blocks, always
      	return 0.
      
      From-SVN: r68483
      Zack Weinberg committed