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
wangjie
OpenXG-RAN
Commits
bd33606b
Commit
bd33606b
authored
Sep 14, 2020
by
frtabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add gcc options to track simd usage
parent
00ecef77
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+2
-2
openair1/PHY/TOOLS/oai_kissdfts.c
openair1/PHY/TOOLS/oai_kissdfts.c
+13
-2
No files found.
cmake_targets/CMakeLists.txt
View file @
bd33606b
...
@@ -1419,10 +1419,10 @@ set(KISSFFT_DIR ${OPENAIR_DIR}/kiss_fft130)
...
@@ -1419,10 +1419,10 @@ set(KISSFFT_DIR ${OPENAIR_DIR}/kiss_fft130)
add_library
(
dfts_fpkiss MODULE
${
OPENAIR1_DIR
}
/PHY/TOOLS/oai_kissdfts.c
${
OPENAIR1_DIR
}
/PHY/TOOLS/oai_dfts_tmp.c
${
KISSFFT_DIR
}
/kiss_fft.c
)
add_library
(
dfts_fpkiss MODULE
${
OPENAIR1_DIR
}
/PHY/TOOLS/oai_kissdfts.c
${
OPENAIR1_DIR
}
/PHY/TOOLS/oai_dfts_tmp.c
${
KISSFFT_DIR
}
/kiss_fft.c
)
target_compile_definitions
(
dfts_fpkiss PUBLIC -DFIXED_POINT=16
)
target_compile_definitions
(
dfts_fpkiss PUBLIC -DFIXED_POINT=16
)
target_compile_options
(
dfts_fpkiss PUBLIC -O3 -mtune=native -ffast-math -fomit-frame-pointer -dA -fverbose-asm
)
target_compile_options
(
dfts_fpkiss PUBLIC -O3 -mtune=native -ffast-math -fomit-frame-pointer -dA -fverbose-asm
-ftree-vectorizer-verbose=6 -fopt-info-vec-missed
)
add_library
(
dfts_flkiss MODULE
${
OPENAIR1_DIR
}
/PHY/TOOLS/oai_kissdfts.c
${
OPENAIR1_DIR
}
/PHY/TOOLS/oai_dfts_tmp.c
${
KISSFFT_DIR
}
/kiss_fft.c
)
add_library
(
dfts_flkiss MODULE
${
OPENAIR1_DIR
}
/PHY/TOOLS/oai_kissdfts.c
${
OPENAIR1_DIR
}
/PHY/TOOLS/oai_dfts_tmp.c
${
KISSFFT_DIR
}
/kiss_fft.c
)
target_compile_definitions
(
dfts_fpkiss PUBLIC
)
target_compile_definitions
(
dfts_fpkiss PUBLIC
)
target_compile_options
(
dfts_fpkiss PUBLIC -O3 -mtune=native -ffast-math -fomit-frame-pointer -dA -fverbose-asm
)
target_compile_options
(
dfts_fpkiss PUBLIC -O3 -mtune=native -ffast-math -fomit-frame-pointer -dA -fverbose-asm
-ftree-vectorizer-verbose=6 -fopt-info-vec-missed
)
set
(
PHY_SRC_COMMON
set
(
PHY_SRC_COMMON
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/dci_tools_common.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/dci_tools_common.c
...
...
openair1/PHY/TOOLS/oai_kissdfts.c
View file @
bd33606b
...
@@ -94,8 +94,19 @@ void rescale_up_int16buff(int size,int16_t *input, int factor){
...
@@ -94,8 +94,19 @@ void rescale_up_int16buff(int size,int16_t *input, int factor){
}
}
void
rescale_up_newint16buff
(
int
size
,
int16_t
*
input
,
int16_t
*
output
,
int
factor
){
void
rescale_up_newint16buff
(
int
size
,
int16_t
*
input
,
int16_t
*
output
,
int
factor
){
for
(
int
i
=
0
;
i
<
(
size
*
2
);
i
=
i
+
1
){
switch
(
size
)
{
output
[
i
]
=
(
input
[
i
]
*
factor
);
case
128
:
for
(
int
j
=
0
;
j
<
256
;
j
++
)
{
output
[
j
]
=
input
[
j
]
*
factor
;
}
break
;
default:
for
(
int
i
=
0
;
i
<
size
;
i
=
i
+
1
){
output
[
2
*
i
]
=
(
input
[
2
*
i
]
*
factor
);
output
[
2
*
i
+
1
]
=
(
input
[
2
*
i
+
1
]
*
factor
);
}
break
;
}
}
}
}
...
...
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