mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
pan/bi: Clarify special op scheduling
They're encoded on ADD but eat the full cycle. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4061>
This commit is contained in:
parent
fba1d12742
commit
c70a198f24
2 changed files with 5 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ unsigned bi_class_props[BI_NUM_CLASSES] = {
|
|||
[BI_SHIFT] = BI_SCHED_ALL,
|
||||
[BI_STORE] = BI_SCHED_ADD,
|
||||
[BI_STORE_VAR] = BI_SCHED_ADD,
|
||||
[BI_SPECIAL] = BI_SCHED_ALL,
|
||||
[BI_SPECIAL] = BI_SCHED_ADD | BI_SCHED_SLOW,
|
||||
[BI_TEX] = BI_SCHED_ADD,
|
||||
[BI_ROUND] = BI_GENERIC | BI_ROUNDMODE | BI_SCHED_ALL,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -95,6 +95,10 @@ extern unsigned bi_class_props[BI_NUM_CLASSES];
|
|||
/* Most ALU ops can do either, actually */
|
||||
#define BI_SCHED_ALL (BI_SCHED_FMA | BI_SCHED_ADD)
|
||||
|
||||
/* Along with setting BI_SCHED_ADD, eats up the entire cycle, so FMA must be
|
||||
* nopped out. Used for _FAST operations. */
|
||||
#define BI_SCHED_SLOW (1 << 5)
|
||||
|
||||
/* It can't get any worse than csel4... can it? */
|
||||
#define BIR_SRC_COUNT 4
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue