Fwd: Re: Branchless implementation for literal case – is it worth it?

Joachim Breitner mail at joachim-breitner.de
Mon Apr 20 18:05:18 UTC 2015


Hi,

Am Montag, den 20.04.2015, 19:45 +0200 schrieb Niculae Ionita:
> Sorry, I forgot to answer to the list.

ah, and sorry for telling you so before looking on the list.

> If the code is already there and some architectures can profit of it, 
> especially in inner loops - why not just make it an optimisation flag?

Without even one good example where it is an improvement, this does not
make sense. And even with an example: It degrades performance in other
cases, so a module-wide flag would probably not cut it.


Greetings,
Joachim
-- 
Joachim Breitner
  mail at joachim-breitner.de
  http://www.joachim-breitner.de/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20150420/0bb3c641/attachment.sig>


More information about the ghc-devs mailing list