- 23 Nov, 2004 11 commits
-
-
2004-11-22 Daniel Berlin <dberlin@dberlin.org> * df.c (dataflow_set_a_op_b): Remove reslt parameter, since it's always the same as op1. Use bitmap_ior_into and bitmap_and_into. Add comment to function. From-SVN: r91067
Daniel Berlin committed -
PR pch/14940 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __hppa__. From-SVN: r91066
John David Anglin committed -
PR rtl-optimization/14838 * emit-rtl.c (get_first_nonnote_insn): Don't assume first insn is a note. (get_last_nonnote_insn): Don't assume last insn is a note. From-SVN: r91065
John David Anglin committed -
PR libfortran/15960 * configure.ac: Check for finite in libm. * libgfortran.h: Define isfinite macro if not defined. * intrinsics/c99_functions.c: Use defined(fpclassify) instead of HAVE_FPCLASSIFY. * io/write.c (write_float): Use isfinite instead of finite. * configure, config.h.in: Rebuilt. From-SVN: r91064
Steven Bosscher committed -
* fold-const.c (nondestructive_fold_binary_to_constant): Rename to fold_binary_to_constant. (nondestructive_fold_unary_to_constant): Likewise, rename to fold_unary_to_constant. (fold_relational_hi_lo): Update call to fold_binary_to_constant. * tree.h (nondestructive_fold_binary_to_constant): Update prototype. (nondestructive_fold_unary_to_constant): Likewise. * tree-ssa-ccp.c (ccp_fold): Update calls to fold_unary_to_constant and fold_binary_to_constant. * tree-ssa-loop-niter.c (EXEC_BINARY, EXEC_UNARY): Delete macros. (inverse, number_of_iterations_cond): Replace uses of EXEC_BINARY and EXEC_UNARY with calls to fold_*nary_to_constant. * tree-ssa-loop-ivopts.c (EXEC_BINARY, EXEC_UNARY): Delete macros. (idx_find_step): Replace uses of EXEC_BINARY with calls to fold_binary_to_constant. From-SVN: r91063
Roger Sayle committed -
* config/i386/i386.h (TARGET_USE_FANCY_MATH_387): New macro. * config/i386/i386.c (override_options): Set MASK_NO_FANCY_MATH_387 automatically for targets without TARGET_80387. * config/i386/i386.md (sqrtsf2, sqrtsf2_1, sqrtsf2_i387, sqrtdf2, sqrtdf2_1, sqrtdf2_i387, *sqrtextendsfdf2, sqrtxf2, *sqrtextenddfxf2, *sqrtextendsfxf2, fpremxf4, fmodsf3, fmoddf3, fmodxf3, fprem1xf4, dremsf3, dremdf3, dremxf3, *sindf2, *sinsf2, *sinextendsfdf2, *sinxf2, *cosdf2, *cossf2, *cosextendsfdf2, *cosxf2, sincosdf3, sincossf3, *sincosextendsfdf3, sincosxf3, *tandf3_1, tandf2, *tansf3_1, tansf2, *tanxf3_1, tanxf2, atan2df3_1, atan2df3, atandf2, atan2sf3_1, atan2sf3, atansf2, atan2xf3_1, atan2xf3, atanxf2, asindf2, asinsf2, asinxf2, acosdf2, acossf2, acosxf2, fyl2x_xf3, logsf2, logdf2, logxf2, log10sf2, log10df2, log10xf2, log2sf2, log2df2, log2xf2, fyl2xp1_xf3, log1psf2, log1pdf2, log1pxf2, *fxtractxf3, logbsf2, logbdf2, logbxf2, ilogbsi2, *f2xm1xf2, *fscalexf4, expsf2, expdf2, expxf2, exp10sf2, exp10df2, exp10xf2, exp2sf2, exp2df2, exp2xf2, expm1df2, expm1sf2, expm1xf2, frndintxf2, rintdf2, rintsf2, rintxf2, frndintxf2_floor, floordf2, floorsf2, floorxf2, frndintxf2_ceil, ceildf2, ceilsf2, ceilxf2, frndintxf2_trunc, btruncdf2, btruncsf2, btruncxf2, frndintxf2_mask_pm, nearbyintdf2, nearbyintsf2, nearbyintxf2): Simplify conditionals using TARGET_USE_FANCY_MATH_387. From-SVN: r91061
Roger Sayle committed -
2004-11-22 Dale Johannesen <dalej@apple.com> * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Conditionalize properly and comment. From-SVN: r91060
Dale Johannesen committed -
* config/sparc/sparc.c: Include insn-codes.h and langhooks.h. (sparc_init_builtins): New function. (sparc_init_vis_builtins): Create builtin functions for VIS instructions. (sparc_expand_builtin): Expand builtin functions for VIS instructions. (TARGET_INIT_BUILTINS): Define to sparc_init_builtins. (TARGET_EXPAND_BUILTIN): Define to sparc_expand_builtin. (def_builtin): New macro for creating builtin functions. (P): New mode macro for pointer types. (UNSPEC_FPACK16, UNSPEC_FPACK32, UNSPEC_FPACKFIX, UNSPEC_FEXPAND, UNSPEC_FPMERGE, UNSPEC_MUL16AL, UNSPEC_MUL8UL, UNSPEC_MULDUL, UNSPEC_ALIGNDATA, UNSPEC_ALIGNADDR, UNSPEC_PDIST): New constants. (fpack16_vis, fpackfix_vis, fpack32_vis, fexpand_vis, fpmerge_vis, fmul8x16_vis, fmul8x16au_vis, fmul8x16al_vis, fmul8sux16_vis, fmul8ulx16_vis, fmuld8sux16_vis, fmuld8ulx16_vis, pdist_vis, faligndata<V64:mode>_vis, alignaddr<P:mode>_vis): New patterns. testsuite: * gcc.target/sparc/align.c, gcc.target/sparc/combined-2.c, gcc.target/sparc/fpack16.c, gcc.target/sparc/fpack32.c, gcc.target/sparc/fpackfix.c, gcc.target/fexpand.c, gcc.target/sparc/fpmerge.c, gcc.target/sparc/fpmul.c, gcc.target/sparc/pdist.c: New tests. From-SVN: r91057
James A. Morrison committed -
From-SVN: r91056
Eric Botcazou committed -
[[Split portion of a mixed commit.]] From-SVN: r91054.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r91053.2
GCC Administrator committed
-
- 22 Nov, 2004 29 commits
-
-
* configure.ac (machdep): Use sparc_mach_dep.lo on sparc64-sun-solaris2.* too. (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*. * configure: Regenerate. From-SVN: r91047
Eric Botcazou committed -
From-SVN: r91045
Devang Patel committed -
* tree-if-conv.c (if_convertable_phi_p): Rename to ... (if_convertible_phi_p): ... new name. (if_convertable_modify_expr_p): Rename to ... (if_convertible_modify_expr_p): ... new name. (if_convertable_stmt_p): Rename to ... (if_convertible_stmt_p): ... new name. (if_convertable_bb_p): Rename to ... (if_convertible_bb_p): ... new name. (if_convertable_loop_p): Rename to ... (if_convertible_loop_p): ... new name. From-SVN: r91044
Devang Patel committed -
From-SVN: r91043
Bob Wilson committed -
PR target/18444 * configure.ac (threading): Accept 'posix95'. * configure: Regenerate. From-SVN: r91042
Eric Botcazou committed -
PR target/18444 * configure.ac (threading): Accept 'posix95'. * configure: Regenerate. * config.gcc (i[34567]86-*-solaris2*): On Solaris up to 2.6, include sol26.h and default to posix95 threads if have_pthread_h. (sparc-*-solaris2*): Likewise. * gthr.h: Include gthr-posix95.h if _PTHREADS95 is defined. * gthr-posix95.h: New file. * config/sol26.h: New file. * doc/install.texi (--enable-threads): Document 'posix95'. From-SVN: r91041
Eric Botcazou committed -
* pointer-set.h (pointer_set_contains): Remove. * pointer-set.c (pointer_set_contains): Likewise. From-SVN: r91040
Ben Elliston committed -
* tree-ssa.c (ssa_remove_edge): Remove. * tree-flow.h: Remove the corresponding prototype. * tree-cfg.c: Replace ssa_remove_edge with remove_edge. * basic-block.h: Likewise. * tree-if-conv.c: Likewise. * tree-ssa-threadupdate.c: Likewise. From-SVN: r91039
Kazu Hirata committed -
2004-11-22 Dale Johannesen <dalej@apple.com> * calls.c (expand_call): Do not call preserve_temp_slots. From-SVN: r91038
Dale Johannesen committed -
* tree-phinodes.c (remove_phi_arg_num): Make it static. * tree-flow.h: Remove the corresponding prototype. From-SVN: r91037
Kazu Hirata committed -
* tree-cfg.c (tree_execute_on_shrinking_pred): New. (tree_cfg_hooks): Use it. * tree-ssa.c (ssa_remove_edge): Don't call remove_phi_args. (ssa_redirect_edge): Don't call remove_phi_arg_num. From-SVN: r91036
Kazu Hirata committed -
* cfg.c (unchecked_make_edge): Call execute_on_growing_pred after making an edge. (remove_edge): Call execute_on_shrinking_pred before removing an edge. (redirect_edge_succ): Call execute_on_growing_pred and execute_on_shrinking_pred. * cfghooks.c (execute_on_growing_pred): New. (execute_on_shrinking_pred): Likewise. * cfghooks.h (cfg_hooks): Add execute_on_growing_pred and execute_on_shrinking_pred. Add prototypes for execute_on_growing_pred and execute_on_shrinking_pred. * cfgrtl.c (rtl_cfg_hooks): Add NULL hooks to execute_on_growing_pred and execute_on_shrinking_pred. (cfg_layout_rtl_cfg_hook): Likewise. * tree-cfg.c (tree_cfg_hooks): Likewise. From-SVN: r91035
Kazu Hirata committed -
* tree-flow.h: Remove the prototype for remove_phi_arg. Add a prototype for remove_phi_args. * tree-phinodes.c (remove_phi_arg): Remove. (remove_phi_args): New. * tree-ssa.c (ssa_remove_edge): Call remove_phi_args instead of remove_phi_arg. From-SVN: r91034
Kazu Hirata committed -
* doc/cfg.texi (Maintaining the CFG): Use @ftable instead of @table to list the BSI methods. Use individual @findex directives instead of one with a comma-separated list of index entries. From-SVN: r91033
Ben Elliston committed -
re PR tree-optimization/18529 (When the lower bound of a loop is non-constant we cannot find the number of iterations) PR tree-optimization/18529 * fold-const.c (fold_to_nonsharp_ineq_using_bound): New function. (simple_operand_p): Use STRIP_NOPS. Consider SSA names simple. (fold): Call fold_to_nonsharp_ineq_using_bound. * tree-ssa-loop-niter.c (simplify_replace_tree): New function. (number_of_iterations_cond): Fold the expressions before futher processing. (tree_simplify_using_condition): Handle case when cond or expr is an EQ_EXPR specially. From-SVN: r91031
Zdenek Dvorak committed -
* gnu/java/nio/SocketChannelImpl.java (read): Made check for blocking un-ambiguous. Removed wrong check for data array length. From-SVN: r91028
Michael Koch committed -
From-SVN: r91027
David Edelsohn committed -
tree-ssa.c (verify_ssa): SSA_OP_ALL_USES should be SSA_OP_ALL_USES | SSA_OP_ALL_KILLS for verification... 2004-11-22 Daniel Berlin <dberlin@dberlin.org> * tree-ssa.c (verify_ssa): SSA_OP_ALL_USES should be SSA_OP_ALL_USES | SSA_OP_ALL_KILLS for verification purposes. From-SVN: r91026
Daniel Berlin committed -
2004-11-22 David Edelsohn <edelsohn@gnu.org> Fariborz Jahanian <fjahanian@apple.com> * config/rs6000/rs6000.c (rs6000_return_in_memory): Test TARGET_ALTIVEC_ABI. (function_arg_boundary): Align 8 to 16 byte vectors like SPE. Align 16 byte and larger vectors like Altivec. (function_arg_advance): Pass any 16 byte vector like Altivec vector. (function_arg): Same. (rs6000_pass_by_references): Test TARGET_ALTIVEC_ABI. Co-Authored-By: Fariborz Jahanian <fjahanian@apple.com> From-SVN: r91025
David Edelsohn committed -
2004-11-22 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/18572 * tree-sra.c (scalarize_init): Unshare the rhs before gimplifying it. From-SVN: r91024
Andrew Pinski committed -
function.c (assign_parm_setup_block): Revert 11-13 change to forcably re-mode a (possibly BLKmode) hard register. * function.c (assign_parm_setup_block): Revert 11-13 change to forcably re-mode a (possibly BLKmode) hard register. From-SVN: r91023
Richard Henderson committed -
* src/sparc/ffi.c (ffi_prep_closure): Align doubles and 64-bit integers on a 8-byte boundary. * src/sparc/v8.S (ffi_closure_v8): Reserve frame space for arguments. From-SVN: r91022
Eric Botcazou committed -
From-SVN: r91021
Eric Botcazou committed -
* config/rs6000/power4.md: Remove delay between dispatch and issue associated with dispatch group slots 3 and 4. * config/rs6000/power5.md: Same. From-SVN: r91020
David Edelsohn committed -
* cfg.c (cached_make_edge): Use find_edge rather than an inlined variant. * cfgbuild.c (make_edges): Likewise. * cfghooks.c (can_duplicate_block_p): Likewise. * cfgloop.c (loop_latch_edge): Likewise. * cfgloopmanip.c (force_single_succ_latches): Likewise. * cfgrtl.c (rtl_flow_call_edges_add): Likewise. * predict.c (predict_loops, propagate_freq): Likewise. * tracer.c (tail_duplicate): Likewise. * tree-cfg.c (disband_implicit_edges): Likewise. (tree_forwarder_block_p, tree_flow_call_edges_add): Likewise. From-SVN: r91019
Jeff Law committed -
From-SVN: r91018
Fariborz Jahanian committed -
From-SVN: r91017
Nick Clifton committed -
PR rtl-optimization/18599 * regrename.c (copyprop_hardreg_forward): Speed up by putting BB_VISITED flags on basic blocks as we process them. From-SVN: r91016
Kazu Hirata committed -
* config/rs6000/altivec.md (VI_char): New mode attribute. (addv16qi3, addv8hi3, addv4ai3): Replace with ... (add<mode>3): ... this. (subv16qi3, subv8hi3, subv4ai3): Replace with ... (sub<mode>3): ... this. (smaxv16qi3, smaxv8hi3, smaxv4ai3): Replace with ... (smax<mode>3): ... this. (sminv16qi3, sminv8hi3, sminv4ai3): Replace with ... (smin<mode>3): ... this. (umaxv16qi3, umaxv8hi3, umaxv4ai3): Replace with ... (umax<mode>3): ... this. (uminv16qi3, uminv8hi3, uminv4ai3): Replace with ... (umin<mode>3): ... this. (andv16qi3, andv8hi3, andv4ai3): Replace with ... (and<mode>3): ... this. (iorv16qi3, iorv8hi3, iorv4ai3): Replace with ... (ior<mode>3): ... this. (xorv16qi3, xorv8hi3, xorv4ai3): Replace with ... (xor<mode>3): ... this. (andv16qi3, andv8hi3, andv4ai3): Replace with ... (and<mode>3): ... this. (iorv16qi3, iorv8hi3, iorv4ai3): Replace with ... (ior<mode>3): ... this. (altivec_vnor): Replace with ... (altivec_nor<mode>): ... this. (one_cmplv16qi2, one_cmplv8hi2, one_complv4ai2): Replace with ... (one_cmpl<mode>2): ... this. (altivec_vandc): New expander. (*andc<mode>3): New insn. * config/rs6000/rs6000.c (bdesc_2arg): Adjust for new insn names. From-SVN: r91015
Nathan Sidwell committed
-