1. 18 Jan, 2012 2 commits
  2. 17 Jan, 2012 21 commits
  3. 16 Jan, 2012 12 commits
  4. 15 Jan, 2012 5 commits
    • mips.c (mips16_build_call_stub): Don't use a stub for calls to locally-binding… · 62835cee
      mips.c (mips16_build_call_stub): Don't use a stub for calls to locally-binding MIPS16 functions if...
      
      gcc/
      	* config/mips/mips.c (mips16_build_call_stub): Don't use a stub
      	for calls to locally-binding MIPS16 functions if only the return
      	type uses float regs.
      
      From-SVN: r183197
      Richard Sandiford committed
    • ssa-dom-thread-4.c: Expect 4 threaded edges for MIPS. · 0d508a19
      gcc/testsuite/
      	* gcc.dg/tree-ssa/ssa-dom-thread-4.c: Expect 4 threaded edges for MIPS.
      
      From-SVN: r183196
      Richard Sandiford committed
    • mips-protos.h (SYMBOL_FORCE_TO_MEM): Delete. · ddaf8125
      gcc/
      2012-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
      	    Richard Sandiford  <rdsandiford@googlemail.com>
      
      	* config/mips/mips-protos.h (SYMBOL_FORCE_TO_MEM): Delete.
      	(SYMBOL_32_HIGH): Likewise.
      	(mips_output_tls_reloc_directive): Declare.
      	* config/mips/mips.h (PIC_FUNCTION_ADDR_REGNUM): Move to mips.md.
      	(mips_use_pcrel_pool_p, mips_lo_relocs, mips_hi_relocs): Declare.
      	* config/mips/mips.c (mips_use_pcrel_pool_p): New variable.
      	(mips_lo_relocs, mips_hi_relocs): Make extern.
      	(mips16_stub_function): Move up file.
      	(mips_classify_symbol): Remove SYMBOL_FORCE_TO_MEM handling.
      	(mips_symbolic_constant_p): Likewise.  Remove SYMBOL_32_HIGH too.
      	(mips_symbol_insns_1): Likewise.  Check mips_use_pcrel_pool_p.
      	(mips_cannot_force_const_mem): Use mips_use_pcrel_pool_p instead
      	of SYMBOL_FORCE_TO_MEM.  Only check mips_tls_symbol_ref_1
      	if it's false.
      	(mips_get_tp): Add MIPS16 support.
      	(mips_legitimize_tls_address): Remove MIPS16 sorry().
      	Generalize DTPREL and TPREL handling.
      	(mips_init_relocs): Initialize mips_use_pcrel_pool_p.
      	Add MIPS16 TLS support.
      	(mips_output_tls_reloc_directive): New function.
      	(mips16_rewrite_pool_refs): Ignore UNSPEC_TLS_GET_TPs.
      	* config/mips/predicates.md (symbolic_operand_with_high)
      	(tls_reloc_operand): New predicates.
      	(force_to_mem_operand): Use mips_use_pcrel_pool_p.
      	* config/mips/mips.md (UNSPEC_UNSHIFTED_HIGH): New unspec.
      	(PIC_FUNCTION_ADDR_REGNUM): Moved from mips.h.
      	(*unshifted_high): New instruction.  Use it for MIPS16
      	high splitter.
      	(consttable_tls_reloc, tls_get_tp_mips16_<mode>): New patterns.
      	(*tls_get_tp_mips16_call_<mode>): Likewise.
      
      gcc/testsuite/
      	* gcc.target/mips/code-readable-2.c: Allow the jump table address
      	to be loaded from the constant pool, rather than via %hi and %lo.
      
      libgcc/
      2012-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
      	    Richard Sandiford  <rdsandiford@googlemail.com>
      
      	* config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
      	* config/mips/mips16.S (__mips16_rdhwr): New function.
      	* config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
      
      From-SVN: r183195
      Richard Sandiford committed
    • re PR rtl-optimization/51821 (64bit > 32bit conversion produces incorrect… · bf63ef6c
      re PR rtl-optimization/51821 (64bit > 32bit conversion produces incorrect results with optimizations)
      
      	PR rtl-optimization/51821
      	* recog.c (peep2_find_free_register): Determine clobbered registers
      	from insn pattern.
      
      testsuite/ChangeLog:
      
      	PR rtl-optimization/51821
      	* gcc.dg/pr51821.c: New test.
      
      From-SVN: r183194
      Uros Bizjak committed
    • * gcc.dg/torture/pr8081.c: Fix char signedness assumption. · 512b6058
      From-SVN: r183192
      Andreas Schwab committed