Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG-RAN
Commits
cdb38930
Commit
cdb38930
authored
Jun 04, 2019
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compilation of unitary FFT tests
parent
83bdc969
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
10 deletions
+15
-10
openair1/PHY/TOOLS/Makefile
openair1/PHY/TOOLS/Makefile
+6
-4
openair1/PHY/TOOLS/lte_dfts.c
openair1/PHY/TOOLS/lte_dfts.c
+9
-6
No files found.
openair1/PHY/TOOLS/Makefile
View file @
cdb38930
lte_dfts_sse4
:
lte_dfts.c
gcc
-O2
-std
=
gnu99
-msse4
.1
-g
-ggdb
-o
lte_dfts_sse4 lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
gcc
-O2
-std
=
gnu99
-msse4
.1
-g
-ggdb
-o
lte_dfts_sse4 lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
$$
OPENAIR_HOME/common/utils/backtrace.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
lte_dfts_avx2
:
lte_dfts.c
gcc
-O2
-std
=
gnu99
-mavx2
-g
-ggdb
-o
lte_dfts_avx2 lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
gcc
-O2
-std
=
gnu99
-mavx2
-g
-ggdb
-o
lte_dfts_avx2 lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
$$
OPENAIR_HOME/common/utils/backtrace.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
lte_dfts_avx2.s
:
lte_dfts.c
gcc
-O2
-std
=
gnu99
-mavx2
-S
lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
gcc
-O2
-std
=
gnu99
-mavx2
-S
lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
$$
OPENAIR_HOME/common/utils/backtrace.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
lte_dfts_sse4.s
:
lte_dfts.c
gcc
-O2
-std
=
gnu99
-msse4
.1
-S
lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
# -DD256STATS #-DD64STATS
gcc
-O2
-std
=
gnu99
-msse4
.1
-S
lte_dfts.c time_meas.c ../../SIMULATION/TOOLS/taus.c
$$
OPENAIR_HOME/common/utils/backtrace.c
-I
$$
OPENAIR_HOME
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR
-I
$$
OPENAIR2_DIR/COMMON
-I
$$
OPENAIR_HOME/common/utils
-I
$$
OPENAIR_HOME/common/utils/T
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
-lm
-lpthread
# -DD256STATS #-DD64STATS
dft_cycles_avx2
:
lte_dfts_avx2
./lte_dfts_avx2 | egrep cycles
openair1/PHY/TOOLS/lte_dfts.c
View file @
cdb38930
...
...
@@ -38,7 +38,7 @@
#include "tools_defs.h"
#else
#include "time_meas.h"
#include "
UTIL
/LOG/log.h"
#include "
common/utils
/LOG/log.h"
#define debug_msg
#define ONE_OVER_SQRT2_Q15 23170
...
...
@@ -2573,7 +2573,7 @@ const static int16_t tw64c[96] __attribute__((aligned(32))) = {
#define simd256_q15_t __m256i
#define shiftright_int16_simd256(a,shift) _mm256_srai_epi16(a,shift)
#define set1_int16_simd256(a) _mm256_set1_epi16(a);
#define mulhi_int16_simd256(a,b) _mm256_slli_epi16(_mm256_mulhi_epi16(a,b),1);
#define mulhi_int16_simd256(a,b) _mm256_
mulhrs_epi16(a,b); //_mm256_
slli_epi16(_mm256_mulhi_epi16(a,b),1);
#endif
#elif defined(__arm__)
...
...
@@ -8927,9 +8927,9 @@ int main(int argc, char**argv)
time_stats_t
ts
;
#ifdef __AVX2__
simd256_q15_t
x
[
4096
],
y
[
4096
],
tw0
,
tw1
,
tw2
,
tw3
;
simd256_q15_t
x
[
4096
],
x2
[
4096
],
y
[
4096
],
tw0
,
tw1
,
tw2
,
tw3
;
#else
simd_q15_t
x
[
8192
],
y
[
8192
],
tw0
,
tw1
,
tw2
,
tw3
;
simd_q15_t
x
[
8192
],
x2
[
8192
],
y
[
8192
],
tw0
,
tw1
,
tw2
,
tw3
;
#endif
int
i
;
simd_q15_t
*
x128
=
(
simd_q15_t
*
)
x
,
*
y128
=
(
simd_q15_t
*
)
y
;
...
...
@@ -9416,8 +9416,8 @@ int main(int argc, char**argv)
write_output
(
"x3072.m"
,
"x3072"
,
x
,
3072
,
1
,
1
);
memset
((
void
*
)
x
,
0
,
2048
*
sizeof
(
int32_t
));
for
(
i
=
2
;
i
<
2402
;
i
++
)
{
memset
((
void
*
)
x
,
0
,
4096
*
sizeof
(
int32_t
));
for
(
i
=
0
;
i
<
2400
;
i
++
)
{
if
((
taus
()
&
1
)
==
0
)
((
int16_t
*
)
x
)[
i
]
=
364
;
else
...
...
@@ -9441,6 +9441,9 @@ int main(int argc, char**argv)
LOG_M
(
"y4096.m"
,
"y4096"
,
y
,
4096
,
1
,
1
);
LOG_M
(
"x4096.m"
,
"x4096"
,
x
,
4096
,
1
,
1
);
dft4096
((
int16_t
*
)
y
,(
int16_t
*
)
x2
,
1
);
LOG_M
(
"x4096_2.m"
,
"x4096_2"
,
x2
,
4096
,
1
,
1
);
// NR 160Mhz, 434 PRB, 3/4 sampling
memset
((
void
*
)
x
,
0
,
6144
*
sizeof
(
int32_t
));
for
(
i
=
2
;
i
<
5010
;
i
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment