-fno-strict-aliasing performance
duchier at ps.uni-sb.de
duchier at ps.uni-sb.de
Fri Mar 19 18:06:26 CET 2004
Konstantin Popov <kost at sics.se> writes:
> .. I forgot to tell that: on i486 the difference is essentially
> unmeasurable (except, probably, the 'port' benchmark - no more than
> 5%). I switched this flag for all platforms.
I can well understand switching it off for the upcoming release, but
this doesn't seem very appealing as a long term solution. Perhaps we
could (later) attempt to fix the problem in a more principled fashion
(e.g. using type-puning through a union).
Speaking of switching it off on all platforms: if it is not a problem
on x86, is it really necessary to switch it off on that platform?
platform/emulator/configure.in already has a lot of (platform x
compiler) specific logic; the decision could be made there.
Cheers,
--
Denys Duchier - Équipe Calligramme - LORIA, Nancy, France
AIM: duchierdenys
More information about the mozart-hackers
mailing list