mesa/src/panfrost
Icecream95 38e8d7afe3 pan/mdg: Fix reading a spilt register in the bundle it's written
Read directly from the instruction getting spilt. Otherwise a fill
will be inserted before the spill writing the value, so the
instruction reading the spilt value gets garbage data.

Use the bundle_id to check if the instructions are in the same bundle.

Insert a move instruction, as the spill needs the value in a LD/ST
register such as AL0, while the ALU instruction reading the value
needs it in a work register such as R0.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4857
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11212>
2021-06-17 19:53:14 +00:00
..
bifrost pan/bi: Fuse abs into FCMP/FMIN/FMAX.v2f16 2021-06-15 20:27:22 +00:00
include panfrost: Rename G52 product ID 0x7402 as G52r1 2021-05-21 19:05:07 +00:00
lib pan/decode: Handle cache flush jobs 2021-06-10 18:06:11 +00:00
midgard pan/mdg: Fix reading a spilt register in the bundle it's written 2021-06-17 19:53:14 +00:00
perf panfrost: Performance configuration 2021-05-27 13:24:54 +00:00
shared util: Add helgrind support for simple_mtx 2020-11-24 21:03:34 +00:00
util nir: Rename WORK_GROUP (and similar) to WORKGROUP 2021-06-07 22:34:42 +00:00
Android.bifrost.mk android: pan/bi: Remove old IR packs 2021-01-04 17:32:31 +00:00
Android.lib.mk android: panfrost: use python3 for generated sources rules 2020-10-05 21:23:56 +00:00
Android.midgard.mk android: panfrost: use python3 for generated sources rules 2020-10-05 21:23:56 +00:00
Android.mk android: panfrost: Move pandecode into lib/ 2020-08-10 21:35:31 +02:00
Android.shared.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.util.mk panfrost: Align Android makefiles with recent changes 2020-03-23 14:03:22 +00:00
Makefile.sources pan/bi: Add divergent intrinsic lowering pass 2021-05-07 18:20:30 +00:00
meson.build panfrost: Performance configuration 2021-05-27 13:24:54 +00:00