Properly generate x32 TLS IE sequence

2012-03-10  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (ix86_decompose_address): Disallow fs:(reg)
	if Pmode != word_mode.
	(legitimize_tls_address): Call gen_tls_initial_exec_x32 if
	Pmode == SImode for x32.

	* config/i386/i386.md (UNSPEC_TLS_IE_X32): New.
	(tls_initial_exec_x32): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185179 138bc75d-0d04-0410-961f-82ee72b054a4
	PR libstdc++/52456
	* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185181 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.dg/torture/pr52407.c: Add -fno-common option on hppa*-*-hpux*.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185182 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Remove TLS
	symbols added in last change.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185183 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/52450
	* gcc.dg/torture/pr52402.c: Skip execution on 32-bit hppa*-*-hpux*.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185184 138bc75d-0d04-0410-961f-82ee72b054a4
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185190 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/51244
	* config/sh/sh.md (movnegt): Expand into respective insns immediately.
	Use movrt_negc instead of negc pattern for non-SH2A.
	(*movnegt): Remove.
	(*movrt_negc, *negnegt, *movtt, *movt_qi): New insns and splits.

	PR target/51244
	* gcc.target/sh/pr51244-1.c: Fix thinkos.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185192 138bc75d-0d04-0410-961f-82ee72b054a4
        * config/i386/predicates.md (call_insn_operand): Allow
	constant_call_address_operand in Pmode only.
	(sibcall_insn_operand): Ditto.
	* config/i386/i386.md (*call): Use W mode iterator instead of P mode.
	(*call_vzeroupper): Ditto.
	(*sibcall): Ditto.
	(*sibcall_vzeroupper): Ditto.
	(*call_value): Ditto.
	(*call_value_vzeroupper): Ditto.
	(*sibcall_value): Ditto.
	(*sibcall_value_vzeroupper): Ditto.
	(*indirect_jump): Ditto.
	(*tablejump_1): Ditto.
	(indirect_jump): Convert memory address to word mode for TARGET_X32.
	(tablejump): Ditto.
	* config/i386/i386.c (ix86_expand_call): Convert indirect operands
	to word mode.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185193 138bc75d-0d04-0410-961f-82ee72b054a4
	* ChangeLog: Fix last entry.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185194 138bc75d-0d04-0410-961f-82ee72b054a4
Check Pmode in lwp_slwpcb

2012-03-11  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.md (lwp_slwpcb): Check Pmode instead of
	TARGET_64BIT.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185195 138bc75d-0d04-0410-961f-82ee72b054a4
Use Pmode on x86_64 this parameter

2012-03-11  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (x86_this_parameter): Replace DImode with
	Pmode.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185196 138bc75d-0d04-0410-961f-82ee72b054a4
Check ptr_mode and use Pmode in ix86_trampoline_init

2012-03-11  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (ix86_trampoline_init): Use movl for 64bit if
	ptr_mode == SImode.  Replace DImode with Pmode or ptr_mode.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185197 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/i386/i386.c (ix86_zero_extend_to_Pmode): Rewrite using
	convert_to_mode.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185198 138bc75d-0d04-0410-961f-82ee72b054a4
Use word_mode instead of Pmode in loop expand

2012-03-11  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (ix86_expand_movmem): Use word_mode for size
	needed for loop.
	(ix86_expand_setmem): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185200 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/52530
	* gcc.dg/torture/pr52530.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185201 138bc75d-0d04-0410-961f-82ee72b054a4
For Michael Hope.

2012-03-11  Michael Hope  <michael.hope@linaro.org>

       * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
       for Thumb-2



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185202 138bc75d-0d04-0410-961f-82ee72b054a4
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185207 138bc75d-0d04-0410-961f-82ee72b054a4
	* sv.po: Update.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185208 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-11  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* doc/invoke.texi (Option Summary): Move -no-integrated-cpp
	from C Language Options to Preprocessor Options.
	(C Dialect Options): Move -no-integrated-cpp documentation
	from here...
	(Preprocessor Options): ...to here.  Rewrite the description
	so it makes more sense, and remove discussion of merging
	front ends.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185211 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-12  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/i386.md (setcc + movzbl to xor + setcc peephole2):
	Also convert sequences with CC setting arithmetic instruction.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185213 138bc75d-0d04-0410-961f-82ee72b054a4