From: Boris Brezillon Date: Mon, 20 Jan 2020 21:05:14 +0000 (+0100) Subject: panfrost/midgard: Add 64 bits float <-> int converters X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcceeaffaef8d10a96e5b3171ed5d9be25a15001;p=mesa.git 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: --- 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);