diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-03-20 12:08:42 +0100 |
---|---|---|
committer | Tom Tsou <tom@tsou.cc> | 2017-05-19 17:21:45 +0000 |
commit | e8ae9fcf387540f1b210f5ece372d0fd070b6249 (patch) | |
tree | a2cea15903fda9795776f35d1cee575b558d0ebc /utils | |
parent | f5bf33b287d5c4ce13c0ecac91c8d7f128a24eb5 (diff) |
buildenv: Split up SSE3 and SSE4.1 code
Currently we find SSE3 and SSE4.1 code mixed togehter along with
generic code in one file. This introduces the risk that the
compiler exidantly mixes SSE4.1 instructions into an SSE3, or
even worse into a generic code path.
This commit splits the SSE3 and SSE4.1 code into separate files
and compiles them with the matching target options.
Change-Id: I846e190e92f1258cd412d1b2d79b539e204e04b3
Diffstat (limited to 'utils')
-rw-r--r-- | utils/convolvetest/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/convolvetest/Makefile b/utils/convolvetest/Makefile index 0ce4cb1..d09a4cd 100644 --- a/utils/convolvetest/Makefile +++ b/utils/convolvetest/Makefile @@ -1,4 +1,4 @@ -all: main.o convolve_base.o convolve.o +all: main.o convolve_base.o convolve.o convolve_sse_3.o gcc -g -Wall ./*.o -o convtest -losmocore clean: @@ -14,3 +14,5 @@ convolve_base.o: ../../Transceiver52M/common/convolve_base.c convolve.o: ../../Transceiver52M/x86/convolve.c gcc -std=c99 -c ../../Transceiver52M/x86/convolve.c -I ../../Transceiver52M/common/ -msse3 -DHAVE_SSE3 +convolve_sse_3.o: ../../Transceiver52M/x86/convolve_sse_3.c + gcc -std=c99 -c ../../Transceiver52M/x86/convolve_sse_3.c -I ../../Transceiver52M/common/ -msse3 -DHAVE_SSE3 |