-
Notifications
You must be signed in to change notification settings - Fork 669
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #315 from rdolbeau/arm-sve-clean
PR to merge ARM SVE branch
- Loading branch information
Showing
33 changed files
with
902 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
AM_CPPFLAGS = -I $(top_srcdir) | ||
SUBDIRS = common sse2 avx avx-128-fma avx2 avx2-128 avx512 kcvi altivec vsx neon generic-simd128 generic-simd256 | ||
SUBDIRS = common sse2 avx avx-128-fma avx2 avx2-128 avx512 kcvi altivec vsx neon sve128 sve256 sve512 sve1024 sve2048 generic-simd128 generic-simd256 | ||
EXTRA_DIST = n1b.h n1f.h n2b.h n2f.h n2s.h q1b.h q1f.h t1b.h t1bu.h \ | ||
t1f.h t1fu.h t2b.h t2f.h t3b.h t3f.h ts.h codlist.mk simd.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
AM_CFLAGS = $(SVE_CFLAGS) | ||
SIMD_HEADER=simd-support/simd-maskedsve1024.h | ||
|
||
include $(top_srcdir)/dft/simd/codlist.mk | ||
include $(top_srcdir)/dft/simd/simd.mk | ||
|
||
if HAVE_SVE | ||
|
||
BUILT_SOURCES = $(EXTRA_DIST) | ||
noinst_LTLIBRARIES = libdft_sve1024_codelets.la | ||
libdft_sve1024_codelets_la_SOURCES = $(BUILT_SOURCES) | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
AM_CFLAGS = $(SVE_CFLAGS) | ||
SIMD_HEADER=simd-support/simd-maskedsve128.h | ||
|
||
include $(top_srcdir)/dft/simd/codlist.mk | ||
include $(top_srcdir)/dft/simd/simd.mk | ||
|
||
if HAVE_SVE | ||
|
||
BUILT_SOURCES = $(EXTRA_DIST) | ||
noinst_LTLIBRARIES = libdft_sve128_codelets.la | ||
libdft_sve128_codelets_la_SOURCES = $(BUILT_SOURCES) | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
AM_CFLAGS = $(SVE_CFLAGS) | ||
SIMD_HEADER=simd-support/simd-maskedsve2048.h | ||
|
||
include $(top_srcdir)/dft/simd/codlist.mk | ||
include $(top_srcdir)/dft/simd/simd.mk | ||
|
||
if HAVE_SVE | ||
|
||
BUILT_SOURCES = $(EXTRA_DIST) | ||
noinst_LTLIBRARIES = libdft_sve2048_codelets.la | ||
libdft_sve2048_codelets_la_SOURCES = $(BUILT_SOURCES) | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
AM_CFLAGS = $(SVE_CFLAGS) | ||
SIMD_HEADER=simd-support/simd-maskedsve256.h | ||
|
||
include $(top_srcdir)/dft/simd/codlist.mk | ||
include $(top_srcdir)/dft/simd/simd.mk | ||
|
||
if HAVE_SVE | ||
|
||
BUILT_SOURCES = $(EXTRA_DIST) | ||
noinst_LTLIBRARIES = libdft_sve256_codelets.la | ||
libdft_sve256_codelets_la_SOURCES = $(BUILT_SOURCES) | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
AM_CFLAGS = $(SVE_CFLAGS) | ||
SIMD_HEADER=simd-support/simd-maskedsve512.h | ||
|
||
include $(top_srcdir)/dft/simd/codlist.mk | ||
include $(top_srcdir)/dft/simd/simd.mk | ||
|
||
if HAVE_SVE | ||
|
||
BUILT_SOURCES = $(EXTRA_DIST) | ||
noinst_LTLIBRARIES = libdft_sve512_codelets.la | ||
libdft_sve512_codelets_la_SOURCES = $(BUILT_SOURCES) | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
dnl @synopsis ACX_SVE([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) | ||
dnl @summary figure out whether a simple SVE program can be compiled | ||
dnl @category InstalledPackages | ||
dnl | ||
dnl This macro tries to compile a simple SVE program that uses | ||
dnl the ACLE SVE extensions. | ||
dnl | ||
dnl ACTION-IF-FOUND is a list of shell commands to run if a SVE | ||
dnl program can be compiled, and ACTION-IF-NOT-FOUND is a list of commands | ||
dnl to run it cannot. | ||
dnl | ||
dnl @version 2024-04-15 | ||
dnl @license GPLWithACException | ||
dnl @author Gilles Gouaillardet <[email protected]> | ||
|
||
AC_DEFUN([ACX_SVE], [ | ||
AC_MSG_CHECKING([whether a SVE program can be compiled]) | ||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <arm_sve.h>]], | ||
[[#if defined(__GNUC__) && !defined(__ARM_FEATURE_SVE) | ||
#error compiling without SVE support | ||
#endif]])],[AC_MSG_RESULT([yes]) | ||
$1], | ||
[AC_MSG_RESULT([no]) | ||
$2]) | ||
])dnl ACX_SVE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
AM_CPPFLAGS = -I $(top_srcdir) | ||
SUBDIRS = common sse2 avx avx-128-fma avx2 avx2-128 avx512 kcvi altivec vsx neon generic-simd128 generic-simd256 | ||
SUBDIRS = common sse2 avx avx-128-fma avx2 avx2-128 avx512 kcvi altivec vsx neon sve128 sve256 sve512 sve1024 sve2048 generic-simd128 generic-simd256 | ||
EXTRA_DIST = hc2cbv.h hc2cfv.h codlist.mk simd.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
AM_CFLAGS = $(SVE_CFLAGS) | ||
SIMD_HEADER=simd-support/simd-maskedsve1024.h | ||
|
||
include $(top_srcdir)/rdft/simd/codlist.mk | ||
include $(top_srcdir)/rdft/simd/simd.mk | ||
|
||
if HAVE_SVE | ||
|
||
noinst_LTLIBRARIES = librdft_sve1024_codelets.la | ||
BUILT_SOURCES = $(EXTRA_DIST) | ||
librdft_sve1024_codelets_la_SOURCES = $(BUILT_SOURCES) | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
AM_CFLAGS = $(SVE_CFLAGS) | ||
SIMD_HEADER=simd-support/simd-maskedsve128.h | ||
|
||
include $(top_srcdir)/rdft/simd/codlist.mk | ||
include $(top_srcdir)/rdft/simd/simd.mk | ||
|
||
if HAVE_SVE | ||
|
||
noinst_LTLIBRARIES = librdft_sve128_codelets.la | ||
BUILT_SOURCES = $(EXTRA_DIST) | ||
librdft_sve128_codelets_la_SOURCES = $(BUILT_SOURCES) | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
AM_CFLAGS = $(SVE_CFLAGS) | ||
SIMD_HEADER=simd-support/simd-maskedsve2048.h | ||
|
||
include $(top_srcdir)/rdft/simd/codlist.mk | ||
include $(top_srcdir)/rdft/simd/simd.mk | ||
|
||
if HAVE_SVE | ||
|
||
noinst_LTLIBRARIES = librdft_sve2048_codelets.la | ||
BUILT_SOURCES = $(EXTRA_DIST) | ||
librdft_sve2048_codelets_la_SOURCES = $(BUILT_SOURCES) | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
AM_CFLAGS = $(SVE_CFLAGS) | ||
SIMD_HEADER=simd-support/simd-maskedsve256.h | ||
|
||
include $(top_srcdir)/rdft/simd/codlist.mk | ||
include $(top_srcdir)/rdft/simd/simd.mk | ||
|
||
if HAVE_SVE | ||
|
||
noinst_LTLIBRARIES = librdft_sve256_codelets.la | ||
BUILT_SOURCES = $(EXTRA_DIST) | ||
librdft_sve256_codelets_la_SOURCES = $(BUILT_SOURCES) | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
AM_CFLAGS = $(SVE_CFLAGS) | ||
SIMD_HEADER=simd-support/simd-maskedsve512.h | ||
|
||
include $(top_srcdir)/rdft/simd/codlist.mk | ||
include $(top_srcdir)/rdft/simd/simd.mk | ||
|
||
if HAVE_SVE | ||
|
||
noinst_LTLIBRARIES = librdft_sve512_codelets.la | ||
BUILT_SOURCES = $(EXTRA_DIST) | ||
librdft_sve512_codelets_la_SOURCES = $(BUILT_SOURCES) | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.