History

x86/swr: load constants outside the loop in pack_6ch functions

James Almer committed 11 years ago

Commit 6abf00d1 parent c8f83a41 file · +1 −1Browse files

Unified · Split

libswresample/x86/audio_convert.asm+1−1
@@ -239,6 +239,7 @@ pack_6ch_%2_to_%1_u_int %+ SUFFIX · 238 unmodified lines
239 sub src3q, srcq239 sub src3q, srcq
240 sub src4q, srcq240 sub src4q, srcq
241 sub src5q, srcq241 sub src5q, srcq
242 %7 x,x,x,x,m7,x
242.loop:243.loop:
243 mov%3 m0, [srcq ]244 mov%3 m0, [srcq ]
244 mov%3 m1, [srcq+src1q]245 mov%3 m1, [srcq+src1q]
@@ -246,7 +247,6 @@ pack_6ch_%2_to_%1_u_int %+ SUFFIX · 1 unmodified line
246 mov%3 m3, [srcq+src3q]247 mov%3 m3, [srcq+src3q]
247 mov%3 m4, [srcq+src4q]248 mov%3 m4, [srcq+src4q]
248 mov%3 m5, [srcq+src5q]249 mov%3 m5, [srcq+src5q]
249 %7 x,x,x,x,m7,x
250%if cpuflag(sse)250%if cpuflag(sse)
251 SBUTTERFLYPS 0, 1, 6251 SBUTTERFLYPS 0, 1, 6
252 SBUTTERFLYPS 2, 3, 6252 SBUTTERFLYPS 2, 3, 6

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