- 1、本文档共87页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
《高性能处理器体系结构》课件PPT 7 数据并行体系结构
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 applications Need arran
您可能关注的文档
- 《第三单元少年白居易课件》小学语文湘教版三年级上册749.ppt
- 【PPT】-第三篇蛋与蛋制品第三章蛋的保鲜贮藏.ppt
- 【法学课件】自然资源法学绪论 (二).ppt
- 【历史学】罗马法的起源与发展ppt模版课件.ppt
- 【广告策划-PPT】联想鲲鹏服务联盟2003年度整合行销推广拟案.ppt
- 【精品PPT】中国软件产业现状及发展.ppt
- 【实施】国电山东招远夏甸风电场一期220kV工程 升压站【源自网络】.pdf
- 【经济课件】第6章 新国民收入决定理论——总需求—总供给模型.ppt
- 【最新资料】方波的傅里叶分解与合成.doc
- 【精品PPT】3S技术在水文学中的应用.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)