History

libavfilter/x86/vf_gblur: fixed the fate-test failed on MacOS

Wu Jianhua committed 5 years ago

Commit fcf10c91 parent 4fc0b751 file · +4 −2Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/x86/vf_gblur.asm+4−2
@@ -455,12 +455,13 @@ cglobal horiz_slice, 4, 9, 9, ptr, width, height, steps, nu, bscale, x, y, step, · 454 unmodified lines
455455 mov nuq, localbufm
456456 DEFINE_ARGS buffer, width, height, steps, \
457457 localbuf, x, y, step, stride, remain, ptr, mask
458− MOVSXDIFNIDN width, height, steps
459458 %else
460459 VBROADCASTSS m0, xmm0 ; nu
461460 VBROADCASTSS m1, xmm1 ; bscale
462461 %endif
463462
463+ MOVSXDIFNIDN width, height, steps
464+
464465 %if cpuflag(avx512)
465466 vpbroadcastd m2, widthd
466467 INIT_WORD_MASK k6, k5, k4, k3, k2, k1
@@ -861,11 +862,12 @@ cglobal verti_slice, 6, 12, 9, 0-mmsize*2, buffer, width, height, cbegin, cend, · 394 unmodified lines
861862 VBROADCASTSS m1, bscalem
862863 DEFINE_ARGS buffer, width, height, cbegin, cend, \
863864 steps, x, y, cwidth, step, ptr, stride
864− MOVSXDIFNIDN width, height, cbegin, cend, steps
865865 %else
866866 VBROADCASTSS m0, xmm0 ; nu
867867 VBROADCASTSS m1, xmm1 ; bscale
868868 %endif
869+ MOVSXDIFNIDN width, height, cbegin, cend, steps
870+
869871 mov cwidthq, cendq
870872 sub cwidthq, cbeginq
871873 lea strideq, [widthq * 4]

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