Truncate x32 DImode TLS address to a SImode register
authorH.J. Lu <hongjiu.lu@intel.com>
Sat, 12 Oct 2013 14:55:28 +0000 (14:55 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sat, 12 Oct 2013 14:55:28 +0000 (07:55 -0700)
commit37d1c5db3a195a239888866c8ce089b4845fe100
tree8377c23d5e044345c52bdb64fc974eca3417b98d
parentb86a70ff8d42f72bf998602fb1fcd724b7f76092
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

From-SVN: r203486
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr58690.c [new file with mode: 0644]