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); }