Enable arm test in c vs SIMD bit-exactness test
authorYunqing Wang <yunqingwang@google.com>
Mon, 7 Aug 2023 21:54:30 +0000 (14:54 -0700)
committerYunqing Wang <yunqingwang@google.com>
Mon, 7 Aug 2023 22:06:58 +0000 (22:06 +0000)
Arm SIMD testing was enabled in c vs SIMD bit-exactness test after
arm SIMD mismatch was resolved.

BUG=webm:1800

Change-Id: Id60127313a0955f4a5c8468281fd5a441668fddb

test/vp9_c_vs_simd_encode.sh [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 76df049..e3d3624
@@ -266,6 +266,11 @@ vp9_enc_test() {
       return 1
     fi
 
+    # Enable armv8 test for real-time only
+    if [ "${preset}" = "good" ] && [ "${target}" = "armv8-linux-gcc" ]; then
+      continue
+    fi
+
     for cpu in $(seq 0 $max_cpu_used); do
       for clip in ${TEST_CLIPS}; do
         for bitrate in ${TEST_BITRATES}; do
@@ -388,16 +393,14 @@ vp9_c_vs_simd_enc_test () {
     fi
   fi
 
-  ##TODO(BUG=webm:1809): Enable testing for ARM after issues with NEON intrinsic
-  # are resolved.
   # Test ARM
-  #  echo "vp9_test_arm: Started."
-  #  vp9_test_arm
-  #  if [ $? -eq 1 ]; then
-  #    echo "vp9 test for arm: Done, test failed."
-  #  else
-  #    echo "vp9 test for arm: Done, all tests passed."
-  #  fi
+  echo "vp9_test_arm: Started."
+  vp9_test_arm
+  if [ $? -eq 1 ]; then
+    echo "vp9 test for arm: Done, test failed."
+  else
+    echo "vp9 test for arm: Done, all tests passed."
+  fi
 }
 
 # Setup a trap function to clean up build, and output files after tests complete.