OSDN Git Service

PR target/47715
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Jul 2011 13:48:40 +0000 (13:48 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Jul 2011 13:48:40 +0000 (13:48 +0000)
commit1d96f528b5a9f296a1d6fbcdeb42cec1ff8dc32e
treec5de10fd2dd2a214db09002d032ac6d25d8bb75d
parentef2de86b841506cf0323e190bcce5fad866ae9f3
PR target/47715
* config/i386/i386.md (*load_tp_x32): New.
(*load_tp_x32_zext): Ditto.
(*add_tp_x32): Ditto.
(*add_tp_x32_zext): Ditto.
(*load_tp_<mode>): Disable for TARGET_X32 targets.
(*add_tp_<mode>): Ditto.
* config/i386/i386.c (get_thread_pointer): Load thread pointer in
ptr_mode and convert to Pmode if needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176924 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/function.c