1. 08 Jan, 2016 6 commits
  2. 07 Jan, 2016 14 commits
  3. 06 Jan, 2016 14 commits
  4. 05 Jan, 2016 6 commits
    • re PR target/1078 (Problems with attributes documentation) · d1396c97
      2016-01-05  Sandra Loosemore <sandra@codesourcery.com>
      
      	PR 1078
      	gcc/
      	* doc/extend.texi (RL78 Variable Attributes): New section.
      
      From-SVN: r232092
      Sandra Loosemore committed
    • re PR c/69104 (invalid atomic memory order not diagnosed) · 8d9fdb49
      	PR c/69104
      	* builtins.c (get_memmodel): Use expansion point location rather than
      	the input location.  Call warning_at rather than warning.
      	(expand_builtin_atomic_compare_exchange): Likewise.
      	(expand_builtin_atomic_load): Likewise.
      	(expand_builtin_atomic_store): Likewise.
      	(expand_builtin_atomic_clear): Likewise.
      
      	* gcc.dg/atomic-invalid-2.c: New.
      
      From-SVN: r232090
      Marek Polacek committed
    • libiberty: {count,dup,write}argv: constify argv input slightly · 66f49f07
      Would be more useful if we could use "const char * const *", but there's
      a long standing bug where gcc warns about incompatible pointers when you
      try to pass in "char **".  We can at least constify the array itself as
      gcc will not warn in that case.
      
      From-SVN: r232089
      Mike Frysinger committed
    • Use vector_operand on SSE with 16b memory operand · acf93f1e
      Add vector_operand, which is vector_memory_operand or register_operand,
      and use it, instead of nonimmediate_operand, in SSE patterns with 16-byte
      memory operand.
      
      gcc/
      
      	PR target/68991
      	* config/i386/i386.c (ix86_expand_vector_logical_operator):
      	Replace nonimmediate_operand with vector_operand.
      	* config/i386/predicates.md (vector_operand): New predicate.
      	(general_vector_operand): Replace nonimmediate_operand with
      	vector_operand.
      	* config/i386/sse.md: Replace nonimmediate_operand with
      	vector_operand and m constraint with Bm constraint on SSE
      	patterns with 16-byte memory operand.
      	* config/i386/subst.md (round_nimm_predicate): Replace
      	nonimmediate_operand with vector_operand.
      	(round_saeonly_nimm_predicate): Likewise.
      	(round_saeonly_nimm_scalar_predicate): New.
      
      gcc/testsuite/
      
      	PR target/68991
      	* gcc.target/i386/pr68991.c: New test.
      
      From-SVN: r232088
      H.J. Lu committed
    • Add vector_memory_operand and "Bm" constraint · 3f50525d
      SSE vector arithmetic and logic instructions only accept aligned memory
      operand.  This patch adds vector_memory_operand and "Bm" constraint for
      aligned SSE memory operand.  They are applied to SSE plusminus and
      any_logic patterns.
      
      gcc/
      
      	PR target/68991
      	* config/i386/constraints.md (Bm): New constraint.
      	* config/i386/predicates.md (vector_memory_operand): New
      	predicate.
      	* config/i386/sse.md: Replace xm with xBm in plusminus and
      	any_logic patterns.
      
      gcc/testsuite/
      
      	PR target/68991
      	* g++.dg/pr68991-1.C: New test.
      	* g++.dg/pr68991-2.C: Likewise.
      
      From-SVN: r232087
      H.J. Lu committed
    • libiberty: dupargv: rewrite to use xstrdup · ae120683
      This func is basically open coding the xstrdup function, so gut it
      and use that directly.
      
      From-SVN: r232086
      Mike Frysinger committed