[Mesa-dev] [PATCH v2] glsls: Modify exec_list to avoid strict-aliasing violations

Davin McCall davmac at davmac.org
Thu Jun 25 00:46:53 PDT 2015


On 25/06/15 01:13, Dave Airlie wrote:
>>              -fno-strict-aliasing:        with strict aliasing:
>> libGL.so          699188                  699188    (no change)
>> *_dri.so         9575876                 9563104    (-2772)
>>
> Use the size command to get the actual text segment size,
>
> otherwise debugging symbols can drown changes.
>
> Dave.

I had stripped debugging symbols. "size" gives me:

    text       data        bss        dec        hex    filename
  590628       6540       1636     598804      92314 libGL.so.1.2.0

    text       data        bss        dec        hex    filename
  590628       6540       1636     598804      92314 libGL.so.1.2.0

    text       data        bss        dec        hex    filename
8477420     265925    1978616    10721961     a39aa9    r600_dri.so

    text       data        bss        dec        hex    filename
8464211     265925    1978616    10708752     a36710    r600_dri.so

I.e. about a 10k difference in the text size of the dri modules.

Davin



More information about the mesa-dev mailing list