History

x86/: clear the high bits for order in scalarproduct_and_madd functions

Should fix checkasm failures on win64.

James Almer committed 2 years ago

Commit 2d9fd811 parent 3c154e81 file · +3 −3Browse files

Unified · Split

libavcodec/x86/lossless_audiodsp.asm+3−3
@@ -26,7 +26,7 @@ SECTION .text · 25 unmodified lines
2626 ; int order, int mul)
2727 INIT_XMM sse2
2828 cglobal scalarproduct_and_madd_int16, 4,4,8, v1, v2, v3, order, mul
29− shl orderq, 1
29+ shl orderd, 1
3030 movd m7, mulm
3131 pshuflw m7, m7, 0
3232 punpcklqdq m7, m7
@@ -62,7 +62,7 @@ INIT_XMM sse4 · 29 unmodified lines
6262 ; int ff_scalarproduct_and_madd_int32(int16_t *v1, int32_t *v2, int16_t *v3,
6363 ; int order, int mul)
6464 cglobal scalarproduct_and_madd_int32, 4,4,8, v1, v2, v3, order, mul
65− shl orderq, 1
65+ shl orderd, 1
6666 movd m7, mulm
6767 SPLATW m7, m7
6868 pxor m6, m6
@@ -140,7 +140,7 @@ align 16 · 71 unmodified lines
140140 ; int order, int mul)
141141 INIT_XMM ssse3
142142 cglobal scalarproduct_and_madd_int16, 4,5,10, v1, v2, v3, order, mul
143− shl orderq, 1
143+ shl orderd, 1
144144 movd m7, mulm
145145 pshuflw m7, m7, 0
146146 punpcklqdq m7, m7

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t