From: Alyssa Rosenzweig Date: Tue, 28 Apr 2020 16:46:24 +0000 (-0400) Subject: pan/bi Strucitfy ADD FCMP 32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28afe3037a2afc758ab8caecfd89a54f840ac8c6;p=mesa.git pan/bi Strucitfy ADD FCMP 32 Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/bifrost/bifrost.h b/src/panfrost/bifrost/bifrost.h index 43da29431d4..da278124751 100644 --- a/src/panfrost/bifrost/bifrost.h +++ b/src/panfrost/bifrost/bifrost.h @@ -408,6 +408,17 @@ struct bifrost_fma_fcmp { unsigned op : 7; } __attribute__((packed)); +struct bifrost_add_fcmp { + unsigned src0 : 3; + unsigned src1 : 3; + enum bifrost_fcmp_cond cond : 3; + unsigned src_expand : 2; + unsigned src0_abs : 1; + unsigned src1_abs : 1; + unsigned src1_neg : 1; + unsigned op : 6; +} __attribute__((packed)); + /* Two sources for vectorization */ #define BIFROST_FMA_FLOAT32_TO_16 (0xdd000 >> 3) #define BIFROST_ADD_FLOAT32_TO_16 (0x0EC00 >> 3)