From 69b254c1b8a3a190be7a0bc17fa9b419beb76f26 Mon Sep 17 00:00:00 2001 From: Volodymyr Kysenko Date: Wed, 14 Jun 2023 15:04:11 -0700 Subject: [PATCH] Adds missing function implementation --- src/CodeGen_Xtensa_vectors.template.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CodeGen_Xtensa_vectors.template.cpp b/src/CodeGen_Xtensa_vectors.template.cpp index 89e13da46ad8..d62e20a0ca26 100644 --- a/src/CodeGen_Xtensa_vectors.template.cpp +++ b/src/CodeGen_Xtensa_vectors.template.cpp @@ -2595,6 +2595,10 @@ HALIDE_ALWAYS_INLINE native_vector_f32 halide_xtensa_convert_to_f32_from_i32(con return convert(src); } +HALIDE_ALWAYS_INLINE native_vector_f32_x2 halide_xtensa_convert_to_f32_from_i32(const native_vector_i32_x2 &src) { + return convert(src); +} + HALIDE_ALWAYS_INLINE native_mask_i32 halide_xtensa_slice_to_native(const native_mask_i16 &src, int index, int native_lanes, int total_lanes) { return (index == 0) ? IVP_EXTRACTBLN(src) : IVP_EXTRACTBHN(src); }