highbd_inv_txfm_sse4: make << of neg. val a multiply
left shifting a negative value is undefined; quiets a ubsan warning. this is applied to a constant, no change in the generated code. Change-Id: I595f0ff7904ef025e07bb80234293d958dc9f254
This commit is contained in:
parent
facb124941
commit
78155b7ed5
@ -18,7 +18,7 @@
|
||||
|
||||
static INLINE __m128i multiplication_round_shift_sse4_1(
|
||||
const __m128i *const in /*in[2]*/, const int c) {
|
||||
const __m128i pair_c = pair_set_epi32(c << 2, 0);
|
||||
const __m128i pair_c = pair_set_epi32(c * 4, 0);
|
||||
__m128i t0, t1;
|
||||
|
||||
t0 = _mm_mul_epi32(in[0], pair_c);
|
||||
|
Loading…
x
Reference in New Issue
Block a user