broadcom/qpu: implement switch rules for fmin/fmax fadd/faddnf for v71
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 27 Sep 2021 23:17:08 +0000 (01:17 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 13 Oct 2023 22:37:41 +0000 (22:37 +0000)
commit310dec3ec94922f10801cbbf039d9047358cc0c5
tree0bdd112a6b179daa4acc2ee93b30238c2cdf4dec
parent4ef31ba460f563b22d29abf203e31b83d8a6cf2a
broadcom/qpu: implement switch rules for fmin/fmax fadd/faddnf for v71

They use the same opcodes, and switch between one and the other based
on raddr.

Note that the rule includes also if small_imm_a/b are used. That is
still not in place so that part is hardcoded. Would be updated later
when small immediates support for v71 gets implemented.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
src/broadcom/qpu/qpu_pack.c