[Mesa-dev] [PATCH 11/13] swr/rast: fixes for 32-bit builds

Rowley, Timothy O timothy.o.rowley at intel.com
Tue Aug 1 16:36:51 UTC 2017


> On Jul 31, 2017, at 3:56 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> 
> Hi Tim,
> 
> Some of the inline functions seem unused.
> Very quick search showed the following:
> 
> InterpolateComponent
> _simd128_abs_ps
> _simd_abs_ps

The intent of simdlib is a general purpose vector library, so some functions/methods are in there for completeness sake so that when a developer is using it in the future they’re not surprised by obvious holes in the api.

> Might be worth cleaning things up, first?

I’ve been experimenting with —print-gc-sections to see if I can prune used code from the tree, but real unused functions seem to get lost in the inline functions/methods defined in headers which the linker is reaping as expected.

> -Emil



More information about the mesa-dev mailing list