ref: cbada4a982f5766337ee155ff8bd28dd0b945462
parent: 94bedd013ea6200dbbcf21ecf70928d77bf0ffa7
author: Geza Lore <[email protected]>
date: Thu Oct 8 14:33:32 EDT 2015
Remove 4 mova insts from quantize_ssse3_x86_64.asm Change-Id: If3cb9345b44162e600e6c74873e0cb4c207fc7fb
--- a/vpx_dsp/x86/quantize_ssse3_x86_64.asm
+++ b/vpx_dsp/x86/quantize_ssse3_x86_64.asm
@@ -69,11 +69,9 @@
%if CONFIG_VP9_HIGHBITDEPTH
; coeff stored as 32bit numbers & require 16bit numbers
mova m9, [ coeffq+ncoeffq*4+ 0]
- mova m6, [ coeffq+ncoeffq*4+16]
+ packssdw m9, [ coeffq+ncoeffq*4+16]
mova m10, [ coeffq+ncoeffq*4+32]
- mova m11, [ coeffq+ncoeffq*4+48]
- packssdw m9, m6 ; m9 = c[i]
- packssdw m10, m11 ; m10 = c[i]
+ packssdw m10, [ coeffq+ncoeffq*4+48]
%else
mova m9, [ coeffq+ncoeffq*2+ 0] ; m9 = c[i]
mova m10, [ coeffq+ncoeffq*2+16] ; m10 = c[i]
@@ -171,11 +169,9 @@
%if CONFIG_VP9_HIGHBITDEPTH
; pack coeff from 32bit to 16bit array
mova m9, [ coeffq+ncoeffq*4+ 0]
- mova m6, [ coeffq+ncoeffq*4+16]
+ packssdw m9, [ coeffq+ncoeffq*4+16]
mova m10, [ coeffq+ncoeffq*4+32]
- mova m11, [ coeffq+ncoeffq*4+48]
- packssdw m9, m6 ; m9 = c[i]
- packssdw m10, m11 ; m10 = c[i]
+ packssdw m10, [ coeffq+ncoeffq*4+48]
%else
mova m9, [ coeffq+ncoeffq*2+ 0] ; m9 = c[i]
mova m10, [ coeffq+ncoeffq*2+16] ; m10 = c[i]