pan/bi: Pack BI_FMA ops
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 18 Mar 2020 13:58:59 +0000 (09:58 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 19 Mar 2020 03:23:07 +0000 (03:23 +0000)
commitf2afcc6101047b8cfcd5fac3f144e1f3325e6207
treed8c7f8fa237887dcabfe7df64c31364e3f6126d5
parent8a3bf3f1a1f13a6f14f849c5cdcdd1874566f88d
pan/bi: Pack BI_FMA ops

This is our first instruction we've emitted, requiring us to pipe
through registes/ports and various details from the IR. It's quite a bit
of code, but overall I'm happy with this structure. With some tedium we
should be able to emit the rest of the ALU ops this way, too.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4242>
src/panfrost/bifrost/bi_pack.c