public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcc/105920] New: __builtin_cpu_supports ("f16c") should check AVX
@ 2022-06-10 15:04 hjl.tools at gmail dot com
2022-06-10 17:54 ` [Bug libgcc/105920] " hjl.tools at gmail dot com
2022-06-14 13:52 ` [Bug target/105920] " hjl.tools at gmail dot com
0 siblings, 2 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2022-06-10 15:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105920
Bug ID: 105920
Summary: __builtin_cpu_supports ("f16c") should check AVX
Product: gcc
Version: 11.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
libgcc has
if (ecx & bit_F16C)
set_feature (FEATURE_F16C);
if (ecx & bit_RDRND)
set_feature (FEATURE_RDRND);
if (ecx & bit_XSAVE)
set_feature (FEATURE_XSAVE);
if (avx_usable)
{
if (ecx & bit_AVX)
set_feature (FEATURE_AVX);
if (ecx & bit_FMA)
set_feature (FEATURE_FMA);
}
F16C should be enabled only if AVX is usable since F16C requires AVX.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcc/105920] __builtin_cpu_supports ("f16c") should check AVX
2022-06-10 15:04 [Bug libgcc/105920] New: __builtin_cpu_supports ("f16c") should check AVX hjl.tools at gmail dot com
@ 2022-06-10 17:54 ` hjl.tools at gmail dot com
2022-06-14 13:52 ` [Bug target/105920] " hjl.tools at gmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2022-06-10 17:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105920
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2022-06-10
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
VAES has the same issue.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/105920] __builtin_cpu_supports ("f16c") should check AVX
2022-06-10 15:04 [Bug libgcc/105920] New: __builtin_cpu_supports ("f16c") should check AVX hjl.tools at gmail dot com
2022-06-10 17:54 ` [Bug libgcc/105920] " hjl.tools at gmail dot com
@ 2022-06-14 13:52 ` hjl.tools at gmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2022-06-14 13:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105920
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
Target Milestone|--- |11.4
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for GCC 13 by
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=751f306688508b08842d0ab967dee8e6c3b91351
Fixed for GCC 12.2 by:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=4b06b7304066fb1016e017d15e189f2e745dceae
Fixed for GCC 11.4 by
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=30c1cde3adec938606cd49b1b4a262590b496719
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-14 13:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-10 15:04 [Bug libgcc/105920] New: __builtin_cpu_supports ("f16c") should check AVX hjl.tools at gmail dot com
2022-06-10 17:54 ` [Bug libgcc/105920] " hjl.tools at gmail dot com
2022-06-14 13:52 ` [Bug target/105920] " hjl.tools at gmail dot com
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).