aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Green <greenjustin@google.com>2023-05-26 11:49:57 -0400
committerlibyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-05-26 17:12:02 +0000
commit0e111d2c58973de9a69bd5c9b742d867b566266d (patch)
treeead495eb4096d60743194bfa821c1eaecc066340
parent22c7a514527fd8d32958e4881b8473c1bd8e8e97 (diff)
downloadlibyuv-0e111d2c58973de9a69bd5c9b742d867b566266d.tar.gz
Wrap neon registers in {} for the neon MT2T unpack implementation. Some compilers throw a syntax error otherwise.
Change-Id: Ic169dcfe4d9bb9bf6d0dcae977d6cf510a7a60bf Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/4568904 Commit-Queue: Justin Green <greenjustin@google.com> Reviewed-by: Frank Barchard <fbarchard@chromium.org>
-rw-r--r--source/row_neon.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/row_neon.cc b/source/row_neon.cc
index bd921dd4..e587a4f9 100644
--- a/source/row_neon.cc
+++ b/source/row_neon.cc
@@ -725,12 +725,12 @@ void DetileToYUY2_NEON(const uint8_t* src_y,
void UnpackMT2T_NEON(const uint8_t* src, uint16_t* dst, size_t size) {
asm volatile(
"1: \n"
- "vld1.8 q14, [%0]! \n" // Load lower bits.
- "vld1.8 q9, [%0]! \n" // Load upper bits row
+ "vld1.8 {q14}, [%0]! \n" // Load lower bits.
+ "vld1.8 {q9}, [%0]! \n" // Load upper bits row
// by row.
- "vld1.8 q11, [%0]! \n"
- "vld1.8 q13, [%0]! \n"
- "vld1.8 q15, [%0]! \n"
+ "vld1.8 {q11}, [%0]! \n"
+ "vld1.8 {q13}, [%0]! \n"
+ "vld1.8 {q15}, [%0]! \n"
"vshl.u8 q8, q14, #6 \n" // Shift lower bit data
// appropriately.
"vshl.u8 q10, q14, #4 \n"