summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-04-01 18:13:55 -0400
committerMarge Bot <[email protected]>2020-04-05 23:26:04 +0000
commit75aabc6ea1616c44833db44255d3f33a0df368ca (patch)
tree959708a42e6659bfa4ccaf2ce96b1f9f39ec58c0 /src
parent69dde49f809dd00d76ee491e1e6a6d5b7e9b2ff2 (diff)
pan/bi: Allow BI_FMA to take mods
It doesn't take abs but it can take outmod/neg. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4458>
Diffstat (limited to 'src')
-rw-r--r--src/panfrost/bifrost/bi_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/bifrost/bi_tables.c b/src/panfrost/bifrost/bi_tables.c
index 04beb55c71a..d79fae26a06 100644
--- a/src/panfrost/bifrost/bi_tables.c
+++ b/src/panfrost/bifrost/bi_tables.c
@@ -37,7 +37,7 @@ unsigned bi_class_props[BI_NUM_CLASSES] = {
[BI_CONVERT] = BI_SCHED_ALL | BI_SWIZZLABLE,
[BI_CSEL] = BI_SCHED_FMA,
[BI_DISCARD] = BI_SCHED_HI_LATENCY | BI_SCHED_ADD,
- [BI_FMA] = BI_ROUNDMODE | BI_SCHED_FMA,
+ [BI_FMA] = BI_ROUNDMODE | BI_SCHED_FMA | BI_MODS,
[BI_FREXP] = BI_SCHED_ALL,
[BI_ISUB] = BI_GENERIC | BI_SCHED_ALL,
[BI_LOAD] = BI_SCHED_HI_LATENCY | BI_SCHED_ADD | BI_VECTOR | BI_DATA_REG_DEST,