- 27 Aug, 2001 26 commits
-
-
* jartool.c (jarfile): Remove length limitation. (main): Use jt_strdup when initializing jarfile. From-SVN: r45217
Tom Tromey committed -
* config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi, bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset. (pushqi1): New. (adddi_dilshr32, adddi_dishl32): Only data register can be source for mem destination. From-SVN: r45216
Roman Zippel committed -
expmed.c (store_bit_field): Ignore adjustment to bitpos and use bitnum to decide about register move. * expmed.c (store_bit_field): Ignore adjustment to bitpos and use bitnum to decide about register move. From-SVN: r45215
Roman Zippel committed -
From-SVN: r45214
Richard Henderson committed -
* gcse.c (reg_first_set, reg_last_set): Replace with ... (reg_avail_info, current_bb): ... these. (oprs_unchanged_p, record_last_reg_set_info): Use them. (compute_hash_table): Likewise. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r45213
Roman Zippel committed -
From-SVN: r45212
Roman Zippel committed -
From-SVN: r45211
Richard Henderson committed -
* optabs.c (expand_binop): Correctly handle the carry in multiword add/subtract operations. From-SVN: r45210
Geoffrey Keating committed -
From-SVN: r45209
Fred Fish committed -
2001-08-27 Phil Edwards <pme@sources.redhat.com> PR libstdc++/4143 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable correctly for version-specific-runtime-libs. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r45206
Phil Edwards committed -
From-SVN: r45205
Aldy Hernandez committed -
include: * ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses. libiberty: * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE. From-SVN: r45204
Kaveh R. Ghazi committed -
* reload.c (find_reloads_toplev): Back out this change: Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com> * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a mem if the address is a mode_dependent_address_p. From-SVN: r45203
Geoffrey Keating committed -
2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com> * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New RTL constructions. * genattr.c (main): New variable num_insn_reservations. Increase it if there is DEFINE_INSN_RESERVATION. Output automaton based pipeline hazard recognizer interface. * genattrtab.h: New file. * genattrtab.c: Include genattrtab.h. (attr_printf, check_attr_test, make_internal_attr, make_numeric_value): Move protypes into genattrtab.h. Define them as external. (num_dfa_decls): New global variable. (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET, DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION. Call expand_automata and write_automata. * genautomata.c: New file. * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them. * sched-int.h: (curr_state): Add the external definition for automaton pipeline interface. (haifa_insn_data): Add comments for members blockage and units. * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, TARGET_SCHED_DFA_PRE_CYCLE_INSN, TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, TARGET_SCHED_DFA_POST_CYCLE_INSN, TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New macros. (TARGET_SCHED): Use the new macros. * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn, dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn, first_cycle_multipass_dfa_lookahead, init_dfa_bubbles, dfa_bubble): New members in gcc_target.sched. * haifa-sched.c (insert_schedule_bubbles_p): New variable. (MAX_INSN_QUEUE_INDEX): New macro for automaton interface. (insn_queue): Redefine it as pointer to array. (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE. (max_insn_queue_index_macro_value): New variable. (curr_state, dfa_state_size, ready_try): New varaibles for automaton interface. (ready_element, ready_remove, max_issue): New function prototypes for automaton interface. (choose_ready): New function prototype. (insn_unit, blockage_range): Add comments. (unit_last_insn, unit_tick, unit_n_insns): Define them for case FUNCTION_UNITS_SIZE == 0. (insn_issue_delay, actual_hazard_this_instance, schedule_unit, actual_hazard, potential_hazard): Add comments. (insn_cost): Use cost -1 as undefined value. Remove LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton pipeline interface. (ready_element, ready_remove): New functions for automaton interface. (schedule_insn): Add new code for automaton pipeline interface. (queue_to_ready): Add new code for automaton pipeline interface. Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE. (debug_ready_list): Print newline when the queue is empty. (max_issue): New function for automaton pipeline interface. (choose_ready): New function. (schedule_block): Add new code for automaton pipeline interface. Print ready list before scheduling each insn. (sched_init): Add new code for automaton pipeline interface. Initiate insn cost by -1. (sched_finish): Free the current automaton state and finalize automaton pipeline interface. * sched-rgn.c: Include target.h. (init_ready_list, new_ready, debug_dependencies): Add new code for automaton pipeline interface. * sched-vis.c: Include target.h. (get_visual_tbl_length): Add code for automaton interface. (target_units, print_block_visualization): Add comments. * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB, USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables. (sched-rgn.o, sched-vis.o): Add new dependency file target.h. (getruntime.o, genautomata.o): New entries. (genattrtab.o): Add new dependency file genattrtab.h. (genattrtab): Add new dependencies. Link it with `libm.a'. (getruntime.o, hashtab.o): New entries for canadian cross. * doc/md.texi: Description of automaton based model. * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST): Add comments. (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, TARGET_SCHED_DFA_PRE_CYCLE_INSN, TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, TARGET_SCHED_DFA_POST_CYCLE_INSN, TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new hook descriptions. (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE, MAX_DFA_ISSUE_RATE): New macro descriptions. * doc/contrib.texi: Add dfa based scheduler contribution. * doc/gcc.texi: Add more information about genattrtab. From-SVN: r45202
Vladimir Makarov committed -
* flow.c (flow_loop_dump): Do not display insn UIDs if this is not an RTL basic block. From-SVN: r45201
Diego Novillo committed -
* function.c (expand_function_end): Don't init arg_pointer_save_area. (get_arg_pointer_save_area): New. Create an init it here. (fix_lexical_addr): Use it. * function.h: Declare it. * builtins.c (expand_builtin_setjmp_receiver): Use it. * stmt.c (expand_nl_goto_receiver): Use it. From-SVN: r45200
Richard Henderson committed -
* final.c (final_scan_insn): Don't enter APP_ON mode for empty asm strings. From-SVN: r45199
Richard Henderson committed -
dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper alignment for assemble_integer for DW_EH_PE_aligned. * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper alignment for assemble_integer for DW_EH_PE_aligned. * except.c (output_function_exception_table): Likewise. From-SVN: r45198
Richard Henderson committed -
dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper alignment for assemble_integer for DW_EH_PE_aligned. * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper alignment for assemble_integer for DW_EH_PE_aligned. From-SVN: r45197
Richard Henderson committed -
From-SVN: r45196
Andreas Jaeger committed -
From-SVN: r45194
Dan Nicolaescu committed -
* config/rs6000/rs6000.c (mask_operand): Rewrite without bit-shifting loop. (mask64_operand): Likewise. (rldic_operand): Delete. (includes_lshift64_p): Delete. (includes_rldic_lshift_p): New function. (includes_rldicr_lshift_p): New function. (print_operand): Don't call rldic_operand in case 'W'. * config/rs6000/rs6000-protos.h (rldic_operand): Remove. (includes_lshift64_p): Remove. (includes_rldic_lshift_p): Declare. (includes_rldicr_lshift_p): Declare. * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand. * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>: Replace match_operand rldic_operand predicate with const_int_operand. Replace includes_lshift64_p condition with includes_rldic_lshift_p. <ashldi3_internal 64 bit rldicr patterns>: New. From-SVN: r45192
Alan Modra committed -
From-SVN: r45188
GCC Administrator committed -
2001-08-24 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.y (check_deprecation): Handle TYPE_DECL in a special case, don't report anything but deprecated class when marked so. Handle VAR_DECL. (patch_method_invocation): Check deprecation on methods and types. (patch_binop): code becomes an enum tree_code, added default: to switch to handle that. Detect division by zero, try to fold and return before using a subroutine. (http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01495.html) From-SVN: r45187
Alexandre Petit-Bianco committed -
2001-08-24 Alexandre Petit-Bianco <apbianco@redhat.com> * libjava.lang/KeepInline.out: Fixed content. (http://gcc.gnu.org/ml/java-patches/2001-q3/msg00290.html) From-SVN: r45186
Alexandre Petit-Bianco committed -
* emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout. * errors.c: Likewise. * final.c: Likewise. * dwarf2asm.c: Likewise. * doprint.c (checkit): Likewise. * diagnostic.c: Likewise. * collect2.c: Likewise. * calls.c: Likewise. * c-semantics.c (build_stmt): Likewise. * c-format.c (status_warning): Likewise. * c-errors.c (pedwarn_c99): Likewise. * builtins.c (validate_arglist): Likewise. * config/pj/pj.c (pj_printf): Likewise. * fix-header.c: Likewise. * gcc.c: Likewise. * gcov.c (fnotice): Likewise. * gensupport.c (message_with_line): Likewise. * mips-tfile.c: Likewise. * protoize.c (notice): Likewise. * read-rtl.c (fatal_with_file_and_line): Likewise. * rtl-error.c: Likewise. * tradcpp.c: Likewise. * tree.c: Likewise. * cp/tree.c (build_min_nt): Likewise. (build_min): Likewise. * cp/lex.c: Likewise. * cp/errfn.c: Likewise. * cp/rtti.c (create_pseudo_type_info): Likewise. From-SVN: r45185
Andreas Jaeger committed
-
- 26 Aug, 2001 6 commits
-
-
* df.c (df_uses_record): Return after recording all uses in ASM_OPERANDS. From-SVN: r45184
Denis Chertykov committed -
2001-08-26 Daniel Berlin <dan@cgsoftware.com> * df.c (df_insn_modify): Realloc the INSN table here, if necessary, here, too. From-SVN: r45183
Daniel Berlin committed -
* Makefile.am: New friends for java/lang/Thread.h. * prims.cc (runFirst): Removed. (JvRunMain): Merged into _Jv_RunMain. Now just calls that. (_Jv_RunMain): Now takes either a klass or class name parameter. Create a gnu.gcj.runtime.FirstThread and attach the native thread to that, then run it using _Jv_ThreadRun. Remove special handling of jar files, instead pass is_jar parameter through to FirstThread. * gcj/javaprims.h: Add prototypes for _Jv_ThreadRun and new variant of _Jv_AttachCurrentThread. * gnu/gcj/runtime/FirstThread.java (FirstThread): Now extends Thread. (run): New method. Take care of looking up main class manifest attribute and calling forName if neccessary. Then call call_main. (call_main): New native method. * gnu/gcj/runtime/natFirstThread.cc (call_main): New function, code relocated from prims.cc. Look up and call main method. * java/lang/Thread.java (run_): Removed. * java/lang/natThread.cc (run_): Renamed to... (_Jv_ThreadRun): this. JVMPI notification code moved to ... (_Jv_NotifyThreadStart): here. New function. (countStackFrames, destroy, resume, suspend, stop): Throw UnsupportedOperationExceptions rather than JvFail'ing. (_Jv_AttachCurrentThread): New variant takes a Thread argument. Existing version wraps new variant. From-SVN: r45182
Bryce McKinlay committed -
From-SVN: r45181
Bryce McKinlay committed -
From-SVN: r45179
GCC Administrator committed -
* config/mips/mips.c (mips_function_value): Handle complex return values. From-SVN: r45178
Aldy Hernandez committed
-
- 25 Aug, 2001 8 commits
-
-
* reload1.c (reload): Make all entries in reg_equiv_memory_loc unshared. * reload.c (make_memloc): Copy result if it is still reg_equiv_memory_loc[regno] on return. (subst_reloads) [ENABLE_CHECKING]: Check that none of reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and reg_equiv_mem are modified by the substitutions. From-SVN: r45177
Hans-Peter Nilsson committed -
* predict.c (expensive_function_p): New. * rtl.h (expensive_function_p): Declare. * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant. (use_fast_prologue_epilogue): New static variable. (expand_prologue): Set it; emit short prologues if unset. (expand_epilogue): Likewise. From-SVN: r45176
Jan Hubicka committed -
* gcc.c-torture/compile/961203-1.x: Mark unsupported by stormy16. * gcc.c-torture/compile/980506-1.x: Mark unsupported by stormy16. * gcc.c-torture/compile/990617-1.x: Mark unsupported by stormy16. From-SVN: r45175
Geoffrey Keating committed -
* config.sub: Merge from master sources, rev 1.219. * MAINTAINERS: Add self as contact for stormy16 port. From-SVN: r45174
Geoffrey Keating committed -
* config.gcc: Add stormy16-*-elf case. * config/stormy16/stormy-abi: New file. * config/stormy16/stormy16-lib2.c: New file. * config/stormy16/stormy16-protos.h: New file. * config/stormy16/stormy16.c: New file. * config/stormy16/stormy16.h: New file. * config/stormy16/stormy16.md: New file. * config/stormy16/t-stormy16: New file. From-SVN: r45173
Geoffrey Keating committed -
From-SVN: r45171
Jan Hubicka committed -
From-SVN: r45170
GCC Administrator committed -
rs6000.c (rs6000_initialize_trampoline): Function descriptor members are pointer size, not constant 4. * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function descriptor members are pointer size, not constant 4. * config/rs6000/rs6000.md (define_splits): Remove more unused constraints. From-SVN: r45168
David Edelsohn committed
-