- 1、本文档共87页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
《高性能处理器体系结构》Data-Level Parallel Architecture数据并行体系结构(87P)
* * Intel MMX: Basics Most multimedia apps work on short integers Pack data into 64-bit words Bytes 8bits Words 16 bits Double words 32 bits Operate on packed data like short vectors (SIMD) USTC CS AN Hong * * MMX Extension MMX registers: 64-bit MM0 to MM7 shared with FP registers R0, R7, has side-effect on FPU state, only use for operands Four MMX data types: 64-bit / 32-bit access mode from memory to MMX registers SIMD techniques for arithmetic/logical operations on bytes, words, doublewords from/to 64-bit registers 0 63 Packed Byte 8x8 Packed Word 16x4 Packed Doubleword 32x2 Quadword 64 MMX Register USTC CS AN Hong * * MMX Instruction Set MMX instruction set consists of 57 instructions, group into 7 categories: Arithmetic instructions Data transfer instructions Comparison instructions Conversion instructions Logical instructions Shift instructions Empty MMX state instruction (EMMS) Minimizes ISA changes Can improve performance up to 8x (in theory) benchmark perf not 8x, but very good and gives customers another reason to consider their current PC obsolete. USTC CS AN Hong * * MMX Instruction Set USTC CS AN Hong * * MMX Instruction Set - Arithmetic Overflow/underflow for Wraparound: truncated; for Saturation: set to the maximum/minimum value, useful for graphics Packed multiplication: perform four multiplications on pairs of 16-bit operands, producing 32-bit results; PMULHW / PMULLW writes high-order / low-order 16 bits of results to destinations Packed multiply add: multiply 4 16-bit pair of sources and destinations; four 32-bit results are summed in pairs Arithmetic Wraparound Signed saturation Unsign saturation Addition PADD(b,w,d) PADDS(b,w) PADDUS(b,w) Subtraction PSUB(b,w,d) PSUBS(b,w) PSUBUS(b,w) Multiplication PMUL(lw,hw) Multiply and Add PMADDWD USTC CS AN Hong * * Example:Packed Multiply Add 4 multiplications and 2 adds in one PMADDWD PMADDWD produces 2 DW (32 bits) results Useful inst. for many media and signal applicati
您可能关注的文档
- 【农学课件】农水_chapter 排水沟道系统.ppt
- 包身工 演示文稿.ppt.ppt
- 北师大版八下《不等式的基本性质》ppt课件之二【精品】.ppt
- 【小学 六年级数学】异分母分数加减法课件 共(21页).ppt
- 【精品】快递业务员培训师培训讲义84.ppt
- 【精品PPT】健康教育学选修课总复习.ppt
- 【调研报告】中国高速公路路线网分布报告ppt模版课件.ppt
- 【课程设计】华联超市五一促销策划方案.pdf
- 《管理学原理与实务》教学课件-第十章 沟通与激励艺术.ppt
- 《多种多样的运输方式》ppt课件_图文.ppt
- 2024年中国钽材市场调查研究报告.docx
- 2024年中国不锈钢清洗车市场调查研究报告.docx
- 2024年中国分类垃圾箱市场调查研究报告.docx
- 2024年中国水气电磁阀市场调查研究报告.docx
- 2024年中国绿藻片市场调查研究报告.docx
- 2010-2023历年初中毕业升学考试(青海西宁卷)数学(带解析).docx
- 2010-2023历年福建厦门高一下学期质量检测地理卷.docx
- 2010-2023历年初中数学单元提优测试卷公式法(带解析).docx
- 2010-2023历年初中毕业升学考试(山东德州卷)化学(带解析).docx
- 2010-2023历年初中毕业升学考试(四川省泸州卷)化学(带解析).docx
文档评论(0)