public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/101685] New: -march=amdfam10 -mno-lzcnt Defines __LZCNT__ @ 2021-07-30 4:07 pinskia at gcc dot gnu.org 2021-07-30 4:08 ` [Bug target/101685] [12 Regression] " pinskia at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-07-30 4:07 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101685 Bug ID: 101685 Summary: -march=amdfam10 -mno-lzcnt Defines __LZCNT__ Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- r12-36 broke -march=amdfam10 -mno-lzcnt: if (((processor_alias_table[i].flags & PTA_ABM) != 0) && !TARGET_EXPLICIT_ABM_P (opts)) { SET_TARGET_LZCNT (opts); SET_TARGET_POPCNT (opts); } Most likely also broke -mno-popcnt too. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/101685] [12 Regression] -march=amdfam10 -mno-lzcnt Defines __LZCNT__ 2021-07-30 4:07 [Bug target/101685] New: -march=amdfam10 -mno-lzcnt Defines __LZCNT__ pinskia at gcc dot gnu.org @ 2021-07-30 4:08 ` pinskia at gcc dot gnu.org 2021-07-30 6:18 ` rguenth at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-07-30 4:08 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101685 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|-march=amdfam10 -mno-lzcnt |[12 Regression] |Defines __LZCNT__ |-march=amdfam10 -mno-lzcnt | |Defines __LZCNT__ Target Milestone|--- |12.0 CC| |mliska at suse dot cz ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/101685] [12 Regression] -march=amdfam10 -mno-lzcnt Defines __LZCNT__ 2021-07-30 4:07 [Bug target/101685] New: -march=amdfam10 -mno-lzcnt Defines __LZCNT__ pinskia at gcc dot gnu.org 2021-07-30 4:08 ` [Bug target/101685] [12 Regression] " pinskia at gcc dot gnu.org @ 2021-07-30 6:18 ` rguenth at gcc dot gnu.org 2021-07-30 13:50 ` cvs-commit at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2021-07-30 6:18 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101685 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |hjl.tools at gmail dot com Target| |x86_64-*-* i?86-*-* Last reconfirmed| |2021-07-30 Ever confirmed|0 |1 Priority|P3 |P1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/101685] [12 Regression] -march=amdfam10 -mno-lzcnt Defines __LZCNT__ 2021-07-30 4:07 [Bug target/101685] New: -march=amdfam10 -mno-lzcnt Defines __LZCNT__ pinskia at gcc dot gnu.org 2021-07-30 4:08 ` [Bug target/101685] [12 Regression] " pinskia at gcc dot gnu.org 2021-07-30 6:18 ` rguenth at gcc dot gnu.org @ 2021-07-30 13:50 ` cvs-commit at gcc dot gnu.org 2021-07-30 13:51 ` hjl.tools at gmail dot com 2021-08-03 12:05 ` marxin at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2021-07-30 13:50 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101685 --- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>: https://gcc.gnu.org/g:854ef6e50acf1b182ddaf007cff2cf60545692b0 commit r12-2624-g854ef6e50acf1b182ddaf007cff2cf60545692b0 Author: H.J. Lu <hjl.tools@gmail.com> Date: Fri Jul 30 05:58:38 2021 -0700 x86: Don't enable LZCNT/POPCNT if disabled explicitly gcc/ PR target/101685 * config/i386/i386-options.c (ix86_option_override_internal): Don't enable LZCNT/POPCNT if they have been disabled explicitly. gcc/testsuite/ PR target/101685 * gcc.target/i386/pr101685.c: New test. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/101685] [12 Regression] -march=amdfam10 -mno-lzcnt Defines __LZCNT__ 2021-07-30 4:07 [Bug target/101685] New: -march=amdfam10 -mno-lzcnt Defines __LZCNT__ pinskia at gcc dot gnu.org ` (2 preceding siblings ...) 2021-07-30 13:50 ` cvs-commit at gcc dot gnu.org @ 2021-07-30 13:51 ` hjl.tools at gmail dot com 2021-08-03 12:05 ` marxin at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: hjl.tools at gmail dot com @ 2021-07-30 13:51 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101685 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- Fixed. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/101685] [12 Regression] -march=amdfam10 -mno-lzcnt Defines __LZCNT__ 2021-07-30 4:07 [Bug target/101685] New: -march=amdfam10 -mno-lzcnt Defines __LZCNT__ pinskia at gcc dot gnu.org ` (3 preceding siblings ...) 2021-07-30 13:51 ` hjl.tools at gmail dot com @ 2021-08-03 12:05 ` marxin at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: marxin at gcc dot gnu.org @ 2021-08-03 12:05 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101685 --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- Thanks for the fix! ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-08-03 12:05 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-07-30 4:07 [Bug target/101685] New: -march=amdfam10 -mno-lzcnt Defines __LZCNT__ pinskia at gcc dot gnu.org 2021-07-30 4:08 ` [Bug target/101685] [12 Regression] " pinskia at gcc dot gnu.org 2021-07-30 6:18 ` rguenth at gcc dot gnu.org 2021-07-30 13:50 ` cvs-commit at gcc dot gnu.org 2021-07-30 13:51 ` hjl.tools at gmail dot com 2021-08-03 12:05 ` marxin at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).