Detile vld for gcc build fix

- add {} around loaded register

Bug: libyuv:944
Change-Id: I0d916e37beb50bda0838e4867742eb7afa57e1cc
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3957634
Reviewed-by: Justin Green <greenjustin@google.com>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
This commit is contained in:
Frank Barchard 2022-10-14 11:56:23 -07:00 committed by libyuv LUCI CQ
parent 425c05cc40
commit 3da24c3ca3
3 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1846
Version: 1847
License: BSD
License File: LICENSE

View File

@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1846
#define LIBYUV_VERSION 1847
#endif // INCLUDE_LIBYUV_VERSION_H_

View File

@ -609,10 +609,10 @@ void DetileRow_NEON(const uint8_t* src,
int width) {
asm volatile(
"1: \n"
"vld1.16 {q0}, [%0], %3 \n" // load 16 bytes
"vld1.8 {q0}, [%0], %3 \n" // load 16 bytes
"subs %2, %2, #16 \n" // 16 processed per loop
"pld [%0, #1792] \n"
"vst1.16 {q0}, [%1]! \n" // store 16 bytes
"vst1.8 {q0}, [%1]! \n" // store 16 bytes
"bgt 1b \n"
: "+r"(src), // %0
"+r"(dst), // %1
@ -655,9 +655,9 @@ void DetileToYUY2_NEON(const uint8_t* src_y,
int width) {
asm volatile(
"1: \n"
"vld1.8 q0, [%0], %4 \n" // Load 16 Y
"vld1.8 {q0}, [%0], %4 \n" // Load 16 Y
"pld [%0, #1792] \n"
"vld1.8 q1, [%1], %5 \n" // Load 8 UV
"vld1.8 {q1}, [%1], %5 \n" // Load 8 UV
"pld [%1, #1792] \n"
"subs %3, %3, #16 \n"
"vst2.8 {q0, q1}, [%2]! \n"
@ -681,8 +681,8 @@ void DetileToYUY2_NEON(const uint8_t* src_y,
int width) {
asm volatile(
"1: \n"
"vld1.8 q0, [%0], %4 \n" // Load 16 Y
"vld1.8 q1, [%1], %5 \n" // Load 8 UV
"vld1.8 {q0}, [%0], %4 \n" // Load 16 Y
"vld1.8 {q1}, [%1], %5 \n" // Load 8 UV
"subs %3, %3, #16 \n"
"pld [%0, #1792] \n"
"vzip.8 q0, q1 \n"