public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/110966] New: should matmul_c8_avx512f be updated with matmul_c8_x86-64-v4.
@ 2023-08-10  6:29 crazylht at gmail dot com
  2023-08-10  8:09 ` [Bug libfortran/110966] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: crazylht at gmail dot com @ 2023-08-10  6:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110966

            Bug ID: 110966
           Summary: should matmul_c8_avx512f be updated with
                    matmul_c8_x86-64-v4.
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: crazylht at gmail dot com
  Target Milestone: ---

In libgfortran/m4/matmul.m4, we have

#ifdef HAVE_AVX512F
'define(`matmul_name',`matmul_'rtype_code`_avx512f')dnl
`static void
'matmul_name` ('rtype` * const restrict retarray,
        'rtype` * const restrict a, 'rtype` * const restrict b, int try_blas,
        int blas_limit, blas_call gemm) __attribute__((__target__("avx512f")));
static' include(matmul_internal.m4)dnl
`#endif  /* HAVE_AVX512F */


But target ("avx512f") only enable -mavx512f which has quite limited capability
of AVX512. Since now we have arch level, should we use target("arch=x86-64-v4")
instead.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-01-08  1:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-10  6:29 [Bug libfortran/110966] New: should matmul_c8_avx512f be updated with matmul_c8_x86-64-v4 crazylht at gmail dot com
2023-08-10  8:09 ` [Bug libfortran/110966] " rguenth at gcc dot gnu.org
2023-08-10  8:33 ` crazylht at gmail dot com
2023-08-13 20:24 ` anlauf at gcc dot gnu.org
2023-08-14  2:26 ` crazylht at gmail dot com
2023-11-13 20:50 ` tkoenig at gcc dot gnu.org
2023-11-14  2:31 ` crazylht at gmail dot com
2024-01-08  1:57 ` liuhongt 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).