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
7e2ccdbd
Commit
7e2ccdbd
authored
Jan 10, 2021
by
Evan Nemerson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
neon/ceq: implement vceq{s_f32,d_f64}
parent
574a5d82
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
0 deletions
+56
-0
arm/neon/ceq.h
arm/neon/ceq.h
+56
-0
No files found.
arm/neon/ceq.h
View file @
7e2ccdbd
...
@@ -33,6 +33,62 @@ HEDLEY_DIAGNOSTIC_PUSH
...
@@ -33,6 +33,62 @@ HEDLEY_DIAGNOSTIC_PUSH
SIMDE_DISABLE_UNWANTED_DIAGNOSTICS
SIMDE_DISABLE_UNWANTED_DIAGNOSTICS
SIMDE_BEGIN_DECLS_
SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
uint32_t
simde_vceqs_f32
(
simde_float32_t
a
,
simde_float32_t
b
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
return
vceqs_f32
(
a
,
b
);
#else
return
(
a
==
b
)
?
~
UINT32_C
(
0
)
:
UINT32_C
(
0
);
#endif
}
#if defined(SIMDE_ARM_NEON_A64V8_ENABLE_NATIVE_ALIASES)
#undef vceqs_f32
#define vceqs_f32(a, b) simde_vceqs_f32((a), (b))
#endif
SIMDE_FUNCTION_ATTRIBUTES
uint64_t
simde_vceqd_f64
(
simde_float64_t
a
,
simde_float64_t
b
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
return
vceqd_f64
(
a
,
b
);
#else
return
(
a
==
b
)
?
~
UINT64_C
(
0
)
:
UINT64_C
(
0
);
#endif
}
#if defined(SIMDE_ARM_NEON_A64V8_ENABLE_NATIVE_ALIASES)
#undef vceqd_f64
#define vceqd_f64(a, b) simde_vceqd_f64((a), (b))
#endif
SIMDE_FUNCTION_ATTRIBUTES
uint64_t
simde_vceqd_s64
(
int64_t
a
,
int64_t
b
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
return
HEDLEY_STATIC_CAST
(
uint64_t
,
vceqd_s64
(
a
,
b
));
#else
return
(
a
==
b
)
?
~
UINT64_C
(
0
)
:
UINT64_C
(
0
);
#endif
}
#if defined(SIMDE_ARM_NEON_A64V8_ENABLE_NATIVE_ALIASES)
#undef vceqd_s64
#define vceqd_s64(a, b) simde_vceqd_s64((a), (b))
#endif
SIMDE_FUNCTION_ATTRIBUTES
uint64_t
simde_vceqd_u64
(
uint64_t
a
,
uint64_t
b
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
return
vceqd_u64
(
a
,
b
);
#else
return
(
a
==
b
)
?
~
UINT64_C
(
0
)
:
UINT64_C
(
0
);
#endif
}
#if defined(SIMDE_ARM_NEON_A64V8_ENABLE_NATIVE_ALIASES)
#undef vceqd_u64
#define vceqd_u64(a, b) simde_vceqd_u64((a), (b))
#endif
SIMDE_FUNCTION_ATTRIBUTES
SIMDE_FUNCTION_ATTRIBUTES
simde_uint32x2_t
simde_uint32x2_t
simde_vceq_f32
(
simde_float32x2_t
a
,
simde_float32x2_t
b
)
{
simde_vceq_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