On 01/06/2020 15:12, Vineet Gupta wrote: > On 6/1/20 7:42 AM, Adhemerval Zanella via Libc-alpha wrote: >> You will need to move this definitions inside the !USE_SQRTF_BUILTIN >> to avoid defined by not used warnings. Current practice is to just >> open code the constants and let compiler optimize the constant pool: > > Won't it be better to keep the const variable and trust the compiler to > subsume it > instead of open coding in multiple places. Makes it more readable ? I don't have a strong preference, it is just the recent math optimizations use the constant directly in the hex format instead of trying to factoring them out. _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc
- Re: [PATCH 5/5] powerpc/fpu: use generic fma funct... Adhemerval Zanella
- [PATCH 1/5] ARC/dl-runtime helper macros Vineet Gupta
- Re: [PATCH 1/5] ARC/dl-runtime helper macros Vineet Gupta
- [PATCH 3/5] iee754: prvoide gcc builtins based generic ... Vineet Gupta
- Re: [PATCH 3/5] iee754: prvoide gcc builtins based... Adhemerval Zanella
- Re: [PATCH 3/5] iee754: prvoide gcc builtins based... Florian Weimer
- [PATCH 2/5] iee754: prvoide gcc builtins based generic ... Vineet Gupta
- Re: [PATCH 2/5] iee754: prvoide gcc builtins based... Adhemerval Zanella
- Re: [PATCH 2/5] iee754: prvoide gcc builtins b... Adhemerval Zanella
- Re: [PATCH 2/5] iee754: prvoide gcc builti... Vineet Gupta
- Re: [PATCH 2/5] iee754: prvoide gcc bu... Adhemerval Zanella
- Re: [PATCH 2/5] iee754: prvoide gcc builtins based... Florian Weimer
- Re: [PATCH 2/5] iee754: prvoide gcc builtins b... Vineet Gupta