Re: clock cycle values AMD manual
- From: "Rod Pemberton" <spamtrap@xxxxxxxxxx>
- Date: Sun, 18 May 2008 01:31:18 -0400
"roger21" <spamtrap@xxxxxxxxxx> wrote in message
news:482ebd56$0$2692$426a34cc@xxxxxxxxxxxxxxx
just a newb question : where do i get the length of each instruction or
at last the number of clock cycle for each instruction in the amd docs ?
number of clock cycle
For AMD64, Appendix C, "Instruction Latencies" of Publication #25112:
"Software Optimization Guide for AMD64 Processors"
length of each instruction
For AMD64, Appendix A, "Opcode and Operand Encodings", of Publication
#24594:
"AMD64 Architecture Programmer's Manual Volume 3: General-Purpose and
System Instructions"
Both are from "AMD64 Architecture Tech Docs" page:
http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_739_7044,00.html
You could also try here for x86 cpu information:
http://www.sandpile.org
Due to the way Intel extended the addressing modes for protected mode, each
instruction has to be decoded to get it's actual length.
There is a public domain instruction length decoder in C here:
http://www.devmaster.net/codespotlight/show.php?id=25
http://www.devmaster.net/forums/showthread.php?t=2311
Rod Pemberton
.
- References:
- clock cycle values AMD manual
- From: roger21
- clock cycle values AMD manual
- Prev by Date: linuxassembly (italian book) I will not allow more than follow the work.
- Next by Date: Re: clock cycle values AMD manual
- Previous by thread: clock cycle values AMD manual
- Next by thread: Re: clock cycle values AMD manual
- Index(es):