diff options
author | Benoit Jacob <benoitjacob@google.com> | 2022-06-24 05:02:39 +0300 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-06-24 05:06:42 +0300 |
commit | 0274ba35ea0589e6708b7f8824dd4219fa673352 (patch) | |
tree | e7b3d45b2ca47ad40fcdafe01fa3f0df0293ef6a | |
parent | 368db7123bf3178c92c8502696c6865fb07bfcda (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.cc | 6 |
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" |