diff options
author | Boris Brezillon <[email protected]> | 2020-01-20 22:05:14 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-22 15:31:28 +0000 |
commit | fcceeaffaef8d10a96e5b3171ed5d9be25a15001 (patch) | |
tree | 1e2582a202047c221c71fd2d5d39b27edb752f15 /src/panfrost | |
parent | fe5fbadd4624bc07fc45d87222b5b853c59f54b5 (diff) |
panfrost/midgard: Add 64 bits float <-> int converters
The 64 bit converter cases were missing, add them now.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3478>
Diffstat (limited to 'src/panfrost')
-rw-r--r-- | src/panfrost/midgard/midgard_compile.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); |