Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
079acac1
Commit
079acac1
authored
Jun 21, 2017
by
Steinar Midtskogen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence warnings in VS
BUG=aomedia:615 Change-Id: I827e857d310020705a5292ef8fe817bc042d8dd0
parent
9180b6e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
aom_dsp/simd/v256_intrinsics_v128.h
aom_dsp/simd/v256_intrinsics_v128.h
+12
-10
No files found.
aom_dsp/simd/v256_intrinsics_v128.h
View file @
079acac1
...
@@ -508,17 +508,19 @@ SIMD_INLINE v256 v256_shr_s32(v256 a, unsigned int c) {
...
@@ -508,17 +508,19 @@ SIMD_INLINE v256 v256_shr_s32(v256 a, unsigned int c) {
to enforce that. */
to enforce that. */
#define v256_shl_n_byte(a, n) \
#define v256_shl_n_byte(a, n) \
((n) < 16 ? v256_from_v128(v128_or(v128_shl_n_byte(a.hi, n), \
((n) < 16 ? v256_from_v128(v128_or(v128_shl_n_byte(a.hi, n), \
v128_shr_n_byte(a.lo, 16 - (n))
),
\
v128_shr_n_byte(a.lo,
(
16 - (n))
& 31)),
\
v128_shl_n_byte(a.lo, (n))) \
v128_shl_n_byte(a.lo, (n))) \
: v256_from_v128((n) > 16 ? v128_shl_n_byte(a.lo, (n)-16) : a.lo, \
: v256_from_v128( \
v128_zero()))
(n) > 16 ? v128_shl_n_byte(a.lo, ((n)-16) & 31) : a.lo, \
v128_zero()))
#define v256_shr_n_byte(a, n) \
((n) < 16 ? v256_from_v128(v128_shr_n_byte(a.hi, n), \
#define v256_shr_n_byte(a, n) \
v128_or(v128_shr_n_byte(a.lo, n), \
((n) < 16 ? v256_from_v128(v128_shr_n_byte(a.hi, n), \
v128_shl_n_byte(a.hi, 16 - (n)))) \
v128_or(v128_shr_n_byte(a.lo, n), \
: v256_from_v128(v128_zero(), \
v128_shl_n_byte(a.hi, (16 - (n)) & 31))) \
(n) > 16 ? v128_shr_n_byte(a.hi, (n)-16) : a.hi))
: v256_from_v128( \
v128_zero(), \
(n) > 16 ? v128_shr_n_byte(a.hi, ((n)-16) & 31) : a.hi))
#define v256_align(a, b, c) \
#define v256_align(a, b, c) \
((c) ? v256_or(v256_shr_n_byte(b, c), v256_shl_n_byte(a, 32 - (c))) : b)
((c) ? v256_or(v256_shr_n_byte(b, c), v256_shl_n_byte(a, 32 - (c))) : 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