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
promise
OpenXG-RAN
Commits
158177dc
Commit
158177dc
authored
Apr 25, 2016
by
ODROID
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added fixes to build on odroid/xu4 platform
parent
d1775abe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
openair1/PHY/CODING/3gpplte_sse.c
openair1/PHY/CODING/3gpplte_sse.c
+1
-1
openair1/PHY/TOOLS/lte_dfts.c
openair1/PHY/TOOLS/lte_dfts.c
+4
-4
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
+4
-0
No files found.
openair1/PHY/CODING/3gpplte_sse.c
View file @
158177dc
...
@@ -598,7 +598,7 @@ void threegpplte_turbo_encoder(unsigned char *input,
...
@@ -598,7 +598,7 @@ void threegpplte_turbo_encoder(unsigned char *input,
#elif defined(__arm__)
#elif defined(__arm__)
*
ptr_output
++
=
vadd_u8
(
all_treillis
[
state0
][
cur_s1
].
systematic_andp1_64
[
code_rate
],
*
ptr_output
++
=
vadd_u8
(
all_treillis
[
state0
][
cur_s1
].
systematic_andp1_64
[
code_rate
],
all_treillis
[
state0
][
cur_s1
].
parity
1
_64
[
code_rate
]);
all_treillis
[
state0
][
cur_s1
].
parity
2
_64
[
code_rate
]);
#endif
#endif
}
}
...
...
openair1/PHY/TOOLS/lte_dfts.c
View file @
158177dc
...
@@ -635,7 +635,7 @@ static inline void bfly2_tw1(int16x8_t *x0, int16x8_t *x1, int16x8_t *y0, int16x
...
@@ -635,7 +635,7 @@ static inline void bfly2_tw1(int16x8_t *x0, int16x8_t *x1, int16x8_t *y0, int16x
}
}
#endif
#endif
#if defined(__x86_64__) || defined(__i386__)
#if defined(__x86_64__) || defined(__i386__)
...
@@ -689,9 +689,9 @@ static inline void bfly2_16_256(__m256i *x0, __m256i *x1, __m256i *y0, __m256i *
...
@@ -689,9 +689,9 @@ static inline void bfly2_16_256(__m256i *x0, __m256i *x1, __m256i *y0, __m256i *
#elif defined(__arm__)
#elif defined(__arm__)
static inline void bfly2_
tw1(int16x8_t *x0, int16x8_t *x1, int16x8_t *y0, int16x8_t *y1
)__attribute__((always_inline));
static inline void bfly2_
16(int16x8_t *x0, int16x8_t *x1, int16x8_t *y0, int16x8_t *y1, int16x8_t *tw, int16x8_t *twb
)__attribute__((always_inline));
static inline void bfly2_
tw1(int16x8_t *x0, int16x8_t *x1, int16x8_t *y0, int16x8_t *y1
)
static inline void bfly2_
16(int16x8_t *x0, int16x8_t *x1, int16x8_t *y0, int16x8_t *y1, int16x8_t *tw, int16x8_t *twb
)
{
{
*y0 = vqaddq_s16(*x0,*x1);
*y0 = vqaddq_s16(*x0,*x1);
...
@@ -2633,6 +2633,7 @@ int16_t tw64crep[192] __attribute__((aligned(32))) = {
...
@@ -2633,6 +2633,7 @@ int16_t tw64crep[192] __attribute__((aligned(32))) = {
#define shiftright_int16_simd256(a,shift) _mm256_srai_epi16(a,shift)
#define shiftright_int16_simd256(a,shift) _mm256_srai_epi16(a,shift)
#define set1_int16_simd256(a) _mm256_set1_epi16(a);
#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_slli_epi16(_mm256_mulhi_epi16(a,b),1);
#endif
#elif defined(__arm__)
#elif defined(__arm__)
#define simd_q15_t int16x8_t
#define simd_q15_t int16x8_t
...
@@ -2643,7 +2644,6 @@ int16_t tw64crep[192] __attribute__((aligned(32))) = {
...
@@ -2643,7 +2644,6 @@ int16_t tw64crep[192] __attribute__((aligned(32))) = {
#define _mm_empty()
#define _mm_empty()
#define _m_empty()
#define _m_empty()
#endif
#endif
#endif
#ifndef __AVX2__
#ifndef __AVX2__
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
View file @
158177dc
...
@@ -55,6 +55,10 @@
...
@@ -55,6 +55,10 @@
# include <immintrin.h>
# include <immintrin.h>
#endif
#endif
#ifdef __arm__
# include <arm_neon.h>
#endif
/** @addtogroup _USRP_PHY_RF_INTERFACE_
/** @addtogroup _USRP_PHY_RF_INTERFACE_
* @{
* @{
*/
*/
...
...
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