Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
8adffcea
Commit
8adffcea
authored
Jun 13, 2016
by
knopp
Browse files
small bugfix in turbo-encoder (both SSE4 and AVX2) which affected short block-lengths
parent
ec905e7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair1/PHY/CODING/3gpplte_sse.c
View file @
8adffcea
...
...
@@ -438,10 +438,10 @@ char interleave_compact_byte(short * base_interleaver,unsigned char * input, uns
uint8_t
*
systematic2_ptr
=
(
uint8_t
*
)
output
;
#endif
#ifndef __AVX2__
int
input_length_words
=
n
>>
1
;
int
input_length_words
=
1
+
((
n
-
1
)
>>
1
)
;
#else
int
input_length_words
=
n
>>
2
;
#endif
int
input_length_words
=
1
+
((
n
-
1
)
>>
2
)
;
#endif
for
(
i
=
0
;
i
<
input_length_words
;
i
++
)
{
#if defined(__x86_64__) || defined(__i386__)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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