diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-01-02 10:46:18 +0100 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-01-02 10:46:18 +0100 |
commit | 00e91d06767a5a28524cbfc271141970f744db23 (patch) | |
tree | dac5f83112cc44a713720a3b937c170f943d0b87 | |
parent | af2e6f32156ecd18664551215680c662e61aa57a (diff) | |
parent | 5dfe4edad63971d669ae456b0bc40ef9364cca80 (diff) | |
download | ffmpeg-00e91d06767a5a28524cbfc271141970f744db23.tar.gz |
Merge commit '5dfe4edad63971d669ae456b0bc40ef9364cca80'
* commit '5dfe4edad63971d669ae456b0bc40ef9364cca80':
x86_64: int32_to_float_fmul_scalar sign extend integer length
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-rw-r--r-- | libavcodec/x86/fmtconvert.asm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/x86/fmtconvert.asm b/libavcodec/x86/fmtconvert.asm index 20d8315fd9..e9ffce9013 100644 --- a/libavcodec/x86/fmtconvert.asm +++ b/libavcodec/x86/fmtconvert.asm @@ -38,6 +38,9 @@ cglobal int32_to_float_fmul_scalar, 4, 4, %1, dst, src, mul, len %elif ARCH_X86_32 movss m0, mulm %endif +%if ARCH_X86_64 + movsxd lenq, lend +%endif SPLATD m0 shl lenq, 2 add srcq, lenq |