[yocto] [meta-raspberrypi] Why not enable hard floating point?

Andrei Gherzan andrei at gherzan.ro
Wed Jan 14 12:36:10 PST 2015


Hello,

On Sat, Jan 10, 2015 at 10:38:50AM -0500, J. Tang wrote:
> The upstream meta-raspberrypi recipe builds an arm6 toolchain with only soft floating point. As an experiment, I enabled hard floating point by setting my DEFAULTTUNE to “armv6hf”. My code still ran correctly. Is there a reason why the meta-raspberrypi layer does not enable hard floating point?
>

Well we played a little with this in the past. And we realised that, at that
time at least, switching to hf didn't add any performace improvements. Did you
test anything that proves the contrary?

Thanks,

--
Andrei Gherzan



More information about the yocto mailing list