- 1、本文档共66页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Lecture 10 Vectors Coputer Science Division EECS at UC 讲座10载体计算机科学部是由加州大学
CS252Graduate Computer ArchitectureLecture 10Vector Processing (Continued)Branch Prediction October 4, 2000 Prof. John Kubiatowicz Review:Vector Processing Vector Processing represents an alternative to complicated superscalar processors. Primitive operations on large vectors of data Load/store architecture: Data loaded into vector registers; computation is register to register. Memory system can take advantage of predictable access patterns: Unit stride, Non-unit stride, indexed Vector processors exploit large amounts of parallelism without data and control hazards: Every element is handled independently and possibly in parallel Same effect as scalar loop without the control hazards or complexity of tomasulo-style hardware Hardware parallelism can be varied across a wide range by changing number of vector lanes in each vector functional unit. Review:ILP? Wherefore art thou? There is a fair amount of ILP available, but branches get in the way Better branch prediction techniques? Probably not much room to go still: prediction rates already up in the 93% and above Fundamental new programming model? Vector model accommodates long memory latency, doesn’t rely on caches as does Out-Of-Order, superscalar/VLIW designs: No branch prediction! Loops are implicit in model Much easier for hardware: more powerful instructions, more predictable memory accesses, fewer hazards, fewer branches, fewer mispredicted branches, ... But, what % of computation is vectorizable? Is vector a good match to new apps such as multimedia, DSP? Right answer? Both? Neither? (my favorite) Review: “DLXV” Vector Instructions Instr. Operands Operation Comment ADDV V1,V2,V3 V1=V2+V3 vector + vector ADDSV V1,F0,V2 V1=F0+V2 scalar + vector MULTV V1,V2,V3 V1=V2xV3 vector x vector MULSV V1,F0,V2 V1=F0xV2 scalar x vector LV V1,R1 V1=M[R1..R1+63] load, stride=1 LVWS V1,R1,R2 V1=M[R1..R1+63*R2] load, stride=R2 LVI V1,R1,V2 V1=M[R1+V2i,i=0..63] indir.(gather) CeqV VM,V1,V2 VMASKi = (V1i=V
您可能关注的文档
- Hierarchical Cellula Multihop Networks分层多跳蜂窝网络.ppt
- Heavy Ion Physics in Cech Republic particlecz捷克共和国particlecz重离子物理.ppt
- His Presence Abding他的存在持久.doc
- Historical Research UNM New Mexio's Flagship University 历史研究大学新墨西哥的旗舰大学.ppt
- HL402B可弥补EXB41及M57962AL缺陷.doc
- Heatig and acceleration of ions by cyclotron and Landau resonance加热和加速的离子的回旋和朗道共振.ppt
- How do you study fo a test 导学案.doc
- How The Presence f the CKR5 Heterozygote Affects HIV+ 如何在ckr5杂合子的存在影响了HIV +.ppt
- How does the CKR5 gnotype (either presence or absence 如何做ckr5基因型(无论存在或不存在.ppt
- HPLC法测定愈骨疗伤胶囊中川续皂苷Ⅵ的含量.doc
文档评论(0)