]> git.videolan.org Git - x264.git/commitdiff
ARM: Fix bug in x264_quant_4x4x4_neon
authorStefan Groenroos <stefan.gronroos@gmail.com>
Fri, 1 Mar 2013 20:35:34 +0000 (22:35 +0200)
committerJason Garrett-Glaser <jason@x264.com>
Fri, 1 Mar 2013 21:21:59 +0000 (13:21 -0800)
Regression in r2273.

common/arm/quant-a.S

index a265fc7f5504ee8a5346e679b9801ec81a37a68e..0ccf112af53d4e3c97c8174c3afcb00af27e424a 100644 (file)
@@ -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