From fcceeaffaef8d10a96e5b3171ed5d9be25a15001 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Mon, 20 Jan 2020 22:05:14 +0100 Subject: [PATCH] panfrost/midgard: Add 64 bits float <-> int converters The 64 bit converter cases were missing, add them now. Signed-off-by: Boris Brezillon Reviewed-by: Alyssa Rosenzweig Part-of: --- src/panfrost/midgard/midgard_compile.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index b03db8f61f8..790cfaf75a6 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -787,6 +787,11 @@ emit_alu(compiler_context *ctx, nir_alu_instr *instr) ALU_CASE(fexp2, fexp2); ALU_CASE(flog2, flog2); + ALU_CASE(f2i64, f2i_rtz); + ALU_CASE(f2u64, f2u_rtz); + ALU_CASE(i2f64, i2f_rtz); + ALU_CASE(u2f64, u2f_rtz); + ALU_CASE(f2i32, f2i_rtz); ALU_CASE(f2u32, f2u_rtz); ALU_CASE(i2f32, i2f_rtz); -- 2.30.2