Lecture 10 Vectors Coputer Science Division EECS at UC 讲座10载体计算机科学部是由加州大学.ppt

Lecture 10 Vectors Coputer Science Division EECS at UC 讲座10载体计算机科学部是由加州大学.ppt

  1. 1、本文档共66页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Lecture 10 Vectors Coputer Science Division EECS at UC 讲座10载体计算机科学部是由加州大学

CS252 Graduate Computer Architecture Lecture 10 Vector 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

文档评论(0)

erterye + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档