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
3d0a6e40
Commit
3d0a6e40
authored
Dec 22, 2015
by
Cedric Roux
Browse files
fix a bug in dot_product. The return was done before _mm_empty()
parent
1a931cfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair1/PHY/TOOLS/cdot_prod.c
View file @
3d0a6e40
...
...
@@ -115,11 +115,11 @@ int32_t dot_product(int16_t *x,
// convert back to integer
result
=
_mm_cvtsi64_si32
(
mmtmp7
);
return
(
result
);
_mm_empty
();
_m_empty
();
return
(
result
);
#elif defined(__arm__)
int16x4_t
*
x_128
=
(
int16x4_t
*
)
x
;
int16x4_t
*
y_128
=
(
int16x4_t
*
)
y
;
...
...
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