aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-03-27 20:07:43 -0400
committerMarge Bot <[email protected]>2020-03-31 01:12:26 +0000
commit197c6414ea4dc61fa115b082aed694e7d36b69e5 (patch)
tree550bcd0e0256cd7e1fdf2945bf5ab0c21fe20319
parent57a8e6e8d0e52f7be6b187bb4ac5112341515f91 (diff)
pan/bi: Add bifrost_fma_2src generic
Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
-rw-r--r--src/panfrost/bifrost/bifrost.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/bifrost.h b/src/panfrost/bifrost/bifrost.h
index 1c06968d70a..045295b6965 100644
--- a/src/panfrost/bifrost/bifrost.h
+++ b/src/panfrost/bifrost/bifrost.h
@@ -103,6 +103,12 @@ struct bifrost_fma_inst {
unsigned op : 20;
} __attribute__((packed));
+struct bifrost_fma_2src {
+ unsigned src0 : 3;
+ unsigned src1 : 3;
+ unsigned op : 17;
+} __attribute__((packed));
+
#define BIFROST_ADD_OP_BLEND (0x1952c)
struct bifrost_add_inst {