summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-08 16:28:30 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2019-01-30 17:33:23 +0000
commit813f0a82960ed637e862ee596cef23c6574a7888 (patch)
tree8b8989fa9d6b06e9b785d95dd6d0f3801743317f /meson.build
parentb280cdb59e38af5d10e148fb5f2ff5e29503bf10 (diff)
vc4: Declare the cpu pointers as being modified in NEON asm.
Otherwise, the compiler is free to reuse the register containing the input for another call and assume that the value hasn't been modified. Fixes crashes on texture upload/download with current gcc. We now have to have a temporary for the cpu2 value, since outputs must be lvalues. (commit message by anholt) Fixes: 4d30024238ef ("vc4: Use NEON to speed up utile loads on Pi2.") (cherry picked from commit 300d3ae8b1445b5060f92c77c0f577f4b7b2c7d6) [Emil: apply the patch to vc4_tiling_lt.c instead of v3d_cpu_tiling.h] Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Conflicts: src/broadcom/common/v3d_cpu_tiling.h Squashed with commit: 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) <raster@rasterman.com> Cc: Eric Anholt <eric@anholt.net> Fixes: 300d3ae8b14 ("vc4: Declare the cpu pointers as being modified in NEON asm.") Signed-off-by: Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit 385843ac3ce1b868d9e24fcb2dbc0c8d5f5a7c99) Conflicts: src/broadcom/common/v3d_cpu_tiling.h
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions