diff options
author | Eric Anholt <[email protected]> | 2019-02-11 11:51:35 -0800 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2019-02-16 13:46:37 +0000 |
commit | 55f3a4fac350e639dbaa7cf6494a2c1f8f0ed9c2 (patch) | |
tree | 5ad5c4f647da41b22fdd23b22c884c514f2d59ee | |
parent | d000488c2eff466eddc0345ad97b49351f0b7a6a (diff) |
vc4: Fix copy-and-paste fail in backport of NEON asm fixes.
One of the cpu pointers wasn't marked as read-write, causing gcc to complain:
../src/gallium/drivers/vc4/vc4_tiling_lt.c:181:17: error: output operand constraint lacks ‘=’
__asm__ volatile (
Cc: Emil Velikov <[email protected]>
Fixes: 813f0a82960 ("vc4: Declare the cpu pointers as being modified in NEON asm.")
-rw-r--r-- | src/gallium/drivers/vc4/vc4_tiling_lt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_tiling_lt.c b/src/gallium/drivers/vc4/vc4_tiling_lt.c index 324a6334668..167161fdff5 100644 --- a/src/gallium/drivers/vc4/vc4_tiling_lt.c +++ b/src/gallium/drivers/vc4/vc4_tiling_lt.c @@ -194,7 +194,7 @@ vc4_store_utile(void *gpu, void *cpu, uint32_t cpu_stride, uint32_t cpp) * d0-d7. */ "vstm %[gpu], {q0, q1, q2, q3}\n" - : [cpu] "r"(cpu) + : [cpu] "+r"(cpu) : [gpu] "r"(gpu), [cpu_stride] "r"(cpu_stride) : "q0", "q1", "q2", "q3"); |