[Bug target/89502] Error: can't encode segment `%fs' with 32-bit address
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Feb 26 00:43:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-02-26
CC| |ubizjak at gmail dot com
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
We should do
movl $24, %edx
movl %fs:(%rdx), %ecx
instead of
movl $24, %edx
movl %fs:(%edx), %ecx
Ever better, we can use UNSPEC_TP to handle it:
movl %fs:24, %ecx
to save a register.
More information about the Gcc-bugs
mailing list