diff options
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | 2019-08-21 13:45:47 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | 2019-08-22 12:51:39 -0700 |
commit | b89cb0dba6a6026c0fe9a36ccebce8e16913520a (patch) | |
tree | bf2166812f1088af59194e553e63aeba1743aadc | |
parent | 19d58a299b911ce36349485b8d4b5859c719f10a (diff) |
pan/midgard: Explain ffma
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
-rw-r--r-- | src/panfrost/midgard/midgard_ops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panfrost/midgard/midgard_ops.c b/src/panfrost/midgard/midgard_ops.c index dbc87386bc08..36e4bc371d15 100644 --- a/src/panfrost/midgard/midgard_ops.c +++ b/src/panfrost/midgard/midgard_ops.c @@ -54,6 +54,9 @@ struct mir_op_props alu_opcode_props[256] = { [midgard_alu_op_ftrunc] = {"ftrunc", UNITS_ADD}, [midgard_alu_op_ffloor] = {"ffloor", UNITS_ADD}, [midgard_alu_op_fceil] = {"fceil", UNITS_ADD}, + + /* Multiplies the X/Y components of the first arg and adds the second + * arg. Like other LUTs, it must be scalarized. */ [midgard_alu_op_ffma] = {"ffma", UNIT_VLUT}, /* Though they output a scalar, they need to run on a vector unit |