Skip to content

Commit

Permalink
Adds missing function implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
vksnk committed Jun 14, 2023
1 parent 675b0f2 commit 69b254c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CodeGen_Xtensa_vectors.template.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2595,6 +2595,10 @@ HALIDE_ALWAYS_INLINE native_vector_f32 halide_xtensa_convert_to_f32_from_i32(con
return convert<native_vector_f32, native_vector_i32>(src);
}

HALIDE_ALWAYS_INLINE native_vector_f32_x2 halide_xtensa_convert_to_f32_from_i32(const native_vector_i32_x2 &src) {
return convert<native_vector_f32_x2, native_vector_i32_x2>(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);
}
Expand Down

0 comments on commit 69b254c

Please sign in to comment.