1. 04 Feb, 2003 11 commits
  2. 03 Feb, 2003 13 commits
  3. 02 Feb, 2003 9 commits
  4. 01 Feb, 2003 7 commits
    • drow's avatar
      * dwarf2out.c (gen_type_die): Check for typedefs before calling · dc346c40
      drow authored
      	for TYPE_MAIN_VARIANT.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62258 138bc75d-0d04-0410-961f-82ee72b054a4
      dc346c40
    • rth's avatar
      * libgcc2.c: Include auto-host.h. · 395d450a
      rth authored
              (ATTRIBUTE_HIDDEN): New.
              (__clz_tab): Don't declare here for clz and ctz.
              (__clzsi2, __clzdi2): Use count_leading_zeros.
              (__ctzsi2, __ctzdi2): Use count_trailing_zeros.
              (__popcount_tab): Mark ATTRIBUTE_HIDDEN.
              (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab.
              * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62256 138bc75d-0d04-0410-961f-82ee72b054a4
      395d450a
    • rth's avatar
      * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT · 489227fe
      rth authored
              to the conditional.
              (ashlsi3_1_zext splitter): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62254 138bc75d-0d04-0410-961f-82ee72b054a4
      489227fe
    • rth's avatar
      2003-02-01 Richard Henderson <rth@redhat.com> · 6a08d0ab
      rth authored
      	* optabs.c (expand_unop): Use word_mode for outmode of bit scaners.
      	* libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
      	__popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change
      	return type to Wtype.
      
      	* libgcc-std.ver (GCC_3.4): Fix inheritance.
      
      	* config/i386/i386.md (ffssi2): Use nonimmediate_operand for
      	expander input constraint.
      
      2003-02-01  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
      
              * optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and
              OTI_parity.
              (clz_optab, ctz_optab, popcount_optab, parity_optab): New.
              * optabs.c (widen_clz, expand_parity): New.
              (expand_unop): Handle clz and parity.  Hardcode SImode as outmode
              for libcalls to clz, ctz, popcount, and parity.
              (init_optabs): Init clz_optab, ctz_optab, popcount_optab and
              parity_optab, and set up libfunc handlers.
              * libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
              __popcountsi2, __popcountdi2, __paritysi2 __paritydi2,
              __popcount_tab): New.
              * libgcc2.h: Declare them.
              * libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c.
              * genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab
              and parity_optab.
              * builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New.
              * builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT,
              BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL,
              BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL,
              BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL,
              BUILT_IN_PARITYLL): New.
              * builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs
              and add optab argument.
              (expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*.
              * tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New.
              * expr.c (expand_expr): Handle them.
              * fold-const.c (tree_expr_nonnegative_p): Likewise.
              * rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New.
              * reload1.c (eliminate_regs): Handle them.
              (elimination_effects): Likewise.
              * function.c (instantiate_virtual_regs_1): Likewise
              * genattrtab.c (check_attr_value): Likewise.
              * simplify-rtx.c (simplify_unary_operation): Likewise.
              * c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR.
              * combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY.
              (nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY.
              * config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New.
              * config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to
              __builtin_arm_clz.
              * Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move...
              * mklibgcc.in (lib2funcs): ...here and merge.  Add new members.
              * doc/extend.texi (Other Builtins): Add new builtins.
              * doc/md.texi (Standard Names): Add new patterns.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62252 138bc75d-0d04-0410-961f-82ee72b054a4
      6a08d0ab
    • uweigand's avatar
      * reload.c: Revert 2003-01-31 change. · b43a3b62
      uweigand authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62249 138bc75d-0d04-0410-961f-82ee72b054a4
      b43a3b62
    • hubicka's avatar
      * combine.c (combine_simplify_rtx): Use reversed_comparison_code_parts. · b0bb7395
      hubicka authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62246 138bc75d-0d04-0410-961f-82ee72b054a4
      b0bb7395
    • rsandifo's avatar
      * flags.h (flag_volatile): Remove declaration. · c1771f2c
      rsandifo authored
      	(flag_volatile_global, flag_volatile_static): Likewise.
      	* c-typeck.c (build_indirect_ref): Don't check flag_volatile.
      	* toplev.c (flag_volatile): Remove definition.
      	(flag_volatile_global, flag_volatile_static): Likewise.
      	(f_options): Remove corresponding entries here.
      	* varasm.c (make_decl_rtl): Don't check flag_volatile_global
      	or flag_volatile_static.
      	* doc/invoke.texi: Remove documentation of -fvolatile,
      	-fvolatile-global and -fvolatile-static.
      
      cp/
      	* typeck.c (build_indirect_ref): Don't check flag_volatile.
      
      ada/
      	* utils2.c (build_unary_op): Don't check flag_volatile.
      	* gnat_ug.texi: Remove -fvolatile from example.
      	* gnat_ug_vxw.texi: Likewise.
      
      testsuite/
      	* g++.dg/init/new1.C: Remove -fvolatile dg-options line.
      	* g++.dg/init/new2.C: Likewise.
      	* g++.dg/other/new1.C: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62245 138bc75d-0d04-0410-961f-82ee72b054a4
      c1771f2c