From: Alyssa Rosenzweig Date: Tue, 28 Apr 2020 15:40:22 +0000 (-0400) Subject: pan/bi: Structify FMA ICMP 16 X-Git-Tag: upstream/20.1.8~676 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ddcefefa7d5ad9fc111ca17495c002a6802dcd95;p=platform%2Fupstream%2Fmesa.git pan/bi: Structify FMA ICMP 16 Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/bifrost/bifrost.h b/src/panfrost/bifrost/bifrost.h index 40147e7..5331da6 100644 --- a/src/panfrost/bifrost/bifrost.h +++ b/src/panfrost/bifrost/bifrost.h @@ -465,6 +465,14 @@ struct bifrost_fma_icmp32 { unsigned op : 12; } __attribute__((packed)); +struct bifrost_fma_icmp16 { + unsigned src0 : 3; + unsigned src1 : 3; + unsigned unk : 5; /* 11010 */ + enum bifrost_icmp_cond cond : 3; + unsigned op : 9; +} __attribute__((packed)); + /* Two sources for vectorization */ #define BIFROST_FMA_FLOAT32_TO_16 (0xdd000 >> 3) #define BIFROST_ADD_FLOAT32_TO_16 (0x0EC00 >> 3)