Bug 1443865 - Use 16-bit eobs count. r=kinetik, a=RyanVM
authorRalph Giles <giles@mozilla.com>
Wed, 07 Mar 2018 16:02:30 -0500
changeset 455126 e9128973a480c8aedf3a2e1c67d3e168613fa17c
parent 455125 a46d7b315f70a022224de390ae4c1590f2d6c023
child 455127 c61f5f5ead48c78a80c80db5c489bdc7cfaf8175
push id1666
push userryanvm@gmail.com
push dateWed, 07 Mar 2018 21:10:18 +0000
treeherdermozilla-release@e9128973a480 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskinetik, RyanVM
bugs1443865
milestone59.0
Bug 1443865 - Use 16-bit eobs count. r=kinetik, a=RyanVM MozReview-Commit-ID: 4lfBbvSTNPO
media/libvpx/libvpx/vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm
--- a/media/libvpx/libvpx/vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm
+++ b/media/libvpx/libvpx/vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm
@@ -166,17 +166,17 @@ cglobal quantize_%1, 0, %2, 15, coeff, n
   mov                             r2, eobmp
   pshufd                          m7, m8, 0xe
   pmaxsw                          m8, m7
   pshuflw                         m7, m8, 0xe
   pmaxsw                          m8, m7
   pshuflw                         m7, m8, 0x1
   pmaxsw                          m8, m7
   pextrw                          r6, m8, 0
-  mov                           [r2], r6
+  mov                           [r2], r6w
   RET
 
   ; skip-block, i.e. just write all zeroes
 .blank:
   mov                             r0, dqcoeffmp
   movifnidn                  ncoeffq, ncoeffmp
   mov                             r2, qcoeffmp
   mov                             r3, eobmp