Bug 1443865 - Use 16-bit eobs count. r=kinetik, a=RyanVM draft FIREFOX_52_7_0esr_BUILD1 FIREFOX_52_7_0esr_RELEASE
authorRalph Giles <giles@mozilla.com>
Wed, 07 Mar 2018 16:02:30 -0500
changeset 776227 ef21d215775647db8005dfdc25531604d8e6f28e
parent 776226 9ec17f4b1f4194ec40c737e6cdc5c6e711bfab50
child 776228 73adfb56ae6a5bf7839b683fa1206ddadef104c2
push id104831
push userbmo:jgilbert@mozilla.com
push dateMon, 02 Apr 2018 19:53:20 +0000
reviewerskinetik, RyanVM
bugs1443865
milestone52.7.0
Bug 1443865 - Use 16-bit eobs count. r=kinetik, a=RyanVM MozReview-Commit-ID: 4lfBbvSTNPO
media/libvpx/vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm
--- a/media/libvpx/vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm
+++ b/media/libvpx/vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm
@@ -364,17 +364,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