Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/ruy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetarutaiga <52752725+metarutaiga@users.noreply.github.com>2021-06-22 19:12:04 +0300
committerCopybara-Service <copybara-worker@google.com>2021-06-22 19:12:27 +0300
commit9c56af3fce210a8a103eda19bd6f47c08a9e3d90 (patch)
tree3b15ef9e1a3f8b901fc20597be485ef5980f0837
parente6c1b8dc8a8b00ee74e7268aac8b18d7260ab1ce (diff)
Fix typo in Windows on ARM 32bit
It build failed in ARM 32bit, I think it's just a typo. Closes https://github.com/google/ruy/pull/274 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/ruy/pull/274 from metarutaiga:master f40e88396c1031289dbda5a0c98893557509542e PiperOrigin-RevId: 380820893
-rw-r--r--ruy/denormal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruy/denormal.cc b/ruy/denormal.cc
index b3c0850..35bb739 100644
--- a/ruy/denormal.cc
+++ b/ruy/denormal.cc
@@ -57,7 +57,7 @@ inline void set_fpu_state(const struct fpu_state state) {
(defined(_M_IX86_FP) && _M_IX86_FP >= 1)
_mm_setcsr(static_cast<unsigned int>(state.mxcsr));
#elif defined(_MSC_VER) && defined(_M_ARM)
- _MoveToCoprocessor(static_cast<int>(state.fpscr, 10, 7, 1, 0, 0));
+ _MoveToCoprocessor(static_cast<int>(state.fpscr), 10, 7, 1, 0, 0);
#elif defined(_MSC_VER) && defined(_M_ARM64)
_WriteStatusReg(0x5A20, static_cast<__int64>(state.fpcr));
#elif defined(__GNUC__) && defined(__arm__) && defined(__ARM_FP) && \