https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010
--- Comment #7 from James Clarke ---
Eric, does the patch look fine to you? Do you want me to submit it to the
mailing list, or is here ok?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010
--- Comment #6 from Richard Henderson ---
For better rematerialization, I wonder if it wouldn't be better
to represent this as
(set (reg:P tmp)
(const:P (unspec [(symbol_ref "xxx")] UNSPEC_TLSIE)))
prior to reload, and split to sethi+add+l
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010
--- Comment #5 from James Clarke ---
My patch seems to work for this case:
sethi %tie_hi22(tcg_ctx), %g2
...
add %g2, %tie_lo10(tcg_ctx), %g1
ldx [%l7 + %g1], %g1, %tie_ldx(tcg_ctx)
stx %g2, [%fp+178
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010
Eric Botcazou changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|