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
a2eeb9ef
Commit
a2eeb9ef
authored
May 20, 2023
by
Michael R. Crusoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sse4.1: use logical OR instead of bitwise OR in neon impl of _mm_testnzc_si128
Caught by clang-14+
parent
e676d998
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
x86/sse4.1.h
x86/sse4.1.h
+2
-2
No files found.
x86/sse4.1.h
View file @
a2eeb9ef
...
@@ -2299,8 +2299,8 @@ simde_mm_testnzc_si128 (simde__m128i a, simde__m128i b) {
...
@@ -2299,8 +2299,8 @@ simde_mm_testnzc_si128 (simde__m128i a, simde__m128i b) {
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
int64x2_t
s640
=
vandq_s64
(
b_
.
neon_i64
,
a_
.
neon_i64
);
int64x2_t
s640
=
vandq_s64
(
b_
.
neon_i64
,
a_
.
neon_i64
);
int64x2_t
s641
=
vbicq_s64
(
b_
.
neon_i64
,
a_
.
neon_i64
);
int64x2_t
s641
=
vbicq_s64
(
b_
.
neon_i64
,
a_
.
neon_i64
);
return
!
(
!
(
vgetq_lane_s64
(
s641
,
0
)
|
vgetq_lane_s64
(
s641
,
1
))
\
return
!
(
!
(
vgetq_lane_s64
(
s641
,
0
)
|
|
vgetq_lane_s64
(
s641
,
1
))
\
|
!
(
vgetq_lane_s64
(
s640
,
0
)
|
vgetq_lane_s64
(
s640
,
1
))
);
||
!
(
vgetq_lane_s64
(
s640
,
0
)
|
|
vgetq_lane_s64
(
s640
,
1
))
);
#elif defined(SIMDE_WASM_SIMD128_NATIVE)
#elif defined(SIMDE_WASM_SIMD128_NATIVE)
v128_t
m1
=
wasm_v128_and
(
a_
.
wasm_v128
,
b_
.
wasm_v128
);
v128_t
m1
=
wasm_v128_and
(
a_
.
wasm_v128
,
b_
.
wasm_v128
);
v128_t
m2
=
wasm_v128_andnot
(
b_
.
wasm_v128
,
a_
.
wasm_v128
);
v128_t
m2
=
wasm_v128_andnot
(
b_
.
wasm_v128
,
a_
.
wasm_v128
);
...
...
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