For for ARM32 build when built with __SOFTFP__

planar_test.cc was
  Error: selected processor does not support `vmrs r3,fpscr' in ARM mode
  Error: selected processor does not support `vmsr fpscr,r3' in ARM mode

Bug: None
Change-Id: I2ee0e7191c372277901c94e29d9ed91bbac71af2
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/7063737
Reviewed-by: Justin Green <greenjustin@google.com>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
This commit is contained in:
Frank Barchard 2025-10-20 11:17:24 -07:00 committed by libyuv LUCI CQ
parent e49099d8e1
commit 500f45652c
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: https://chromium.googlesource.com/libyuv/libyuv/
Version: 1921
Version: 1922
License: BSD-3-Clause
License File: LICENSE
Shipped: yes

View File

@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1921
#define LIBYUV_VERSION 1922
#endif // INCLUDE_LIBYUV_VERSION_H_

View File

@ -2605,7 +2605,7 @@ TEST_F(LibYUVPlanarTest, TestHalfFloatPlane_16bit_denormal) {
EXPECT_EQ(0, diff);
}
#if defined(__arm__)
#if defined(__arm__) && !defined(__SOFTFP__)
static void EnableFlushDenormalToZero(void) {
uint32_t cw;
asm volatile(
@ -2646,7 +2646,7 @@ TEST_F(LibYUVPlanarTest, TestHalfFloatPlane_10bit_flush_denormal) {
DisableFlushDenormalToZero();
EXPECT_EQ(0, diff);
}
#endif // defined(__arm__)
#endif // defined(__arm__) && !defined(__SOFTFP__)
static float TestByteToFloat(int benchmark_width,
int benchmark_height,