找回密码
 欢迎注册
查看: 29965|回复: 10

[分享] 资料:Intel 和 AMD CPU 资料

[复制链接]
发表于 2008-3-27 15:52:47 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?欢迎注册

×
精华
说明:
资料1: 该文从Intel网站下载,因文件不大,得以上传,对使用汇编优化程序者可带来帮助。文件名Coding_ASM_-_Intel_Instruction_Set_Codes_and_Cycles.pdf。
资料2:出处不记得了,应该是从AMD网站下载。主要描述了CPU ID 在 AMD CPU的用法,文件名AMD_CPUID.pdf。
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2008-3-27 15:56:12 | 显示全部楼层
贴上这两个英文PDF
推荐

AMD_CPUID.pdf

240.99 KB, 下载次数: 35, 下载积分: 金币 -1 枚, 经验 1 点, 下载 1 次

CPU 识别指令在AMD CPU 的用法

Coding_ASM_-_Intel_Instruction_Set_Codes_and_Cycles.pdf

79.23 KB, 下载次数: 22, 下载积分: 金币 -1 枚, 经验 1 点, 下载 1 次

Intel 指令集的时钟周期

毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2008-3-27 17:25:00 | 显示全部楼层
一个字


通过最近一个月的写汇编发现
要考虑的因素忒多
指令依赖
执行单元
跳转预测
内存访问
很多因素决定了指令的执行
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2008-3-28 10:15:20 | 显示全部楼层
我手边有一些历年来收集的Intel CPU 电子文档,限于他们太大,不能上传。现列出来,供大家参考。如果有人需要,可去Intel网站下载或者向我索取。
File Name
Title
Order Number
Update Date
Size
D91561.pdfIntel SSE4 Programming ReferenceD91561-003July 2007682KB
248966.pdfIntel® 64 and IA-32 Architectures Optimization Reference Manual248966-015May 20073119KB
253665.pdfIntel® 64 and IA-32 Architectures Software Developer’s Manual
Volume 1: Basic Architecture
253665-023USMay 20073231KB
253666.pdfIntel® 64 and IA-32 Architectures Software Developer’s Manual
Volume 2A: Instruction Set Reference, A-M
253666-023USMay 20072535KB
253667.pdfIntel® 64 and IA-32 Architectures Software Developer’s Manual
Volume 2B: Instruction Set Reference, N-Z
253667-023USMay 20072094KB
253668.pdfIntel® 64 and IA-32 Architectures Software Developer’s Manual
Volume 3A: System Programming Guide, Part 1
253668-023USMay 20073157KB
253669.pdfIntel® 64 and IA-32 Architectures Software Developer’s Manual
Volume 3B: System Programming Guide, Part 2
253669-023USMay 20072959KB
24547004.pdfIA-32 Intel® Architecture Software Developer’s Manual
Volume 1: Basic Architecture
245472.20014006KB
24547104.pdfIA-32 Intel® Architecture Software Developer’s Manual
Volume 2: Instruction Set Reference
24547220016594KB
24547204.pdfIA-32 Intel® Architecture Software Developer’s Manual
Volume 3: System Programming Guide
245472.20016270KB
24319002.pdfIntel Architecture Software Developer’s Manual
Volume 1: Basic Architecture
24319219992583KB
24319102.pdfIntel Architecture Software Developer’s Manual
Volume 2: Instruction Set Reference
24319219996615KB
24319101.pdfIntel Architecture Software Developer’s Manual
Volume 2: Instruction Set Reference
24319219972664KB
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2008-3-28 10:31:39 | 显示全部楼层
只盼望SSE4早普及
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2008-3-28 10:38:47 | 显示全部楼层
另外的资料,站内链接:http://bbs.emath.ac.cn/viewthread.php?tid=173&page=1&fromuid=25#pid885

推荐几个参考文档
这是我在自学汇编时,对我帮助比较大的一些文档,共享出来,希望对大家有所帮助:

怎样优化Pentium系列处理器的代码,虽然翻译自2000年,但颇具参考意义

optimization_manuals.zip(3.81 MB),源于Software optimization resources,包含:

Optimizing software in C++: An optimization guide for Windows, Linux and Mac platforms

Optimizing subroutines in assembly language: An optimization guide for x86 platforms

The microarchitecture of Intel and AMD CPU’s: An optimization guide for assembly programmers and compiler makers

Instruction tables: Lists of instruction latencies, throughputs and micro-operation breakdowns for Intel and AMD CPU's

Calling conventions for different C++ compilers and operating systems


Intel 官方出品的 Optimization Reference Manual

SIMPLY FPU:  SimplyFPU.chm (324.54 KB)  2008-2-11 15:38by Raymond Filiatreault,Copyright 2003
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2008-3-28 11:08:52 | 显示全部楼层


不知道纯汇编写成的Toom-n算法好不好玩
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2008-3-28 11:41:46 | 显示全部楼层
我想一点而也不好玩,用C写个 Toom-3,Toom-4 都是一个很麻烦的事,而况汇编呢,况且性能也不见得能提高多少。
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2008-3-28 13:57:44 | 显示全部楼层
混合汇编和C是不错的主意
GxQ的小数字乘不如GMP估计就是汇编和C的结合不如它
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2009-4-13 01:06:21 | 显示全部楼层
剛好正在研究資料 目前 CPU 也開始有漏洞要研究研究
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
您需要登录后才可以回帖 登录 | 欢迎注册

本版积分规则

小黑屋|手机版|数学研发网 ( 苏ICP备07505100号 )

GMT+8, 2024-5-9 02:08 , Processed in 0.055258 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表