Browse Source

lavr: x86: improve non-SSE4 version of S16_TO_S32_SX macro

Removes a false dependency on existing contents of the 2nd dst register,
giving better performance for OOE.
tags/n1.0
Justin Ruggles 13 years ago
parent
commit
e9da9a3111
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavresample/x86/util.asm

+ 2
- 1
libavresample/x86/util.asm View File

@@ -26,7 +26,8 @@
pmovsxwd m%1, m%1
SWAP %1, %2
%else
punpckhwd m%2, m%1
mova m%2, m%1
punpckhwd m%2, m%2
punpcklwd m%1, m%1
psrad m%2, 16
psrad m%1, 16


Loading…
Cancel
Save