forked from FFTW/fftw3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 128 bit support for AVX2. Similar to AVX-128, this improves slightly on SSE2 due to more efficient instructions, and the shorter SIMD width is beneficial in some cases. Both 128- and 256-bit flavors will be built automatically with --enable-avx2, and the timing routines will chose the best one automatically.
- Loading branch information
Erik Lindahl
committed
Mar 28, 2015
1 parent
da988fa
commit de81bfd
Showing
16 changed files
with
395 additions
and
43 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
SUBDIRS = common sse2 avx avx-128 avx2 kcvi altivec neon | ||
SUBDIRS = common sse2 avx avx-128 avx2 avx2-128 kcvi altivec neon | ||
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 = $(AVX2_CFLAGS) | ||
SIMD_HEADER=simd-avx2-128.h | ||
|
||
include $(top_srcdir)/dft/simd/codlist.mk | ||
include $(top_srcdir)/dft/simd/simd.mk | ||
|
||
if HAVE_AVX2 | ||
|
||
BUILT_SOURCES = $(EXTRA_DIST) | ||
noinst_LTLIBRARIES = libdft_avx2_128_codelets.la | ||
libdft_avx2_128_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
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,2 +1,2 @@ | ||
SUBDIRS = common sse2 avx avx-128 avx2 kcvi altivec neon | ||
SUBDIRS = common sse2 avx avx-128 avx2 avx2-128 kcvi altivec neon | ||
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,15 @@ | ||
AM_CFLAGS = $(AVX2_CFLAGS) | ||
SIMD_HEADER=simd-avx2-128.h | ||
|
||
include $(top_srcdir)/rdft/simd/codlist.mk | ||
include $(top_srcdir)/rdft/simd/simd.mk | ||
|
||
if HAVE_AVX2 | ||
|
||
noinst_LTLIBRARIES = librdft_avx2_128_codelets.la | ||
BUILT_SOURCES = $(EXTRA_DIST) | ||
librdft_avx2_128_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
Oops, something went wrong.