Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Simple optimization question

Author: Gerd Isenberg

Date: 06:43:02 01/09/04

Go up one level in this thread


On January 09, 2004 at 09:06:53, Daniel Clausen wrote:

>On January 09, 2004 at 09:01:23, Gerd Isenberg wrote:
>
>[snip]
>
>>y += -(x != 0) & z;
>
>LOL! I'm always amazed what tricks you have up your sleeves, Gerd! :o) Not that
>I would _ever_ use this particular one (I adhere to the KISS principle way too
>much) but I call it the optimization of the month. :)
>
>Sargon

Thanks Daniel,

isn't it simple and stupid?
With MMX or SSE2 this is the way to do conditional assignments ;-)

Gerd



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.