summaryrefslogtreecommitdiffstats
path: root/src/broadcom
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2019-01-29 17:25:17 +0000
committerDylan Baker <[email protected]>2019-01-31 10:59:58 -0800
commit45d1aa2f6cf2230a0e9f54ac7a20a56e832859a1 (patch)
tree87757fd900cdcc2dae74f9618472c765e4b26393 /src/broadcom
parent2fddad9e3f7259eb26930a99bfc145c7c0d7c851 (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]> (cherry picked from commit 385843ac3ce1b868d9e24fcb2dbc0c8d5f5a7c99)
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;