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
10208875
Commit
10208875
authored
Jan 08, 2021
by
Evan Nemerson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
neon/abd: add missing scalar functions
parent
715bfad2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
arm/neon/abd.h
arm/neon/abd.h
+30
-0
No files found.
arm/neon/abd.h
View file @
10208875
...
...
@@ -37,6 +37,36 @@ HEDLEY_DIAGNOSTIC_PUSH
SIMDE_DISABLE_UNWANTED_DIAGNOSTICS
SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float32_t
simde_vabds_f32
(
simde_float32_t
a
,
simde_float32_t
b
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
return
vabds_f32
(
a
,
b
);
#else
simde_float32_t
r
=
a
-
b
;
return
r
<
0
?
-
r
:
r
;
#endif
}
#if defined(SIMDE_ARM_NEON_A64V8_ENABLE_NATIVE_ALIASES)
#undef vabds_f32
#define vabds_f32(a, b) simde_vabds_f32((a), (b))
#endif
SIMDE_FUNCTION_ATTRIBUTES
simde_float64_t
simde_vabdd_f64
(
simde_float64_t
a
,
simde_float64_t
b
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
return
vabdd_f64
(
a
,
b
);
#else
simde_float64_t
r
=
a
-
b
;
return
r
<
0
?
-
r
:
r
;
#endif
}
#if defined(SIMDE_ARM_NEON_A64V8_ENABLE_NATIVE_ALIASES)
#undef vabdd_f64
#define vabdd_f64(a, b) simde_vabdd_f64((a), (b))
#endif
SIMDE_FUNCTION_ATTRIBUTES
simde_float32x2_t
simde_vabd_f32
(
simde_float32x2_t
a
,
simde_float32x2_t
b
)
{
...
...
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