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

J. Tang tang at jtang.org
Wed Jan 14 16:11:51 PST 2015


On Jan 14, 2015, at 15:36 , Andrei Gherzan <andrei at gherzan.ro> wrote:

> 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?

In my case, I was re-compiling MAME for the Raspberry Pi. The code has a dependency on hf. Furthermore, Rasbian is built with hf.

-- 
Jason Tang  /  tang at jtang.org







More information about the yocto mailing list