Computer Chess Club Archives


Search

Terms

Messages

Subject: Expert Assembler Question

Author: Ed Schröder

Date: 15:12:30 08/26/05


I am no longer up-to-date regarding the newest processors (such as the AMD-64)
and the internal working concerning speed, hence my question:

Which (similar) code is faster?

       test    byte ptr xxx,1    |        test    byte ptr xxx,1
       je      label             |        mov     AL,[ECX]
       mov     AL,[ECX]          |        je      label
       mov     BL,[EDX]          |        mov     BL,[EDX]
       ...     ........          |        ...     ........
       ...     ........          |        ...     ........
label:                           | label:

Thanks in advance,

Ed



This page took 0.01 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.