1. 21 Jul, 2011 30 commits
  2. 20 Jul, 2011 10 commits
    • Handle address output and call patterns for x32. · 6025b127
      2011-07-20  H.J. Lu  <hongjiu.lu@intel.com>
      	    Uros Bizjak  <ubizjak@gmail.com>
      	    Richard Henderson  <rth@redhat.com>
      
      	* config/i386/constraints.md (w): New.
      
      	* config/i386/i386.c (ix86_output_addr_vec_elt): Check
      	TARGET_LP64 instead of TARGET_64BIT for ASM_QUAD.
      
      	* config/i386/i386.h (CASE_VECTOR_MODE): Check TARGET_LP64
      	instead of TARGET_64BIT.
      
      	* config/i386/i386.md (indirect_jump): Replace
      	nonimmediate_operand with indirect_branch_operand.
      	(*indirect_jump): Likewise.  Replace constraint "m" with "w".
      	(tablejump): Replace nonimmediate_operand with
      	indirect_branch_operand.  Convert operand 0 to Pmode for x32 if
      	not PIC.
      	(*tablejump_1): Replace nonimmediate_operand with
      	indirect_branch_operand.  Replace constraint "m" with "w".
      	(*call_vzeroupper): Replace constraint "m" with "w".
      	(*call): Likewise.
      	(*call_rex64_ms_sysv_vzeroupper): Likewise.
      	(*call_rex64_ms_sysv): Likewise.
      	(*call_value_vzeroupper): Likewise.
      	(*call_value): Likewise.
      	(*call_value_rex64_ms_sysv_vzeroupper): Likewise.
      	(*call_value_rex64_ms_sysv): Likewise.
      	(set_got_offset_rex64): Check TARGET_LP64 instead of
      	TARGET_64BIT.
      
      	* config/i386/predicates.md (indirect_branch_operand): New.
      	(call_insn_operand): Support x32.
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
      
      From-SVN: r176539
      H.J. Lu committed
    • params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): Default to 12. · 7f8925a1
      From-SVN: r176538
      Michael Eager committed
    • Dump basic_block flags. · 510a442a
      From-SVN: r176537
      Richard Henderson committed
    • i386.c (ix86_decompose_address): Allow only subregs of DImode hard registers in index. · 00b40d0d
      	* config/i386/i386.c (ix86_decompose_address): Allow only subregs
      	of DImode hard registers in index.
      	(ix86_legitimate_address_p): Allow subregs of base and index to span
      	more than a word.  Assert that subregs of base and index satisfy
      	register_no_elim_operand predicates.  Reject addresses where
      	base and index have different modes.
      
      From-SVN: r176536
      Uros Bizjak committed
    • config.gcc (mips*-*-linux*): Remove redundant tm_file entry. · 87f53554
      gcc/
      2011-07-20  Robert Millan  <rmh@gnu.org>
      
      	* config.gcc (mips*-*-linux*): Remove redundant tm_file entry.
      
      From-SVN: r176535
      Robert Millan committed
    • bb-reorder.c (fix_crossing_conditional_branches): Fix crash by removing now-unnecessary assignment. · 742f29ab
      	* bb-reorder.c (fix_crossing_conditional_branches): Fix crash by
      	removing now-unnecessary assignment.
      
      From-SVN: r176533
      Ulrich Weigand committed
    • parser.c (cp_parser_initializer_list): Handle C99 .id= and [N]= designated initializer syntax. · 458f8a16
      	* parser.c (cp_parser_initializer_list): Handle C99 .id= and [N]=
      	designated initializer syntax.
      	* decl.c (check_array_designated_initializer): Add index parm.
      	(maybe_deduce_size_from_array_init): Pass it.
      	(reshape_init_array_1): Likewise.
      
      From-SVN: r176530
      Jason Merrill committed
    • system_error: Use noexcept. · cd88bb8c
      2011-07-20  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/std/system_error: Use noexcept.
      	* src/system_error.cc: Likewise.
      	* testsuite/19_diagnostics/error_condition/modifiers/39881.cc: Adjust.
      	* testsuite/19_diagnostics/error_condition/cons/39881.cc: Likewise.
      	* testsuite/19_diagnostics/error_code/modifiers/39882.cc: Likewise.
      	* testsuite/19_diagnostics/error_code/cons/39882.cc: Likewise.
      	* testsuite/util/testsuite_error.h: Likewise.
      
      	* include/std/system_error (error_code::error_code(_ErrorCodeEnum)):
      	Use enable_if on template parameter default.
      	(error_condition::error_condition(_ErrorConditionEnum)): Likewise.
      
      From-SVN: r176529
      Paolo Carlini committed
    • emit-rtl.c (set_mem_attributes_minus_bitpos): Restore setting memory address… · d05f3564
      emit-rtl.c (set_mem_attributes_minus_bitpos): Restore setting memory address space to the type's address space.
      
      	* emit-rtl.c (set_mem_attributes_minus_bitpos): Restore setting
      	memory address space to the type's address space.
      
      From-SVN: r176528
      Ulrich Weigand committed
    • re PR target/36467 ([avr] Missed optimization with pointer arithmetic and mul*) · 8c352fa8
      
      	PR target/36467
      	PR target/49687
      	* config/avr/avr.md (mulhi3): Use register_or_s9_operand for
      	operand2 and expand appropriately if there is a CONST_INT in
      	operand2.
      	(usmulqihi3): New insn.
      	(*sumulqihi3): New insn.
      	(*osmulqihi3): New insn.
      	(*oumulqihi3): New insn.
      	(*muluqihi3.uconst): New insn_and_split.
      	(*muluqihi3.sconst): New insn_and_split.
      	(*mulsqihi3.sconst): New insn_and_split.
      	(*mulsqihi3.uconst): New insn_and_split.
      	(*mulsqihi3.oconst): New insn_and_split.
      	(*ashifthi3.signx.const): New insn_and_split.
      	(*ashifthi3.signx.const7): New insn_and_split.
      	(*ashifthi3.zerox.const): New insn_and_split.
      	(mulsqihi3): New insn.
      	(muluqihi3): New insn.
      	(muloqihi3): New insn.
      	* config/avr/predicates.md (const_2_to_7_operand): New.
      	(const_2_to_6_operand): New.
      	(u8_operand): New.
      	(s8_operand): New.
      	(o8_operand): New.
      	(s9_operand): New.
      	(register_or_s9_operand): New.
      
      From-SVN: r176527
      Georg-Johann Lay committed