On Fri, 2018-06-08 at 22:34 +0100, James Greenhalgh wrote: > > Are you in an environment where you can use arm_neon.h ? If so, that > would > be the best approach: > > float32x4_t in; > float64x2_t low = vcvt_f64_f32 (vget_low_f64 (in)); > float64x2_t high = vcvt_high_f64_f32 (in); > > If you can't use arm_neon.h for some reason, you can look there for > inspiration of how to write your own versions of these intrinsics. > > Thanks, > James
Thanks, that is helpful though I think you meant vget_low_f32 in the first line instead of vget_low_f64. With that change I get the code I want/expect. I hadn't seen the __GETLOW macro in the neon header file. Steve Ellcey