diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-03-27 20:07:43 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-31 01:12:26 +0000 |
commit | 197c6414ea4dc61fa115b082aed694e7d36b69e5 (patch) | |
tree | 550bcd0e0256cd7e1fdf2945bf5ab0c21fe20319 | |
parent | 57a8e6e8d0e52f7be6b187bb4ac5112341515f91 (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.h | 6 |
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 { |