summaryrefslogtreecommitdiffstats
path: root/src/broadcom
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2019-01-29 17:25:17 +0000
committerEric Anholt <[email protected]>2019-01-29 16:00:25 -0800
commit385843ac3ce1b868d9e24fcb2dbc0c8d5f5a7c99 (patch)
tree377011f85beddc64343a73ba6fb110fec3a0e50f /src/broadcom
parent75ad254acfbd5d1908aa8b04fb5d26ad4a8bfc42 (diff)
vc4: Declare the last cpu pointer as being modified in NEON asm.
Earlier commit addressed 7 of the 8 instances available. v2: Rebase patch back to master (by anholt) Cc: Carsten Haitzler (Rasterman) <[email protected]> Cc: Eric Anholt <[email protected]> Fixes: 300d3ae8b14 ("vc4: Declare the cpu pointers as being modified in NEON asm.") Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/broadcom')
-rw-r--r--src/broadcom/common/v3d_cpu_tiling.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/broadcom/common/v3d_cpu_tiling.h b/src/broadcom/common/v3d_cpu_tiling.h
index e10b4586609..cb1ee7c96f4 100644
--- a/src/broadcom/common/v3d_cpu_tiling.h
+++ b/src/broadcom/common/v3d_cpu_tiling.h
@@ -159,9 +159,8 @@ v3d_store_utile(void *gpu, uint32_t gpu_stride,
* d0-d7.
*/
"vstm %[gpu], {q0, q1, q2, q3}\n"
- :
+ : [cpu] "+r"(cpu)
: [gpu] "r"(gpu),
- [cpu] "r"(cpu),
[cpu_stride] "r"(cpu_stride)
: "q0", "q1", "q2", "q3");
return;