aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost/compiler.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-04-14 18:52:21 -0400
committerAlyssa Rosenzweig <[email protected]>2020-04-17 16:25:35 -0400
commit8e52206dbef63ffe91f5e58043228bb51e41192c (patch)
treeebe9636dbea1866174f3a575b071ed35e07bd36f /src/panfrost/bifrost/compiler.h
parentb1d4d8f7432ddff50dce4151603f70c47c01c5f9 (diff)
pan/bi: Add fexp2 implementation
Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4615>
Diffstat (limited to 'src/panfrost/bifrost/compiler.h')
-rw-r--r--src/panfrost/bifrost/compiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h
index 2d3f1a13588..ec9a4add065 100644
--- a/src/panfrost/bifrost/compiler.h
+++ b/src/panfrost/bifrost/compiler.h
@@ -558,6 +558,10 @@ pan_next_block(pan_block *block)
return list_first_entry(&(block->link), pan_block, link);
}
+/* Special functions */
+
+void bi_emit_fexp2(bi_context *ctx, nir_alu_instr *instr);
+
/* BIR manipulation */
bool bi_has_outmod(bi_instruction *ins);