[mercury-users] Hints on Optimisation

Ralph Becket rbeck at microsoft.com
Mon Oct 11 19:09:01 AEST 1999



> -----Original Message-----
> From: Fergus Henderson [mailto:fjh at cs.mu.OZ.AU]
> 
> One of the difficulties is that many of these kind of 
> transformations are
> often a win but sometimes a loss, and it's hard for the 
> compiler to figure
> out when the transformation is going to be a loss.

This is the sort of situation where I think a suitable pragma would be
useful.  In general, the compiler isn't going to know about e.g. the
target data-set or expected bottlenecks in the code; I'd be quite happy
to occasionally offer the compiler the benefit of my wisdom in these
matters!

Ralph
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list