Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Fruit 1.0 64-bit

Author: Robert Hyatt

Date: 11:12:18 03/30/04

Go up one level in this thread


On March 29, 2004 at 21:44:36, Russell Reagan wrote:

>On March 29, 2004 at 14:36:08, Robert Hyatt wrote:
>
>>
>>
>>That reminds me of my first attempt at "bit fields" in C 25 years ago.  Signed
>>bit fields to be precise.  Ugliest assembly code I ever examined, trying to
>>figure out why it was so slow.  Puked for days...
>
>Are unsigned bit fields slow? Obviously they aren't slow due to any sign
>extension, but it seems like I've heard they aren't recommended where
>performance counts. Maybe whoever I heard that from was using the signed variety
>though.

How will you avoid sign-extension?  IE 8 4--bit values in 1 word.  How do I use
the value in bits 4-7 without shifting/anding/sign-extending???




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.