1. 27 Jun, 2003 2 commits
    • builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to obtain the… · 6ba701c8
      builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to obtain the format string instead of using...
      
      
      	* builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to
      	obtain the format string instead of using TREE_STRING_POINTER and
      	TREE_STRING_LENGTH.  Only optimize sprintf(dst,"%s",src) when the
      	return value is unused or the length of src is a known constant.
      
      	* gcc.c-torture/execute/string-opt-16.c: Remove test for disabled
      	sprintf(dst,"%s",src) optimization.
      	* gcc.c-torture/execute/20030626-1.c: New test case.
      	* gcc.c-torture/execute/20030626-2.c: New test case.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r68555
      Roger Sayle committed
    • Daily bump. · 34cd7ff6
      From-SVN: r68552
      GCC Administrator committed
  2. 26 Jun, 2003 35 commits
  3. 25 Jun, 2003 3 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