From: Alyssa Rosenzweig Date: Wed, 1 Apr 2020 22:13:55 +0000 (-0400) Subject: pan/bi: Allow BI_FMA to take mods X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75aabc6ea1616c44833db44255d3f33a0df368ca;p=mesa.git pan/bi: Allow BI_FMA to take mods It doesn't take abs but it can take outmod/neg. Signed-off-by: Alyssa Rosenzweig Part-of: --- 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,