- 09 Nov, 2004 18 commits
-
-
PR target/18230 * doc/md.texi (SPARC constraints): Document 'Y' constraint. * config/sparc/sparc-modes.def: Add vector modes of 4 and 8 bytes. * config/sparc/sparc.c (sparc_vector_mode_supported_p): New function. (TARGET_VECTOR_MODE_SUPPORTED_P): Set to sparc_vector_mode_supported_p. (fp_zero_operand): Accept MODE_VECTOR_INT modes. (input_operand): Accept CONST_VECTOR with MODE_VECTOR_INT modes. (sparc_cannot_force_const_mem): Return false for CONST_VECTOR. (sparc_init_modes): Set sparc_mode_class to SF_MODE or DF_MODE for MODE_VECTOR_INT modes. (sparc_extra_constraint_check): Add new constraint 'Y'. * config/sparc/sparc.h: Define UNITS_PER_SIMD_WORD to 8 for TARGET_VIS. * config/sparc/sparc.md (V32): New mode macro for 32-bit modes. (V64): New mode macro for 64-bit modes. (movsf): Use V32 for mode instead of SF. (movsf_insn_vis): Use V32 for mode instead of SF. Add 'Y' constraint alongside 'G' constraint. (movdf): Use V64 for mode instead of DF. (movdf_insn_v9only_vis, modf_insn_sp64_vis): Use V64 for mode instead of DF. Add 'Y' constraint alongside 'G' constraint. (multi-isn and misaligned mems DFmode splitters): Use V64 for mode instead of DF. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r90348
James A. Morrison committed -
* config/s390/s390.c (s390_select_ccmode): Return CCAPmode for integer NEG and ABS. * config/s390/s390.md ("*negdi2_64"): Fix op_type attribute. ("*negdi2_31"): Reimplement using a splitter. ("*negdi2_cc", "*negdi2_cconly"): New insns. ("*negdi2_sign", "*negdi2_sign_cc"): Likewise. ("*negsi2_cc", "*negsi2_cconly"): Likewise. ("*negdf2_cc", "*negdf2_cconly"): Likewise. ("*negsf2_cc", "*negsf2_cconly"): Likewise. ("*absdi2_cc", "*absdi2_cconly"): New insns. ("*absdi2_sign", "*absdi2_sign_cc"): Likewise. ("*abssi2_cc", "*abssi2_cconly"): Likewise. ("*absdf2_cc", "*absdf2_cconly"): Likewise. ("*abssf2_cc", "*abssf2_cconly"): Likewise. ("*negabsdi2_cc", "*negabsdi2_cconly"): New insns. ("*negabsdi2_sign", "*negabsdi2_sign_cc"): Likewise. ("*negabssi2_cc", "*negabssi2_cconly"): Likewise. ("*negabsdf2_cc", "*negabsdf2_cconly"): Likewise. ("*negabssf2_cc", "*negabssf2_cconly"): Likewise. From-SVN: r90347
Ulrich Weigand committed -
* config/s390/s390.c (s390_canonicalize_comparison): Reverse condition when eliminating an UNSPEC_CMPINT. (s390_secondary_input_reload_class): Fix test for CC register reload. (s390_secondary_output_reload_class): Likewise. (s390_expand_cmpmem): Swap operands. Use gen_cmpint. * config/s390/s390.md ("*cmpint_si", "*cmpint_di"): Remove. ("cmpint", "*cmpint_cc", "*cmpint_sign", "*cmpint_sign_cc"): New insn patterns with splitters. From-SVN: r90346
Ulrich Weigand committed -
* config/rs6000/rs6000.c (rs6000_rtx_costs): Add EQ, GTU, and LTU. * config/rs6000/rs6000.md (sCC): Split GTU and LTU patterns. From-SVN: r90345
David Edelsohn committed -
* tree-phinodes.c (phi_reverse): New. * tree-cfg.c (tree_make_forwarder_block, tree_duplicate_bb): Use it. * tree-flow.h: Add a prototype for phi_reverse. From-SVN: r90344
Kazu Hirata committed -
2004-11-09 Andrew Pinski <pinskia@physics.uc.edu> PR java/15576 * check-init.c (check_init): Ignore DECL_EXPR. * expr.c (always_initialize_class_p): Reenable. (build_class_init): Use a variable to store the decl. Also use boolean_false_node instead of integer_zero_node. * parse.y (attach_init_test_initialization_flags): Add a decl_expr to the block. From-SVN: r90343
Andrew Pinski committed -
From-SVN: r90342
Kazu Hirata committed -
locale_facets.tcc (time_get<>::do_get_weekday, [...]): Absolutely avoid dereferencing end iterators. 2004-11-09 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (time_get<>::do_get_weekday, time_get<>::do_get_monthname): Absolutely avoid dereferencing end iterators. * include/bits/locale_facets.tcc (time_get<>::_M_extract_name): Minor tweak. From-SVN: r90341
Paolo Carlini committed -
2004-11-07 James A. Morrison <phython@gcc.gnu.org> PR pch/14940 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __sparc__ definitions. From-SVN: r90340
James A. Morrison committed -
From-SVN: r90339
Joseph Myers committed -
* builtins.c, c-common.c, c-decl.c, c-format.c: Say "argument" instead of "arg" in diagnostics. testsuite: * gcc.dg/builtin-prefetch-1.c: Update expected diagnostic. From-SVN: r90338
Joseph Myers committed -
* builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h, c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c, gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c, tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/c4x/c4x.c, config/darwin.c, config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c, config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c, config/iq2000/iq2000.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h, config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.c, config/rs6000/host-darwin.c, config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c, config/sh/symbian.c, config/stormy16/stormy16.c, config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. Use %' as apostrophe in diagnostics where applicable. Use %< and %> in place of '' quotes where applicable. Use %qs in place of %<%s%>. Consistently quote __builtin function names. ada: * misc.c (gnat_handle_option): Use %< and %> for quoting in warning message. cp: * call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c, pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for quoting in diagnostics. * parser.c (cp_parser_sizeof_operand): Use '' instead of `' for quoting in printf format. * decl.c (duplicate_decls, start_decl): Use %qD instead of unquoted %D. objc: * objc-act.c: Use %q, %< and %> for quoting in diagnostics. testsuite: * gcc.dg/builtin-prefetch-1.c: Adjust expected messages. From-SVN: r90337
Joseph Myers committed -
From-SVN: r90336
Hans-Peter Nilsson committed -
* cfg.c (redirect_edge_succ_nodup): Use find_edge rather than implementing it inline. * cfganal.c (find_edge): Search pred->succs or succ->preds, whichever is shorter. From-SVN: r90333
Jeff Law committed -
From-SVN: r90325
Kazu Hirata committed -
From-SVN: r90324
Steve Ellcey committed -
[[Split portion of a mixed commit.]] From-SVN: r90322.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r90321.2
GCC Administrator committed
-
- 08 Nov, 2004 22 commits
-
-
* java/util/GregorianCalendar.java: Removed unused imports. * java/util/Vector.java: Removed unused import. From-SVN: r90316
Tom Tromey committed -
* tree-cfg.c (thread_jumps): Speed up by keeping a pointer to the last used element in the worklist. From-SVN: r90314
Kazu Hirata committed -
* tree-inline.c (remap_save_expr): Make it static. * tree-inline.h: Remove the corresponding prototype. From-SVN: r90313
Kazu Hirata committed -
* tree-ssa-loop-niter.c (upper_bound_in_type, lower_bound_in_type): Make them static. * tree.h: Remove the corresponding prototypes. From-SVN: r90312
Kazu Hirata committed -
* tree-ssa-live.c (tpa_init, pop_best_coalesce): Make them static. * tree-ssa-live.h: Remove the corresponding prototypes. From-SVN: r90311
Kazu Hirata committed -
* tree-if-conv.c (tree_if_conversion): Make it static. * tree-flow.h: Remove the corresponding prototype. From-SVN: r90310
Kazu Hirata committed -
* tree-ssa-operands.c (build_ssa_operands): Make it static. * tree-flow.h: Remove the corresponding prototype. From-SVN: r90308
Kazu Hirata committed -
* Makefile.in (tree-ssa-loop-ivopts.o): Add sbitmap.h dependency. * tree-ssa-loop-ivopts.c (struct iv_use): Change semantics of related_cands. (struct iv_ca, struct iv_ca_delta): New types. (tree_ssa_iv_optimize_init): Allocate important_candidates bitmap. (record_important_candidates): New. (find_iv_candidates): Call record_important_candidates. (alloc_use_cost_map): Derive size only from important candidates. (set_use_iv_cost, get_use_iv_cost): Use hash-like mechanism to speed up searches. (determine_use_iv_cost_generic, determine_use_iv_cost_address, determine_use_iv_cost_condition, determine_use_iv_cost_outer, determine_use_iv_cost): Return whether the use can be expressed by the candidate. (determine_use_iv_costs): Prune useless candidates from relate_cands bitmaps. (find_best_candidate, set_cost_up_to, set_cost): Removed. (cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp, iv_ca_set_cp, iv_ca_add_use, iv_ca_cost, iv_ca_has_deps, iv_ca_delta_add, iv_ca_cand_for_use, iv_ca_delta_commit, iv_ca_cand_used_p, iv_ca_delta_free, iv_ca_new, iv_ca_free, iv_ca_dump, iv_ca_extend, iv_ca_narrow): New functions. (try_add_cand_for, get_initial_solution, try_improve_iv_set, find_optimal_iv_set, create_new_ivs, tree_ssa_iv_optimize_loop): Use new iv set representation. (free_loop_data): clear important_candidates bitmap. (tree_ssa_iv_optimize_finalize): Free important_candidates bitmap. From-SVN: r90306
Zdenek Dvorak committed -
re PR objc/16546 ([unit-at-a-time] Solaris 10/x86 libobjc bootstrap failure: invalid assembler code) 2004-11-08 Andrew Pinski <pinskia@physics.uc.edu> PR objc/16546 * objc-act.c (generate_method_descriptors): Remove setting the new decls' type to variable_length_type. (generate_ivar_lists): Likewise. (generate_dispatch_tables): Likewise. From-SVN: r90304
Andrew Pinski committed -
* testsuite/gcc.dg/20030225-2.c: Add prototype for abort and exit. From-SVN: r90297
Steve Ellcey committed -
2004-11-08 Benjamin Kosnik <bkoz@redhat.com> Doug Gregor <dgregor@cs.indiana.edu> PR libstdc++/17664 * src/debug.cc: Just use one mutex. Co-Authored-By: Doug Gregor <dgregor@cs.indiana.edu> Co-Authored-By: Lothar Werzinger <lothar@xcerla.com> From-SVN: r90296
Benjamin Kosnik committed -
2004-11-08 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/18299 * gcc.c-torture/pr18299-1.c: New test. 2004-11-08 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/18299 * tree-inline.c (copy_body_r): Change "t = t" to empty statement instead of "t". From-SVN: r90295
Andrew Pinski committed -
2004-11-08 Benjamin Kosnik <bkoz@redhat.com> * configure.ac (libtool_VERSION): To 6:4:0. * configure: Regenerate. * config/linker-map.gnu: Slide new symbols into GLIBCXX_3.4.4. * docs/doxygen/user.cfg.in: Add more extension files. From-SVN: r90292
Benjamin Kosnik committed -
* modulo-sched.c (create_partial_schedule, free_partial_schedule, reset_partial_schedule, ps_add_node_check_conflicts, rotate_partial_schedule): Make them static. From-SVN: r90291
Kazu Hirata committed -
* expmed.c (extract_force_align_mem_bit_field): Correct handling at the end of a page. From-SVN: r90288
Richard Henderson committed -
* sched-deps.c (add_insn_mem_dependence): Make it static. * sched-int.h: Remove the corresponding prototypes. From-SVN: r90283
Kazu Hirata committed -
* flow.c (allocate_bb_life_data): Make it static. * basic-block.h: Remove the corresponding prototype. From-SVN: r90282
Kazu Hirata committed -
* calls.c (split_complex_values, split_complex_types): Make them static. * expr.h: Remove the corresponding prototypes. From-SVN: r90281
Kazu Hirata committed -
From-SVN: r90280
Richard Henderson committed -
PR java/16843: * gjavah.c (HANDLE_END_FIELD): Call print_field_info when generating a JNI header. (print_field_info): Handle JNI headers. (jni_print_float): Likewise. (jni_print_double): Likewise. From-SVN: r90277
Tom Tromey committed -
streambuf_iterator.h (class istreambuf_iterator): Consistently use _M_c to cache the current char... 2004-11-08 Paolo Carlini <pcarlini@suse.de> * include/bits/streambuf_iterator.h (class istreambuf_iterator): Consistently use _M_c to cache the current char, i.e., not only when operator++(int) is involved; change _M_c to mutable. (_M_get()): Always save the return value of _M_sbuf->sgetc() into _M_c. * testsuite/22_locale/time_get/get_monthname/char/1.cc: Fix (long standing) typo. * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise. * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise. * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise. From-SVN: r90275
Paolo Carlini committed -
arm.c (arm_handle_notshared_attribute): Wrap declaration and use with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES. * arm.c (arm_handle_notshared_attribute): Wrap declaration and use with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES. From-SVN: r90272
Richard Earnshaw committed
-