History

x86/h264_weight: don't do arithmetic right shift of a 32bit values in 64bit registers

James Almer committed 2 years ago

Commit 01f2d951 parent 00b64fc1 file · +2 −2Browse files

Unified · Split

libavcodec/x86/h264_weight.asm+2−2
@@ -206,7 +206,7 @@ BIWEIGHT_FUNC_MM 16, 8 · 205 unmodified lines
206206 cglobal h264_biweight_%1, 7, 8, %2
207207 BIWEIGHT_SETUP
208208 movifnidn r3d, r3m
209− sar r3, 1
209+ sar r3d, 1
210210 lea r4, [r2*2]
211211 .nextrow:
212212 BIWEIGHT_STEPA 0, 1, 0
@@ -264,7 +264,7 @@ INIT_XMM ssse3 · 51 unmodified lines
264264 cglobal h264_biweight_8, 7, 8, 8
265265 BIWEIGHT_SETUP
266266 movifnidn r3d, r3m
267− sar r3, 1
267+ sar r3d, 1
268268 lea r4, [r2*2]
269269
270270 .nextrow:

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