Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: What's the best architecture?

Author: Gerd Isenberg

Date: 00:35:32 06/06/04

Go up one level in this thread


On June 05, 2004 at 10:19:11, Robert Hyatt wrote:

>On June 05, 2004 at 00:18:46, Joshua Shriver wrote:
>
>>
>>>
>>>The architecture is X86.  That means your mov eax, mem stuff will work just
>>>fine, except that it gets extended on the opteron (and eventual intel X86-64
>>>as well) so that eax becomes rax for 64 bit registers, and then you get the new
>>>r8-r15 extra 8 registers that AMD added.
>>>
>>>I found it trivial to program, assuming you know X86 already.  change the
>>>register names, and use the extra 8 that are not there in normal X86 and that's
>>>enough to get you started...
>>
>>At my core I'm an assembly programmer. Just makes more sense to me... while it
>>has proven to be an economical disadvantage in the days of VB programmers I
>>absolutely adore low-level programming and I have a true respect for the
>>architecture.
>>
>>Didnt know that Opterons introduced more registers.. excuse me but *drool*
>>register and L1 cache is the way to go.
>>
>>Know if AMD released any .pdf or whatever docs giving an arch document as Intel
>>does with their line?
>>
>>I'd love to get some low-level Opteron spec docs.


AMD64 Architecture Programmer's Manual Volume 1-5

http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_739_7044,00.html

Optimization guide and more:

http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_739_9003,00.html

some notes on porting 32 to 64 bit:

http://www.amd.com/us-en/assets/content_type/DownloadableAssets/AMD_TechEdEMEA2003_Final.pdf




>>
>>I am not the greatest programmer, but I still have asperations for writing a
>>great Chess engine, and hope that multiple assembly cores let alone great C
>>algorithm backends will prove to be beneficiial. I've been working off and on on
>>writing an PPC assembly based core for crafty for a while now. I just hope I can
>>create something worthy that you can incorporate in your code eventually.
>>
>>
>>Anyway thanks for the input it's greatly appreciated sir.. it's always and honor
>>talking with you.
>>
>>Sincerely,
>>Joshua Shriver
>
>There are docs, although I have not looked at them.  Eugene and Gerd are
>frequently quoting them however.
>
>The neat thing is that I wrote asm for the opteron with _no_ docs.  Which shows
>how easy it really is if you already know X86...



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.