[x264-devel] ARM: Fix bug in x264_quant_4x4x4_neon

Stefan Groenroos git at videolan.org
Fri Mar 1 22:22:22 CET 2013


x264 | branch: master | Stefan Groenroos <stefan.gronroos at gmail.com> | Fri Mar  1 22:35:34 2013 +0200| [c832fe995bf3d41cae1d3d22e10cb2288e8a650a] | committer: Jason Garrett-Glaser

ARM: Fix bug in x264_quant_4x4x4_neon

Regression in r2273.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=c832fe995bf3d41cae1d3d22e10cb2288e8a650a
---

 common/arm/quant-a.S |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/arm/quant-a.S b/common/arm/quant-a.S
index a265fc7..0ccf112 100644
--- a/common/arm/quant-a.S
+++ b/common/arm/quant-a.S
@@ -108,6 +108,7 @@ function x264_quant_4x4_neon
 
 // quant_4x4x4( int16_t dct[4][16], uint16_t mf[16], uint16_t bias[16] )
 function x264_quant_4x4x4_neon
+    vpush       {d8-d15}
     vld1.64     {d28-d31}, [r0,:128]
     vabs.s16    q8,  q14
     vabs.s16    q9,  q15
@@ -142,6 +143,7 @@ function x264_quant_4x4x4_neon
     orrne       r0,  #4
     orrs        r3,  ip
     orrne       r0,  #8
+    vpop        {d8-d15}
     bx          lr
 .endfunc
 



More information about the x264-devel mailing list