[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2022-01-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #17 from Hongtao.liu --- Fixed in GCC12 and GCC11.

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #16 from CVS Commits --- The releases/gcc-11 branch has been updated by hongtao Liu : https://gcc.gnu.org/g:eb8ff3cbc09e029ca0cbd0d8b09bcaba162ab95a commit r11-9257-geb8ff3cbc09e029ca0cbd0d8b09bcaba162ab95a Author: liuhongt Date:

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #15 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:b5844cb0bc8c7d9be2ff1ecded249cad82b9b71c commit r12-5445-gb5844cb0bc8c7d9be2ff1ecded249cad82b9b71c Author: liuhongt Date: Wed Nov

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #14 from Hongtao.liu --- (In reply to H.J. Lu from comment #11) > (In reply to Hongtao.liu from comment #10) > > I'm working on a patch which adds a new memory constraint "Bk" which will > > exclude TLS UNSPECs for mask register alte

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #13 from Jakub Jelinek --- If you read the tls.pdf, you'll see that it is not really possible, the IE -> LE transition needs to change the instructions that read from the .got memory to instructions that set the destination to an imm

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-17 Thread jason at zx2c4 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #12 from Jason A. Donenfeld --- (It might be too late at this point to say it, but I thought it's worth mentioning that another approach might be convincing the binutils people to accept kmov/vmov/vex relocations.)

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #11 from H.J. Lu --- (In reply to Hongtao.liu from comment #10) > I'm working on a patch which adds a new memory constraint "Bk" which will > exclude TLS UNSPECs for mask register alternative. > > The UNSPEC i'm excluding is like be

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #10 from Hongtao.liu --- I'm working on a patch which adds a new memory constraint "Bk" which will exclude TLS UNSPECs for mask register alternative. The UNSPEC i'm excluding is like below, any other UNSPEC needs to be added? bool

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #9 from Jakub Jelinek --- Just those particular TLS UNSPECs. And, e.g. UNSPEC_NTPOFF should be fine in any insn that takes memory operands...

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #8 from H.J. Lu --- (In reply to Hongtao.liu from comment #7) > vmovd have same issue, for simplify should we disable 32bit load for > sse/mask register when memory_operand has PIC address. Please disable specific UNSPEC operands wi

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #7 from Hongtao.liu --- vmovd have same issue, for simplify should we disable 32bit load for sse/mask register when memory_operand has PIC address.

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-16 Thread jason at zx2c4 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #6 from Jason A. Donenfeld --- Working around this now downstream via https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=876602ee223c6c4225371b428a346f0b2d7f2020 which we'll revert whenever an upstream fix is available.

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 Richard Biener changed: What|Removed |Added Summary|[11 Regression] don't |[11/12 Regression] don't