mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
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 <emil.l.velikov@gmail.com>
Fixes: 813f0a8296 ("vc4: Declare the cpu pointers as being modified in NEON asm.")
This commit is contained in:
parent
d000488c2e
commit
55f3a4fac3
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue