diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-04-06 10:16:06 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-06 19:41:56 +0000 |
commit | a6ae2d8f940df3d9e0b71b13336ca01e5b6a2c47 (patch) | |
tree | 4cec5a6be3d9c02160d8ccfa317d6ce2bf68576a /src/panfrost/bifrost/bifrost_compile.c | |
parent | 20a4b1461bab25af48d73b07ca5bafafc397eb2e (diff) |
pan/bi: Remove nontrivial SPECIAL ops
These require a lot more handholding in the IR than we can deal with at
this stage; we need to restrict ourselves to frcp/sqrt.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4470>
Diffstat (limited to 'src/panfrost/bifrost/bifrost_compile.c')
-rw-r--r-- | src/panfrost/bifrost/bifrost_compile.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index 869e353624e..a43068e35d6 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -424,8 +424,6 @@ bi_class_for_nir_alu(nir_op op) case nir_op_frcp: case nir_op_frsq: - case nir_op_fsin: - case nir_op_fcos: return BI_SPECIAL; default: @@ -609,12 +607,6 @@ emit_alu(bi_context *ctx, nir_alu_instr *instr) case nir_op_frsq: alu.op.special = BI_SPECIAL_FRSQ; break; - case nir_op_fsin: - alu.op.special = BI_SPECIAL_FSIN; - break; - case nir_op_fcos: - alu.op.special = BI_SPECIAL_FCOS; - break; BI_CASE_CMP(nir_op_flt) BI_CASE_CMP(nir_op_ilt) BI_CASE_CMP(nir_op_fge) |