[vlc-devel] [RFC] [PATCH] ARM: detect VFP floating point unit

Rémi Denis-Courmont remi at remlab.net
Wed Jan 25 18:47:14 CET 2012


Le mercredi 25 janvier 2012 18:22:27 Måns Rullgård, vous avez écrit :
> > Alternatively, HAVE_FPU could be set only when the VFP Procedure
> > Calling Standard __ARM_VFP_PCS is enabled (i.e. -mfloat-abi=hard).
> 
> That would be a bad idea.

From a logical point of view, I agree...

> Besides -mfloat-abi=softfp still being the most widely used,

...but does floating point performance not suck with softfp? Then VLC might 
still be better off using integers.

> only a few recent gcc versions define __ARM_VFP_PCS.

That is not my problem. I do not force people to use old compilers.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list