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:
authorBenoit Jacob <benoitjacob@google.com>2022-06-24 05:02:39 +0300
committerCopybara-Service <copybara-worker@google.com>2022-06-24 05:06:42 +0300
commit0274ba35ea0589e6708b7f8824dd4219fa673352 (patch)
treee7b3d45b2ca47ad40fcdafe01fa3f0df0293ef6a
parent368db7123bf3178c92c8502696c6865fb07bfcda (diff)
Fix assembler warning-as-error on some Aarch32 toolchains:test_456909969
third_party/ruy/ruy/kernel_arm32.cc:285:10: error: applying IT instruction to more than one subsequent instruction is deprecated [-Werror,-Winline-asm] "ite eq\n" PiperOrigin-RevId: 456909969
-rw-r--r--ruy/kernel_arm32.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/ruy/kernel_arm32.cc b/ruy/kernel_arm32.cc
index c8e053d..dfa9eb4 100644
--- a/ruy/kernel_arm32.cc
+++ b/ruy/kernel_arm32.cc
@@ -282,8 +282,9 @@ void KernelFloat32Neon(const KernelParamsFloat<8, 4>& params) {
// Let r8 be stack offset of the row or column variable, whichever
// is the channel index.
"tst r4, #" RUY_STR(RUY_ASM_FLAG_CHANNEL_DIMENSION_IS_COL) "\n"
- "ite eq\n"
+ "it eq\n"
"moveq r8, #" RUY_STR(RUY_STACK_OFFSET_ROW) "\n"
+ "it ne\n"
"movne r8, #" RUY_STR(RUY_STACK_OFFSET_COL) "\n"
// Let r8 be the channel index.
"ldr r8, [sp, r8]\n"
@@ -896,8 +897,9 @@ void Kernel8bitNeon(const KernelParams8bit<4, 2>& params) {
// Let r8 be stack offset of the row or column variable, whichever
// is the channel index.
"tst r4, #" RUY_STR(RUY_ASM_FLAG_CHANNEL_DIMENSION_IS_COL) "\n"
- "ite eq\n"
+ "it eq\n"
"moveq r8, #" RUY_STR(RUY_STACK_OFFSET_ROW) "\n"
+ "it ne\n"
"movne r8, #" RUY_STR(RUY_STACK_OFFSET_COL) "\n"
// Let r8 be the channel index.
"ldr r8, [sp, r8]\n"