Update length attribute on *tls_global_dynamic_64.
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 28 Jul 2011 14:54:02 +0000 (14:54 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 28 Jul 2011 14:54:02 +0000 (07:54 -0700)
2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.md (*tls_global_dynamic_64): Update length
attribute.

From-SVN: r176873

gcc/ChangeLog
gcc/config/i386/i386.md

index 707bd26e518d8df43f0a3c57420b38396eacf915..f5ff964fab3245fce42f3d0e8a28a6bae4431a31 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.md (*tls_global_dynamic_64): Update length
+       attribute.
+
 2011-07-28  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/47715
index 01e9a383feaa97134f71e44accba04c3357c7a4c..f33b8a0442652d0e8726ccfc30fa1da7158a61e7 100644 (file)
   return "call\t%P2";
 }
   [(set_attr "type" "multi")
-   (set_attr "length" "16")])
+   (set (attr "length")
+       (symbol_ref "TARGET_X32 ? 15 : 16"))])
 
 (define_expand "tls_global_dynamic_64"
   [(parallel