#inclde"stdio.h"
#include"arm_neon.h"
int main()
{
int e=10;
float g;
int32x2_t f;
float32x2_t h;
f=vdup_n_s32(e);
h=vcvt_f32_s32(f);
vst1_f32(&g,h);
printf("%f\n",g);
return 0;
}
结果:10.000000