Index: source/rotate_neon.cc |
diff --git a/source/rotate_neon.cc b/source/rotate_neon.cc |
index 9e4ecd80d9f8f7b471576346b62041b9d9d848d5..1c22b472bc1123a432ce597e453b4740b4d2de12 100644 |
--- a/source/rotate_neon.cc |
+++ b/source/rotate_neon.cc |
@@ -27,7 +27,7 @@ static uvec8 kVTbl4x4Transpose = |
void TransposeWx8_NEON(const uint8* src, int src_stride, |
uint8* dst, int dst_stride, |
int width) { |
- const uint8* src_temp = NULL; |
+ const uint8* src_temp; |
asm volatile ( |
// loops are on blocks of 8. loop will stop when |
// counter gets to or below 0. starting the counter |
@@ -229,7 +229,7 @@ void TransposeWx8_NEON(const uint8* src, int src_stride, |
"4: \n" |
- : "+r"(src_temp), // %0 |
+ : "=&r"(src_temp), // %0 |
"+r"(src), // %1 |
"+r"(src_stride), // %2 |
"+r"(dst), // %3 |
@@ -247,7 +247,7 @@ void TransposeUVWx8_NEON(const uint8* src, int src_stride, |
uint8* dst_a, int dst_stride_a, |
uint8* dst_b, int dst_stride_b, |
int width) { |
- const uint8* src_temp = NULL; |
+ const uint8* src_temp; |
asm volatile ( |
// loops are on blocks of 8. loop will stop when |
// counter gets to or below 0. starting the counter |
@@ -512,7 +512,7 @@ void TransposeUVWx8_NEON(const uint8* src, int src_stride, |
"4: \n" |
- : "+r"(src_temp), // %0 |
+ : "=&r"(src_temp), // %0 |
"+r"(src), // %1 |
"+r"(src_stride), // %2 |
"+r"(dst_a), // %3 |