From: Emil Velikov Date: Tue, 29 Jan 2019 17:25:17 +0000 (+0000) Subject: vc4: Declare the last cpu pointer as being modified in NEON asm. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=385843ac3ce1b868d9e24fcb2dbc0c8d5f5a7c99;p=mesa.git 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) Cc: Eric Anholt Fixes: 300d3ae8b14 ("vc4: Declare the cpu pointers as being modified in NEON asm.") Signed-off-by: Emil Velikov --- 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;