Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Transposition tables and the use of the operators "&" and "%"

Author: Dieter Buerssner

Date: 13:26:27 12/03/04

Go up one level in this thread


G:\src>gcc -O -S martin.c

G:\src>type martin.s
        .file   "martin.c"
        .section .text
        .p2align 1
.globl _mod_method
_mod_method:
        pushl   %ebp
        movl    %esp, %ebp
        movl    8(%ebp), %eax
        andl    $1048575, %eax
        popl    %ebp
        ret
        .p2align 1
.globl _and_method
_and_method:
        pushl   %ebp
        movl    %esp, %ebp
        movl    8(%ebp), %eax
        andl    $1048575, %eax
        popl    %ebp
        ret
        .ident  "GCC: (GNU) 3.2"



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.