Intel Platform Article & Guides Download Software23/01/2009 Featured Article: How to remove Buzus Virus (permalink) |
|||
|
Write Optimized Pentium CodeA series of document on optimizing asm code(by agner fog)This comprehensive manual describes in detail how to write optimized assembly language code, with particular focus on the Pentium(R) microprocessor. It includes many details not found anywhere else. This information will enable you in many cases to calculate exactly how many clock cycles a piece of code will take. The information in this manual is based on research done by me and Karki Jitendra Bahadur. This research has covered only the Pentium Processor. Informations about PentiumPro and MMX processors are based solely on documents from Intel. This article is online from 1487 days and has been seen 2152 times
Tweet HOW TO OPTIMIZE FOR THE PENTIUM PROCESSOR ***************************************** Copyright (c) 1996 by Agner Fog. Last modified 1996-11-09. Contents: 1. introduction 2. literature 3. debugging and verifying 4. memory model 5. alignment 6. cache 7. address generation interlock 8. pairing integer instructions 9. first time vs. repeated execution 10. imperfect pairing 11. splitting complex instructions into simpler ones 12. jumps and branches 13. prefixes 14. reducing code size 15. scheduling floating point code 16. loops 17. discussion of special instructions 18. using integer instructions to do floating point operations 19. using floating point instructions to do integer operations 20. list of integer instructions 21. list of floating point instructions 22. testing code speed 23. considerations for other microprocessors 1. INTRODUCTION =============== This comprehensive manual describes in detail how to write optimized assembly language code, with particular focus on the Pentium(R) microprocessor. It includes many details not found anywhere else. This information will enable you in many cases to calculate exactly how many clock cycles a piece of code will take. The information in this manual is based on research done by me and Karki Jitendra Bahadur. This research has covered only the Pentium Processor. Informations about PentiumPro and MMX processors are based solely on documents from Intel.
Similar Articles FPU timing 8087-Pentium coprocessor timing and pairing (by Quantasm) How to optimize code on a 386/486/Pentium Intel Assembler Code Optimization and Pipelining (by Michael Kunstelj) Notes on Intel Pentium Processor CMPXCHG8B CPUID MOV RDMSR RDTSC RSM WRMSR (by Microsoft) Optimizations for Intel's 32-Bit Processors A 49 page guide on Intel Asm Code Optimization (by Bev Zaharie) Pairing Pentium Instructions A brief doc on Pentium optimized programming (by Quantasm / Mike Schmit) Pentium Code Optimization using U-pipe V-pipe A cross reference by instructions (by Quantasm) The Complete Pentium Instruction Set Table (32 Bit Addressing Mode Only) (by Sang Cho) Tags: optimize, pentium |
||||||
|
||||||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|