Bug 1443865 - Use 16-bit eobs count. r=kinetik, a=RyanVM FIREFOX_52_7_0esr_BUILD1 FIREFOX_52_7_0esr_RELEASE
authorRalph Giles <giles@mozilla.com>
Wed, 07 Mar 2018 16:02:30 -0500
changeset 356925 ef21d215775647db8005dfdc25531604d8e6f28e
parent 356924 9ec17f4b1f4194ec40c737e6cdc5c6e711bfab50
child 356926 73adfb56ae6a5bf7839b683fa1206ddadef104c2
push id7577
push userryanvm@gmail.com
push dateWed, 07 Mar 2018 21:15:17 +0000
treeherdermozilla-esr52@ef21d2157756 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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