Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Assembler question

Author: Gerd Isenberg

Date: 07:05:28 10/17/03

Go up one level in this thread


On October 17, 2003 at 09:27:09, Eiko Bleicher wrote:

>When I examine the code that MS VC++ generates, I often see lines like
>
>and  eax, 7
>test eax, eax
>je   ....
>
>My question is: Is the "test" neccessary? It seems to work fine without (with
>inline assembler). If it really is unneccessary, is there any chance to get rid
>of this without use of inline assembler?
>
>Thanks, Eiko

Hi Eiko,

dumb code generator - considering "test eax,eax" is no jump target at all.
Eugene Nalimov already addressed this behavior in a similar case:

http://www.chess-archive.com/ccc.php?art_id=307028

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.