RE: Configuration question

2015-11-17 Thread Pinski, Andrew
n...@ezchip.com> Subject: Re: Configuration question Thanks, however we were hoping that this is something that might be determined at configure/compile time via standard configuration options (we use autotools). On Tue, Nov 17, 2015 at 4:10 PM, Pinski, Andrew <andrew.pin.

Re: Configuration question

2015-11-17 Thread Bill Fischofer
Thanks. We'll look into ifunc. On Tue, Nov 17, 2015 at 4:21 PM, Renato Golin wrote: > On 17 November 2015 at 22:10, Pinski, Andrew > wrote: > > Or better yet use ifunc directly to check on them. > > I was going to say, this looks like

Re: Configuration question

2015-11-17 Thread Bill Fischofer
Thanks, however we were hoping that this is something that might be determined at configure/compile time via standard configuration options (we use autotools). On Tue, Nov 17, 2015 at 4:10 PM, Pinski, Andrew < andrew.pin...@caviumnetworks.com> wrote: > Sounds like HWCAP should be checked at

Re: Configuration question

2015-11-17 Thread Renato Golin
On 17 November 2015 at 22:10, Pinski, Andrew wrote: > Or better yet use ifunc directly to check on them. I was going to say, this looks like the kind of thing IFUNC was designed for. :) --renato ___ linaro-toolchain

RE: Configuration question

2015-11-17 Thread Pinski, Andrew
Sounds like HWCAP should be checked at runtime for these features and then have a fallback to software one. This might mean using function pointers and initializing the correct ones. Or better yet use ifunc directly to check on them. Thanks, Andrew From: linaro-toolchain