Add specialization for aarch64 for quantize_fp.
Change-Id: I1f14cdf04230689a9c0b01140acb898afaf2177d
diff --git a/av1/encoder/arm/neon/quantize_neon.c b/av1/encoder/arm/neon/quantize_neon.c
index 4c53544..1220402 100644
--- a/av1/encoder/arm/neon/quantize_neon.c
+++ b/av1/encoder/arm/neon/quantize_neon.c
@@ -96,6 +96,9 @@
store_s16q_to_tran_low(&qcoeff_ptr[i], v_qcoeff);
store_s16q_to_tran_low(&dqcoeff_ptr[i], v_dqcoeff);
}
+#ifdef __aarch64__
+ *eob_ptr = vmaxvq_s16(v_eobmax_76543210);
+#else
{
const int16x4_t v_eobmax_3210 = vmax_s16(vget_low_s16(v_eobmax_76543210),
vget_high_s16(v_eobmax_76543210));
@@ -110,4 +113,5 @@
*eob_ptr = (uint16_t)vget_lane_s16(v_eobmax_final, 0);
}
+#endif // __aarch64__
}