Bug 1443865 - Use 16-bit eobs count. r=kinetik
authorRalph Giles <giles@mozilla.com>
Wed, 07 Mar 2018 16:02:30 -0500
changeset 406984 a628b2125a1b860c6d8124387040ec9589c219ab
parent 406983 635d311ec745da07a7e893787fb29ab2aa13dcfe
child 406985 6030763a531d2d2810687b971378c1c3d35e3ffb
push id60777
push userryanvm@gmail.com
push dateWed, 07 Mar 2018 21:05:50 +0000
treeherderautoland@a628b2125a1b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskinetik
bugs1443865
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1443865 - Use 16-bit eobs count. r=kinetik 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