Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- From: Andrew Milton <akm@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 14 Jun 2010 02:20:26 +1000
+-------[ Bernd Walter ]----------------------
| On Sun, Jun 13, 2010 at 05:44:29PM +0200, Dag-Erling Smørgrav wrote:
| > Bernd Walter <ticso@xxxxxxxxxxxxxxxxx> writes:
| > > Amazing - this is one of the things which can get nasty if you try some
| > > kind of microtuning.
| >
| > Only if you break the rules. Bad code is always bad, even if it
| > sometimes works by accident.
|
| To expect that function calls are replaced with other functions isn't a
| very obvious rule.
Don't turn on compiler optimisation then. You're explicitly telling
the compiler to make your code better/faster/smaller. Optimisation
flags always come with the caveat that your code may not work exactly
the same...
--
Andrew Milton
akm@xxxxxxxxxxxxxxxxxx
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- From: Bernd Walter
- Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- References:
- Cleanup for cryptographic algorithms vs. compiler optimizations
- From: Ulrich Spörlein
- Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- From: Dag-Erling Smørgrav
- Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- From: Ulrich Spörlein
- Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- From: Bernd Walter
- Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- From: Dag-Erling Smørgrav
- Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- From: Bernd Walter
- Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- From: Dag-Erling Smørgrav
- Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- From: Bernd Walter
- Cleanup for cryptographic algorithms vs. compiler optimizations
- Prev by Date: Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- Next by Date: Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- Previous by thread: Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- Next by thread: Re: Cleanup for cryptographic algorithms vs. compiler optimizations
- Index(es):