Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
simde
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
Libraries
simde
Commits
9c18b679
Commit
9c18b679
authored
Dec 19, 2020
by
Hidayat Khan
Committed by
Michael R. Crusoe
Dec 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sse2: added NEON impl for mm_cvtsd_f64
parent
9f4dbf6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
x86/sse2.h
x86/sse2.h
+6
-2
No files found.
x86/sse2.h
View file @
9c18b679
...
...
@@ -2352,7 +2352,11 @@ simde_mm_cvtsd_f64 (simde__m128d a) {
return
_mm_cvtsd_f64
(
a
);
#else
simde__m128d_private
a_
=
simde__m128d_to_private
(
a
);
return
a_
.
f64
[
0
];
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
return
HEDLEY_STATIC_CAST
(
simde_float64
,
vgetq_lane_f64
(
a_
.
neon_f64
,
0
));
#else
return
a_
.
f64
[
0
];
#endif
#endif
}
#if defined(SIMDE_X86_SSE2_ENABLE_NATIVE_ALIASES)
...
...
@@ -4135,7 +4139,7 @@ simde_mm_mul_su32 (simde__m64 a, simde__m64 b) {
b_
=
simde__m64_to_private
(
b
);
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
r_
.
u64
[
0
]
=
v
reinterpret_s64_u64
(
vget_low_u64
(
vmull_u32
(
vreinterpret_u32_s64
(
a
),
vreinterpret_u32_s64
(
b
)))
);
r_
.
u64
[
0
]
=
v
get_lane_u64
(
vget_low_u64
(
vmull_u32
(
vreinterpret_u32_s64
(
a_
.
neon_i64
),
vreinterpret_u32_s64
(
b_
.
neon_i64
))),
0
);
#else
r_
.
u64
[
0
]
=
HEDLEY_STATIC_CAST
(
uint64_t
,
a_
.
u32
[
0
])
*
HEDLEY_STATIC_CAST
(
uint64_t
,
b_
.
u32
[
0
]);
#endif
...
...
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