Truncate x32 DImode TLS address to a SImode register
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Oct 2013 14:55:28 +0000 (14:55 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Oct 2013 14:55:28 +0000 (14:55 +0000)
commit2e06e505f6014894cb27ce759db7e9a55d912a20
tree8377c23d5e044345c52bdb64fc974eca3417b98d
parente73c4e43c216cf4c6c2a5cac71ced1aaa536e67e
Truncate x32 DImode TLS address to a SImode register

gcc/

PR target/58690
* config/i386/i386.c (ix86_copy_addr_to_reg): New function.
(ix86_expand_movmem): Replace copy_addr_to_reg with
ix86_copy_addr_to_reg.
(ix86_expand_setmem): Likewise.

gcc/testsuite/

PR target/58690
* gcc.target/i386/pr58690.c: New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203486 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr58690.c [new file with mode: 0644]