34 Pages

set8

Course: CS 4101, Fall 2008
School: S.F. State
Rating:
 
 
 
 
 

Word Count: 2879

Document Preview

Q ` RD @ QDh hh % yR9w`gHS B # @% # AB % h ) 0D " % `EYYS c h x h t #D " 0 ) % " Q 9CywvubIE4CA4srqD Q ( # (Hp Q RD @ QDh hh % yR9RfgYYS V7 QD 3 " h % RT4i`g9C9fe c d CP# 3 C4" 3 `Y4" B 9# % XW# @% A9$" @ 7 86 5 @% #B% AWVU9TS 3 4" @D FE" # $" Q RD " 2 #D " % S bIE2aTTP#...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> S.F. State >> CS 4101

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Q ` RD @ QDh hh % yR9w`gHS B # @% # AB % h ) 0D " % `EYYS c h x h t #D " 0 ) % " Q 9CywvubIE4CA4srqD Q ( # (Hp Q RD @ QDh hh % yR9RfgYYS V7 QD 3 " h % RT4i`g9C9fe c d CP# 3 C4" 3 `Y4" B 9# % XW# @% A9$" @ 7 86 5 @% #B% AWVU9TS 3 4" @D FE" # $" Q RD " 2 #D " % S bIE2aTTP# @D FE" #D " ) G PIE2H( # $" ! 0)' 21(&% c Qh rsTdC3 % #B XuT r B 9# % 0 b# ") 2`S ' C` ' "0 )%" # r$4CA42Pd0 0 ) ' #% dCPXS Q RD # $" 9 "Q sr) @ Q iwh e D p % CqCA# '' rfrdC % C0 30 1C QS" (9$sQ %# Wp % '% ToqW# % h ) 0D " % `EYYS % 3 X9C4" #D bIE" t h ewfS @# Pd0 B # e" o1nsQ " % hD 29X9mwg' " 2 Q RD % C0 30 9C c ` 3 C4" " 2 "h D ) kFT` e D CqYT % &Y Q % iXY0 @D qE" @ flQ f " % hD 29X9jig' df Q hD iRF9b# t#") Y$2f e D % ) " 0 B ) CF`4e1Ad`f @ D CFh ` h @Q TQ h `RfS @ f @ #D " 0 ) % " Q PEe14s(FD t30" y~uVB @ #% PX}B Q Q 0 #% $22XS ` B 9# %D " XFE29 #D " h bIE4RfS 3" B 4|9# @# Pd0 # $" e 1FD e D Dh SD 1FTFT9q9S ' Dh SD (q9TFTS " D # iFtTS B 9# e D " # { % 1FE2Wz# y zx 3 C4" 3 C4" r T `0 "D sTf) 3 4" #D " 0 ) % " Q bIEe1A4srFD #D " % # bIEwTS #D " ) 0 PIE2( D 3 " FT4sD e D Dh SD 1FTFT9q9S Qh x s91uwh tS y` T `0 ' 1oD B # S T`v" " % hD 29X9mwg' QD 3 u94" " i ' Dh rIfS V7 % # Q Q 0 #% $idtXYS e$g&} e$g&X !~g&aw !~g& ss! U4$ vVvE vE !$ l r4 @ qD av~rl4 Q Dh iI`S 3 T4" 9 ' 1f 2 Q#SS TT`f) 4 `zb gu`8 y Ei2& n v y siXn 4!s~ E n i ! $ v i EiiX 4Ee!iiX 4E!eii& i2& Em wi& Ev $ 4!s~ rkv}s! U4$ uE ! e!iiX wi& iiX v n ! 4E e i&vy Em wi&$ Ev k !2E us!mI2l ~Ivu(iiq r n l n n n I z2r}vErnrl r U ~d4|rkv}! r!! o z1!~ ~uin!ull 9l v n Vi~I w !r Y $ 4 e ~ e!u c% iU# 3 C4" % X9C3 b# @ 9 @ FD '"0 # ($iCwh % X @ FD ' 1` Q #D " 0D % " Q (PIE44siX% QQ# iTTS fC9dv" hh 0D S " 7 c Q% " ) r9$2fS S #h x bw91uf' Q ( ' 1` # $" 'Q (r) Q ) GD 3 0 2PTf9r$" % #"0 $4rCx @ # 0% S ) PdXTTfyQ " Q Dh % siIYC Q r ' hh 0 t # (w`Y~Q 3 4" Q RD B 9# CP# QD RT3 e D Q Q 0 #% CFe$id&YS # rCYp c 3 " e F4Y19Rh `Hu() hh ) Q @% #B% AwTTS tx iuQ x 12H3 Q uD # $" A c" Wn2W' S TdA" % #"0 W$er1x 3 4" Q ( # $" ' %% B (&ATVy&% P# "'S' 29fCTT9fCFD @ flQ ' r 3" B 4z# @ )QQ `y$r fE29$i hh D " Q Q Q #D " " ) (PIE2n2fS x CdY3 @ # 0 h % Pdrfg9 " $# "3 2Y4" "3 2Y4" 4Vs vnV ~ # $ v V} 1 # ~ 4V} " " 0(riu k vsn s! )' r}vEr u rn! n~r u ! ~ I u swE$ % &~rssWn! l # $ " ! 4Vs Iv d v~m rkvsns e r ~ !ul a }~n} V ~dm} rkvvsCEsvsn~d EV} ~ l w! nvg4s~ P4} Rr e v!~n!n! r$!vsV ~E d!y!!sEn sVkv ~ ~! v l2 n }v I ~vV} 4 v E !q ~IinEIl ~ ~EHv~rss ndn ~r EuE u u ~EnEr n !~g sVlv~ vdv u 2 s P }e$gnE ~u g n nb4Vs ~v! ~E FvV ! E$n!r b E~CE! ! I lW RE$kul v o Is ~E E s!s$ E$ ~s " n$ E " r 3 ! ~Ey ! nnI B ~ 3 7 W nnI rkv!q Iv ~tv Er ~ B C ~ A "# ! nV m } " ! 3 7 37 d 3 vvd` E } E$ s @ 0 v u rkv!qP~Is Iv ! ~g ~ ~ s ~u!d 4s~ ~ snlnsr kn ltnE ~T |!! ~} Vd E !rs }av U~ } 89e 3 7 vv 43 6# 5 2 V 3 7 3 # 7 V n~m " ! " ! ' ! w4 v ~v4Vse44~rssevErkv}nE(sE U " S$# R 3 4V~ E T "!# "! e Q " # 3 ! P E E F ~n in~n " R n~m " ! #E vkEm 4s n H I n vE Gu D 3 s R n 3 # X V 4 ~! 4 W 3 R " ~E ! # ' ! R n~m 1~lv$ ~ ~E V w4 vE ! 4V~ n E kn s l v kv} rkv ~ V}n 3 7 R .5 .9 1.0 1.0 9.0 8 g d d b wdb(e d WF p ugvsb db9tzie oy g d E e g e u`Edx 9 lb bp 4Ygvsb PvW Gr! d PopAW e e y E`vmbg u`!`x g PvW l g Ww g e e i g e d b s`rrb4db!lqphe f AtF ca b i i ee v utb b rQ #hh # rwbB Q #D Q )h 0 # (bIer9Cb20 @ flQ C3 c e D Q Q 0 #% Cq!$22XS Q ' # S Q %% # 91PTyiXAd0 t0x% !rCgW# ' ft# @ ' Dh SD S # rCF9TFT`PC #h (wyQ 3 C4" % # h D " ) G WfEiTPrQ e D Q Q 0 #% 1Fe22XS ' f# @ "Q srvB # $" %# $" ' 1f ' Dh SD (F9TFTS # $" Q ' # S Q %% # TCbTu2XW20 C3 cQ drC0 3 C4" # $" ' Dh S S (I`f` T `0 lh e D Q Q 0 #% 1Fe$i2XS @ "3 iH4" % #"0 $4rCx " $# Qh3 `fW' Y ` ce CFD t Dh SD S B uq9TFT# Q @% #B % 3 " WVfT4# # " Q Dh S S $iI``f # Qh h ' s`!9f# @ QD RT3 f P f h w % " QD e T$ug(&% "D $s% U# % @ T @ QQ0 22r0 s Q Q % ' ' $2&P`C ") $i`S @#0% b2gW# #D " % S bIE2g9TP# ")0 $i9r 8 h w 7 0V % " QD e T$ug(&% ' 1CX% ' 1` #D " 0 ) % " Q PIE4CA4s(FD '#0 o2( p7 V #D " 0 ) % " Q bIEe1A4sr7 30" ~up %"S 9$2fH3 5 @ #% bXB Qe" if1nQ 6 7 f 3 " hh 0 C4o`r c Q "D ulsTf) h #D " 0 ) fHbIEe1f}B D qs t h ewfS 3 4" T e D Dh SD CFTFTTF9S # Qh s` `0 @ #% b&}B Q S 3% r`YAT9S #D " 0 ) % " Q PIE4CA4s(FD Q Q 0 #% $i2XS # $" ` #D "D ' ' PIEig`C B 9# #D PIE" C3 ' Dh SD rCFTTF9S @# Pd0 # $" e D 3 0 " 1F99~4B %D " XFEiT c `T`! f d he it q g e hQ)# h fyrbdCfn"f) e 1FD @% #B% AWVU9TS Q #D " 0 ) % " Q d(PIE4CA4s(FD B # @D FeQ x# C99` Qe" ifCnsQ ' 3 C4" x CdY3 )# by B 9# )# Py 30 1C `0 Q #D " 0 ) % " Q (bIEe1A4(FD " % h iT&TmiD 0)G dCTPrQ x CdY3 Q#SS TT`f) d e 9 ulGWg c t h ewfS ' 1f @ FD ' 1f ml ' C` B # # $" 3"# 4T %# B @ h # % 9w`PXYS @# Pd0 @D FeQ wTCx % 3 C4" #D " " PIE2n29 " sD Qp iv` " iH3 @ @ h " ) w42`uQ ' " 0Dh r$2fS ' CfD h w`S e D Dh SD 1FTF9TFTS Q3 iC4" Qp 2v`n" 3 C4" Q RD f Q"0 h 4rmy ) C' #D " ' % e PEiWCgPrf' e D " eD " 1FE2EiD Q '% Tq Y3 j k " n2 Q '% Tq Y8bX4ibj5 3 h #% " # j k Q '% TXY H`gf44CA4" 3 h % ) " 0 )% j h c e D Dh SD CFTFTTF9S t0) !CyQ 3 4" # $" Q % D % % 9IAH B # B # #D " 0Dh S S h ) B Q Q PEiC`f`f}$i20 % 3 dX`4" % X % X9C3 Q Q Q h 2(90 h w %" p9$sRQD @ 9 y x e rX% f Q Q % ' ' $iXPf1 e rX% f Q% "Q 9$sRD Q% "Q 9$sRD UW# % @ 9 e rX% @ "D $s% QQ0 $22d0 ")0 $i9r 8 '#0 odr f f UW# % ") $2fS e rX% @# Pd0 % W# h w %" p9$sRQD @ 9 ' 1CX% ' 1` 67 p 7 e o1n" UW# % #D " 0 ) % " Q bIEe1A4(7 #D PIE40 " 30" ~up ml Qe" d2o1nsQ 3 C4" %# B 9l c ` @D FE" 3 C4" % 'D Q # 9ferbj5 @ `vQ 3 4" "# " i `0 y zx @ `lQ # 3 C4" A" 3" B 4j9# c ec d %D ) G XF9PrX% # Q Q r) f @D FE" "# HC 3 C4" # f' T %D ) G &q9PrX% @ flQ 3 C4" 3"# 4T " i 3 C4" Qe" 2o1nsQ @ `vQ 3 C4" Q 0% ) # Q i2q`P2&% B 9# Qe" if1nQ 3e)# PCbC SD TF9S "Q sr) @ "3 iH4" h hD x Rf`FTHd ml e o IvWq n vb Yg i g F g 1~s!!~Ug n$ V}ss~ gq9 B $ uFn~r~! ! ~ I } ~ u $$ ~E ! ~ VE u r vV vV v u ~E ! 9ovVgi ~rss ~ ~ v E gF9 u E vV m g 9vVgis ~u C I 1s!En 9Wngisv 8 H qng2s E$ A !~g n~!E nl ~ v E V}s$ uEd suj}Tgngis 49vVgis vv` i ts % 7 ~Vs$ vl E e$ qnVi 4 r Vs$ n v rkv 4l ne~nEv!~I n! r ~E !~g !s! !IVEl l 8 H n B 1~sn }4 E (~UgIzu v v n | ~s 4 n |V}s$ 1~snE!~wg E e$ vl 4 q c #D " % S WbIE2g9TP# %# B Q @ h # % 9RfbXS Q) r`0 B # Q (S ' f# @) `n @ ' ( ' 1` @ )QQ `y( QD 3 u94" y Q30 iC1fg% c #D " 0 ) % " Q bIEe1A4(FD Q ) #D x % rbITyXS `0 3 4" e D " h 1FE4w`S " Q RD QD 3 RT4" @# b20 3" 4sD B # ' S S h % x rT`fTC9# e D 3 0 " 1FT~4B B # Q @% T$" 9C3 T ' 1f FD #D " 0 ) % " Q bIEe1A4srFD 3 4" x wv fS h @D FeQ Q Q Q % ' ' 2~$2&P`C `E29C(Q hh D " ) G Q #D " 0 ) % " Q (bIEe1A4(FD e D Q Q 0 #% 1Fe$i2XS c " C U9Cy %x 3 C4" B 9# Q Q % ' ' $iXPf1 ` 3 C4" # (Hp "3 2H4" # $" Q uD #D " 0 ) % " Q bIEe1A4(FD @ FD h 0 w40 C3 Q Dh iIfS #D " 0 ) % " Q PIE4CA4s(FD 30" ~4B vsFT` "Dh D e o IvWq n Aid u c h" iT$i t D ' r B iD @ @ FD # (Hp x CdH3 9dT 'h ) R`b# 3 4" ' CH3 " sD # $" Q Q % ' ' $iXPf1 @D FE" 3 4" Q RD Q RD 3 0 % 9C`g # $" xD CiE" h 0 w40 % X9C3 3 C4" t h y9X% p Tv`n" @D qE" b# #D " ) 0 PEi9r c c d D qb!l ''' rf`C b# % g4" e h 0 w91u0 c '"0 # ($iCwh t yFD " C 3 C4" % X9C3 FD "Q # so20 e 1FD # rCYp @# PQ FD T Q uD #D " 0 ) % " PEe14sQ 3 C4" % X9C3 # $" ETo' h "Q sr) @ 0 21f @% #B% AwTTS c hh ) B % i`}uXC0 x CdY3 #D " bIEsD '# Cb20 ' 1f @ )QQ `y( CP# ' 1CX% # Q ' " )h x ($iH`Hu 3 0 % 1`aY # $" 3 C4" 9dT 9C3 Q Q % ' ' $iXPf1 3 C4" @ #% bXB ")# ibTf ' 1f #D " bIE2S %3"# T4` Q D % iIYHx " $" %"S3 9$2fH0 3 C4" " $H# #D " 0 PEerQ c th x `Hy 3 C4" Q RD "3 2Y4" #D "D ' # PEsg1b20 # ~Q S f) e f1n" ' 1f Q RD B 9# ' 19 3 C4" E '" r$2Y) 3 0 % 9C`g Q Q % ' ' $iX`1 Dh SD CF9TFTS " e% 4fqn" 3 C4" " 4Q Q#SS TT`f) % ) CXf4" t D % HCX @ ' C` l m{ U91 %x Q " #h HRuQ ETo' h 30 1`a% z z ' " 0Dh r$2fS @# Pd0 #D " 0 PIE4D ' % rXS 30 1`a% c h D Q Q # `w`Fe$TTS Q RD #D " eD " bIEiWEsD f c'' rfrdC " % $igTToe Q ETo' h 3" 4iD c ec `yvsF9`FTHd "Dh D h D x h `Cf' # $" T3 Qhh " ifnsQ FD Q Q % ' ' $iX`1 eD Q e2o' " e% uoqYn" "Q () @ ml c h e D '% # 0 0 iPCqgqdd1 Q % 0 r1&9CqD Qhh " s`nsQ C3 c %" T$ih t' 1 " 2 30 1) " e% 4fqn" " D # 2FtTS @ ' ry!9f' h ' C` 3 C4" #D " bIEsD %S 9T9ro' Q RD e f1n" B 9# ' 19 # rCYp 3 C4" % &Y 3 4" 3 `Y4" QQ % 2X' 3 0D 9T3 Q B 9$" # '# Cb20 " 4fe 3 0 % 1fgY Q Dh SD iCFT9q9S 3 C4" c Q "D d2$s% te rX% e D Q Q % S ) CFe$iXYfyQ E U# % @ 9 T @ % # fC0 % "Q 9$sRD QD RT3 c ec # `fCPf' a u } ~ Ca ~ g } ~ ~ | g n a g Ca g u ~ } ce# 1PX% B iD ' ' ' hh rff1gfn" c #D " 0 PIE4D ' % rXS " 0 %% # e(&AW20 B wD AfH9TS "h # c '"0 r$4rTS "0 eD ' % rXS r Q RD % vB #D " 0 ) % " Q PEe14s(FD # Q " C ' x FD wv " Q D Q 2Ier " i "# #Q p mW9lfn" 'QQ)0Q r$(RD ml c" 2iD t #% XS ' C` Q RD #D " 0 ) % " Q bIE4CA4srqD " C 3 C4" 3" 4sD " 2Y3 ' rr20 QQ) $iCe 4 8dA d gv | #D " bIEsD '# Cb20 3 0 % 1fgY b# 'S 19T9f' "# HC Q# ito' z z #D "D ' # PIEig1Pd0 3 0 % 9C`g "0 h 4rmd "# HC Q# ito' #D " ) 0 bIE2r Q# TC3 c c w`D f '")0 r$2( ' C Q E h f T Q RD "3 2Y4" #D bIE" @# b20 t0 )%"Q !CA4s(FD 3 C4" # $" ' %D ) G (&q9PrX% UA# %% 0 % hD fCPTwFTS 3 `Y4" #D " 0D ' % bIEeg(&YS ")# ibTf %3" 9C4i c SD dTF9S T # $" 3 4" #" $iFD ` %# WVB ' "% " r$wnsQ " #h wyQ ' 1` Q RD '30" rC~uVB #D " 0 ) % " Q bIEe1A4(FD h 0 w40 % 3 " c c X9C4d D B # ' CT 3 C4" 3 4" B7 hh " F`nsQ " 2 Q uD % 3 &T4" e o1n" ' 1f h hD x Rf`FTHd % XY #D "D ' # PEsg1b20 " e% uoqn" e P f qgbv | d c ' # 0 h D eD % do2g`HFgVW# " 4Q 3 4" @ #% bXB Q i @# Pd0 3 4" FD 3 0 % 1fg 3 C4" 3 C4" % #B XuT #D " 0 ) % " Q bIEe1A4(FD `T`v" hh 0D S cQ" 'S ri$2o`) tQ Q % S ) Q % }$iX`yW# t% W# ")#3" 2PC4sD ' C` Q #D " 0 (bIEeD ' % rXYS " 0 %% # 0 e(&AW21FD `0 "" $insQ e 1FD e D 1FTU% % # XWVB C3 ")# ibTf 3 C4" ' 0 #% (ddtXYS Dh SD q9TFTS t% 3 T4" x wv qD hh TFD #D " 0 ) % " Q bIE4CA4srqD c rQ t #% ubXS xh # CbQ 0'S dCTo19T9f' `0 % X '% HqH3 30) 1uQ qb b % W# ` e CFD @ 9wh @# PQ % # Wp g xi '% q e D Q Q S Cq!$(YdE x h `p8`) @ z z #D bIE" of cQ ri t0 )%"Q !CA4s(V7 "3 iH4" " niW' Q 0 ) ' #% 221XS @)Q# fy(Pd0 '' `C #D " 0 ) % " Q PIE4CA4s(V7 cQ0'S d2219fCTT9f' tS y9TTo' )% A4" 3" 4iD % XT3 # r{ % # Q0 idCTo' % XY % X9C3 ' % 0 # rCA9dCb20 df @ % X Q0'S didCTo19TTo' "' B niW# QS 2T`v" c Q #D " 0 ) % " Q rrbIEe1A4srFD fP Edb ! 'Q) (r`0 % XY 9r " A4T e GWP " n2 Q '% Tq H3 j h e o IvH n Ed % &T3 c ' 1f c Q % ) e iX` 7 c' ( e D % 'D Q # CqVTo!(b20 E ' 1` #D " 0 ) % " Q bIEe1A4(FD Q RD % #%% W&AT x ' D"' (b EiToD c 3 C4" Dh SD q9TFTS # $" ' fC @ Q RD " iS # r{ " n2' @ " " h D " 9$}2mfE2FD c B 9# 3" 4iHS " niW' h R`40 h e D wP1FeQ 3 C4" 3" 4sD %"S 9$2fH3 "% " YnsQ 5 c" 229 " D % S # % S S $2b&Yf` ! t) y`% ' %D ) G rXFT(X% 3 4" " niW' # $" @e (~Q 0D e #h h #D " D gdwfHbIEiHFT T "Q s() @ @D q!Q @# b20 30 1C e D Cq9 V7 h hD x w`fF92 3 C4" h Q ) # "h y u(bdCfnk`) @ x CdY3 # $" Q #D " 0 ) % " Q (PIE4CA4s(FD h S D "h wfqEkf) % '% Toq# d F`gb!` Wb c #D " PIE2S % Dh % TIA1 3 4" aREilQ B QD " "# HC Q# ito' 3" 4iHS " niW' @ )QQ `y$r C3 c Q " #h dwyQ !9f' h 3 0 % 9C`g % 3 " dX`4m% chh " fnsQ h 0 w91u0 % 3 dXf4" Qh D " sq9n29 QD RT3 c3" 4iHS 3 " hD " C4jFE2`) #D " bIEsD '# 1Pd0 5 6 3 C4" " n2' QD 3 RT4" # $" FD e" f1nQ 'Q r() "# f f % X " 'S $2WT`) ' C` " e% uoqYn" 3 0 % 1fgY 3 4" "3 iH4" " $H#
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

FSU - CS - 4101
Review of Chapters 2 and 5User portion of execution time is main performance metric of interest rst.sec = instr cycles secs prog prog instr cycle = IC CPI CTIC measures algorithmic complexity (when instruction mix is included it is better). It is
S.F. State - CS - 4101
Review of Chapters 2 and 5User portion of execution time is main performance metric of interest rst.sec = instr cycles secs prog prog instr cycle = IC CPI CTIC measures algorithmic complexity (when instruction mix is included it is better). It is
FSU - CS - 4101
v 1 3 p G a r T X r D5 9 o u z 3 95 X fix@T sD RqBgn`pna E{ ee@7 YD `1D B~j }l@pR6{ `1D qBD ex@eYD `1D qQD X %F9Eyx"ReYD v |5 3BB 3 z 3 z Vo T G G DBT V5B1 G G 3 w u D Q o X 9 T X r D5 9 o 1 35 V 1 a 6r gv "tBR`3n7 HfT sD RqBgn`pna Wqnmee3 X lj ) k
S.F. State - CS - 4101
v 1 3 p G a r T X r D5 9 o u z 3 95 X fix@T sD RqBgn`pna E{ ee@7 YD `1D B~j }l@pR6{ `1D qBD ex@eYD `1D qQD X %F9Eyx"ReYD v |5 3BB 3 z 3 z Vo T G G DBT V5B1 G G 3 w u D Q o X 9 T X r D5 9 o 1 35 V 1 a 6r gv "tBR`3n7 HfT sD RqBgn`pna Wqnmee3 X lj ) k
FSU - CS - 4101
Pipelined ControlUse essentially the same control signals as the single cycle implementation. As before, no control needed for IF and ID stages of pipe, i.e., control does not a ect execution until the EX stage. The opcode is available after the IF
S.F. State - CS - 4101
Pipelined ControlUse essentially the same control signals as the single cycle implementation. As before, no control needed for IF and ID stages of pipe, i.e., control does not a ect execution until the EX stage. The opcode is available after the IF
FSU - CS - 4101
r 3 C T4 6 Q 3 (q2{D$ I m3 & k4 3 68 & cX5(qiyQ 1 I4 3 H d Q 3 $ 1 dq5acDYb4 &C `D3 CH6 gcE&$8 6 1 T4 $ 8 I Q 3 1 I z9VqaPyDP(H u gI T1 Ey4 G4 b53 vt wu &C `D3 I sr "$h& YiFxT 14 148 & h4 Eb2b722bih& H 14 Eba$& WE1r&T63 cp$ &C ED3 1 b4 &
S.F. State - CS - 4101
r 3 C T4 6 Q 3 (q2{D$ I m3 & k4 3 68 & cX5(qiyQ 1 I4 3 H d Q 3 $ 1 dq5acDYb4 &C `D3 CH6 gcE&$8 6 1 T4 $ 8 I Q 3 1 I z9VqaPyDP(H u gI T1 Ey4 G4 b53 vt wu &C `D3 I sr "$h& YiFxT 14 148 & h4 Eb2b722bih& H 14 Eba$& WE1r&T63 cp$ &C ED3 1 b4 &
FSU - CS - 4101
Forwarding for StoresStore requires data in the MEM phase for correct execution. Forwarding of data from an instruction that produces data in the EX phase, e.g., R type can be handled by extending the forwarding decision in the EX phase discussed ea
S.F. State - CS - 4101
Forwarding for StoresStore requires data in the MEM phase for correct execution. Forwarding of data from an instruction that produces data in the EX phase, e.g., R type can be handled by extending the forwarding decision in the EX phase discussed ea
FSU - CS - 4101
qH6H66 9`9VR fFB %52 t oUn6 6 AF p4 I4 0 g 2 R6T HI mU0 hs2 I # beb6 e 7vY lFB E3F VU0 kdB ( H 6 H 6 64 64 2 0 6 T qjCi6iBfV6 939@ e fFH cba`Y hX VU0 DB pi2gfFB e eH 4 4 I H 6FF B 6F I T 6 T R R B 6 y RB H4 t4 2 6 T y RB H R 6 0 g H H R I 6 R hSx
S.F. State - CS - 4101
qH6H66 9`9VR fFB %52 t oUn6 6 AF p4 I4 0 g 2 R6T HI mU0 hs2 I # beb6 e 7vY lFB E3F VU0 kdB ( H 6 H 6 64 64 2 0 6 T qjCi6iBfV6 939@ e fFH cba`Y hX VU0 DB pi2gfFB e eH 4 4 I H 6FF B 6F I T 6 T R R B 6 y RB H4 t4 2 6 T y RB H R 6 0 g H H R I 6 R hSx
FSU - CS - 4101
Branch HazardsBranch target address is available after the MEM phase in current pipeline 3 instructions that follow BEQ can be started in the pipe before the target is known predicting branch not taken requires no new PC related HW if the branch is
S.F. State - CS - 4101
Branch HazardsBranch target address is available after the MEM phase in current pipeline 3 instructions that follow BEQ can be started in the pipe before the target is known predicting branch not taken requires no new PC related HW if the branch is
FSU - CS - 4101
p (3 4a9 (9 hxc 3 m 1 "B 3 %HUP 3& f4( 9 3 "BG G q ( " q @fHe824@E$ ( 3& 64( onD B 5 3GG 3 $ " `CvUE67f$ 31 ( #%)9q T( 3 FPm 799 " qB ( $ c ( 9 " xrpi%d4xHB3& 64(" 9 3& mB W X W 3f&4( HB CB y sX 64( 3 Hp( 93#16)(h9 5" jd g e 3& " klX %7
S.F. State - CS - 4101
p (3 4a9 (9 hxc 3 m 1 "B 3 %HUP 3& f4( 9 3 "BG G q ( " q @fHe824@E$ ( 3& 64( onD B 5 3GG 3 $ " `CvUE67f$ 31 ( #%)9q T( 3 FPm 799 " qB ( $ c ( 9 " xrpi%d4xHB3& 64(" 9 3& mB W X W 3f&4( HB CB y sX 64( 3 Hp( 93#16)(h9 5" jd g e 3& " klX %7
FSU - CS - 4101
Exceptions in a PipelineConsider arithmetic over ow exception causing immediate exception handling (like Chapter 5) Occurs when o ending instruction is in EX stage set PC to exception handler ush all instructions in earlier pipeline stages (IF and I
S.F. State - CS - 4101
Exceptions in a PipelineConsider arithmetic over ow exception causing immediate exception handling (like Chapter 5) Occurs when o ending instruction is in EX stage set PC to exception handler ush all instructions in earlier pipeline stages (IF and I
FSU - CS - 4101
8 04u 8 `4 8 F fqRfR` D ( D 0 0 4 D I c @ D 2 0 g 04 6 0 8 8 F 6 U uu ( D A F saf4 7(H5hVf4 hfph)( D V8 3m(Cs aBD 2 0 4 D I c @ D 2 0 no 8o n 8 2 A 4 F 0 l 6 0 j h V1b(H5hrgVf4 qp4 QVI m2D f4 kh htA kiw 2 8 g A D 8 04u 8 `4 ` @ 4u @ A 0 2 0 4 D I c
S.F. State - CS - 4101
8 04u 8 `4 8 F fqRfR` D ( D 0 0 4 D I c @ D 2 0 g 04 6 0 8 8 F 6 U uu ( D A F saf4 7(H5hVf4 hfph)( D V8 3m(Cs aBD 2 0 4 D I c @ D 2 0 no 8o n 8 2 A 4 F 0 l 6 0 j h V1b(H5hrgVf4 qp4 QVI m2D f4 kh htA kiw 2 8 g A D 8 04u 8 `4 ` @ 4u @ A 0 2 0 4 D I c
FSU - CS - 4101
Memory Hierarchyideally, we want every location in memory whether it contains data or code to be available within a single cycle large and fast memory is prohibitively expensive Di erent technology implies di erent cost per bit and therefore di eren
S.F. State - CS - 4101
Memory Hierarchyideally, we want every location in memory whether it contains data or code to be available within a single cycle large and fast memory is prohibitively expensive Di erent technology implies di erent cost per bit and therefore di eren
FSU - CS - 4101
$ B 6! R $ b 7 6 R $ 7 & 7 $ ! WX7 QS& SyB 8C$ Ce8avb 'Y9P7 T4#&CB I)f 4iEW)ge7 XY7! 5 21#"C)B %A%gG ($ 7 31r (E6VG$ V ( !w& $r6&V $ ! b 6 $ w $ 3 w & $ V G 3 7 b & u 3( R b V G 'i9CSUXU%AWCIvcSQ0)& 4b & gA4b b Ce7 RB $ b CevWv)W#GS)7 R $7b1b ( &
S.F. State - CS - 4101
$ B 6! R $ b 7 6 R $ 7 & 7 $ ! WX7 QS& SyB 8C$ Ce8avb 'Y9P7 T4#&CB I)f 4iEW)ge7 XY7! 5 21#"C)B %A%gG ($ 7 31r (E6VG$ V ( !w& $r6&V $ ! b 6 $ w $ 3 w & $ V G 3 7 b & u 3( R b V G 'i9CSUXU%AWCIvcSQ0)& 4b & gA4b b Ce7 RB $ b CevWv)W#GS)7 R $7b1b ( &
FSU - CS - 4101
Spatial Localityone word lines do not exploit spatial locality for typical computations spatial locality implies if address A is needed then A + will be needed soon. Caches attempt to exploit spatial locality by using multiple word cache lines. when
S.F. State - CS - 4101
Spatial Localityone word lines do not exploit spatial locality for typical computations spatial locality implies if address A is needed then A + will be needed soon. Caches attempt to exploit spatial locality by using multiple word cache lines. when
FSU - CS - 4101
&Ap6U q853 &cF"2 s73 r &RQ V6vVR&# Q %uUQ "@# 0Q 0 # e "( 0 " " u( " u 3 % #%u v6@ r q8$&Q " AV" qs73 d Q pC&u ' ! 7 7 %( 0 0 # 7( e U U 7 (%#% 7 % #3 % u U Q 0( 86542 6&U " ' F%9yS@9e d p5he S 2 D3 2 #3 7 X X 32 Q U 2 Q3 @ Q D 3 2 D B " @ d % @ @
S.F. State - CS - 4101
&Ap6U q853 &cF"2 s73 r &RQ V6vVR&# Q %uUQ "@# 0Q 0 # e "( 0 " " u( " u 3 % #%u v6@ r q8$&Q " AV" qs73 d Q pC&u ' ! 7 7 %( 0 0 # 7( e U U 7 (%#% 7 % #3 % u U Q 0( 86542 6&U " ' F%9yS@9e d p5he S 2 D3 2 #3 7 X X 32 Q U 2 Q3 @ Q D 3 2 D B " @ d % @ @
FSU - CS - 4101
see pp. 564 { 568 for a discussion of cache performance formulas improving hardware design can reduce hit time and the miss penalty increasing line size (within reason) can decrease the miss rate cold-start misses are unavoidable capacity misses are
S.F. State - CS - 4101
see pp. 564 { 568 for a discussion of cache performance formulas improving hardware design can reduce hit time and the miss penalty increasing line size (within reason) can decrease the miss rate cold-start misses are unavoidable capacity misses are
FSU - CS - 4101
i c$ R$ c !$ ' pdSve`V21!# ! ' 5 $ ) $ 9 1bqY8$ tYabQ fcT 5$ ' ) # qIP8abQi #')# btqabQ 5! G8'`g&$ B fHt6t' c '$ 5 c! g`y g&$ B @fc 9 g&$ B ' ) WG65$ I! B! QV!5 $ c ! 5 c ! 64e`I$ g`y `g&$ B fHt6t' c '$
S.F. State - CS - 4101
i c$ R$ c !$ ' pdSve`V21!# ! ' 5 $ ) $ 9 1bqY8$ tYabQ fcT 5$ ' ) # qIP8abQi #')# btqabQ 5! G8'`g&$ B fHt6t' c '$ 5 c! g`y g&$ B @fc 9 g&$ B ' ) WG65$ I! B! QV!5 $ c ! 5 c ! 64e`I$ g`y `g&$ B fHt6t' c '$
FSU - CS - 4101
WRITE BACK for WRITE HITSXYXX XYYXYXYX Yafter read Xafter write xafter displacement of xWRITE THROUGH for WRITE HITSXXX XXXY X YX Yafter read X write bufferingafter write xWRITE BACK WITH WRITE ALLOCATE
S.F. State - CS - 4101
WRITE BACK for WRITE HITSXYXX XYYXYXYX Yafter read Xafter write xafter displacement of xWRITE THROUGH for WRITE HITSXXX XXXY X YX Yafter read X write bufferingafter write xWRITE BACK WITH WRITE ALLOCATE
FSU - CS - 4101
WRITE BACK for WRITE HITSXYXX XYYXYXYX Yafter read Xafter write xafter displacement of xWRITE THROUGH for WRITE HITSXXX XXXY X YX Yafter read X write bufferingafter write xWRITE BACK WITH WRITE ALLOCATE
S.F. State - CS - 4101
WRITE BACK for WRITE HITSXYXX XYYXYXYX Yafter read Xafter write xafter displacement of xWRITE THROUGH for WRITE HITSXXX XXXY X YX Yafter read X write bufferingafter write xWRITE BACK WITH WRITE ALLOCATE
FSU - CS - 4101
Virtual Memorylast level of the hierarchy program works in a \virtual" address space the physical address of data is determined dynamically at runtime a particular virtual address may correspond to many di erent physical addresses over the lifetime
S.F. State - CS - 4101
Virtual Memorylast level of the hierarchy program works in a \virtual" address space the physical address of data is determined dynamically at runtime a particular virtual address may correspond to many di erent physical addresses over the lifetime
FSU - CS - 4101
T "B Q 4B vCUPDI B(0 @234 $ ( $ $ (B i i HqHpU2" G " T ! " E9 $ G 7 v2#x%wvI"6 34(T 9 & ( 69 `r! GY HU" T(7 u8& 4 q& "& Y ( B ( 9 @P3ii Y 4 I $ (BB 4 t31HpX5HE$ $ ( B i i " ! " e & B9 0 B "! e E9 & B " qPvtDUs8@D#UyffI( i(Y 2`9 TB (
S.F. State - CS - 4101
T "B Q 4B vCUPDI B(0 @234 $ ( $ $ (B i i HqHpU2" G " T ! " E9 $ G 7 v2#x%wvI"6 34(T 9 & ( 69 `r! GY HU" T(7 u8& 4 q& "& Y ( B ( 9 @P3ii Y 4 I $ (BB 4 t31HpX5HE$ $ ( B i i " ! " e & B9 0 B "! e E9 & B " qPvtDUs8@D#UyffI( i(Y 2`9 TB (
FSU - CS - 4101
special caches called Translation lookaside bu ers are used to reduce the time it takes to perform virtual to physical translation each entry in the TLB contains a tag (from the virtual page number) and some information from the page table entry, e.g
S.F. State - CS - 4101
special caches called Translation lookaside bu ers are used to reduce the time it takes to perform virtual to physical translation each entry in the TLB contains a tag (from the virtual page number) and some information from the page table entry, e.g
FSU - CS - 4101
Y hu# # ` Y W U Y U ` r GdxcwfPutvqp aX u! q Y U Y ot m bca0 0` ryi Vut7VcY V YsY ` # U U ` r U U # 0d Tut cxfqv 0` $Xyd V qp ` Y e U ` r W Y U # U eW jxlE k k hUgfbf `r e `Ur GVk o7 qd Y U bRgGna" T
S.F. State - CS - 4101
Y hu# # ` Y W U Y U ` r GdxcwfPutvqp aX u! q Y U Y ot m bca0 0` ryi Vut7VcY V YsY ` # U U ` r U U # 0d Tut cxfqv 0` $Xyd V qp ` Y e U ` r W Y U # U eW jxlE k k hUgfbf `r e `Ur GVk o7 qd Y U bRgGna" T
FSU - CS - 4101
Fast Address Translationneed virtual to physical address translation to work at a rate consistent with pipeline three typical approaches:{ extra pipeline stages with a physicallyindexed and tagged cache{ virtually addressed cache { virtually in
S.F. State - CS - 4101
Fast Address Translationneed virtual to physical address translation to work at a rate consistent with pipeline three typical approaches:{ extra pipeline stages with a physicallyindexed and tagged cache{ virtually addressed cache { virtually in
FSU - CS - 4101
0HTA Vvu1T 2 0 A C A 4 R P H 2 ) 2 0 y 0 2 ) C A @ 864 D#V8 PC#1UTSDQ#G uIA !tIVp4 PCIBp53 x 0 H T A 2 0 R R 06 2 2 C A @ 864 Vvu1T !FcXW#uA PCIBp53 x 0HTA 20A 2) 20y02) Vvu1T !IIu8 uIA !tIVp4 PC#1bT1Y#G A i84 e cIVhR Vpr4q5p5G Q0 x CA 4RPH H R 0
S.F. State - CS - 4101
0HTA Vvu1T 2 0 A C A 4 R P H 2 ) 2 0 y 0 2 ) C A @ 864 D#V8 PC#1UTSDQ#G uIA !tIVp4 PCIBp53 x 0 H T A 2 0 R R 06 2 2 C A @ 864 Vvu1T !FcXW#uA PCIBp53 x 0HTA 20A 2) 20y02) Vvu1T !IIu8 uIA !tIVp4 PC#1bT1Y#G A i84 e cIVhR Vpr4q5p5G Q0 x CA 4RPH H R 0
FSU - CS - 4101
speed of components{ CPU speed increasing rapidly (50% peryear){ DRAM spead increasing (10% per year) { disk speed increasing (4 to 6 % per year) { I/O is crucial but lagging in improvementafter n years 0 1 2 5 10CPU time 90 60 40 12 1I/O
S.F. State - CS - 4101
speed of components{ CPU speed increasing rapidly (50% peryear){ DRAM spead increasing (10% per year) { disk speed increasing (4 to 6 % per year) { I/O is crucial but lagging in improvementafter n years 0 1 2 5 10CPU time 90 60 40 12 1I/O
FSU - CS - 4101
x w 0 3WG (' H0 2 9 0 IGi H0 2 9 0 IGa 0 V'4 ' 4 4 2 Vbiv8 s 8 2' s 0 6u 6tGf c' rq i1p ! ! ! !F h g fA )(3)WV' % cb e 4 ' 2 0 d ' F D X 4 ' 2 0 2 E`YA )(3)WV' )U 4 ' 2 0 )(3&1)(' &% T SQ P R HI0G9 2 $#"FD
S.F. State - CS - 4101
x w 0 3WG (' H0 2 9 0 IGi H0 2 9 0 IGa 0 V'4 ' 4 4 2 Vbiv8 s 8 2' s 0 6u 6tGf c' rq i1p ! ! ! !F h g fA )(3)WV' % cb e 4 ' 2 0 d ' F D X 4 ' 2 0 2 E`YA )(3)WV' )U 4 ' 2 0 )(3&1)(' &% T SQ P R HI0G9 2 $#"FD
FSU - CS - 4101
OS Involvement in I/OMultiprogramming scenarios must be coordinated by OS context switches due to interrupts or page faults require OS complicated low level control of I/O devices easiest to handle in OSsupports three main activities for user:{
S.F. State - CS - 4101
OS Involvement in I/OMultiprogramming scenarios must be coordinated by OS context switches due to interrupts or page faults require OS complicated low level control of I/O devices easiest to handle in OSsupports three main activities for user:{
FSU - CS - 4101
( F I0 F @ VrhUI I ( @ G0& d fr92F I G0 rYX B6 qPG #b I di p i D0 & d 9ex f( C I C@ 6 & 64 ( C 6 &II u6 U& 6 q7rqPG QEt&p I8@ 'R2 6 4 F( 2 %44 I( C P'!QfPD0 6 f( I % diI40 % I 7DX74 u VFF (& % )99@ #FIxG( rywv0(sI(C 6 YtfrqPG
S.F. State - CS - 4101
( F I0 F @ VrhUI I ( @ G0& d fr92F I G0 rYX B6 qPG #b I di p i D0 & d 9ex f( C I C@ 6 & 64 ( C 6 &II u6 U& 6 q7rqPG QEt&p I8@ 'R2 6 4 F( 2 %44 I( C P'!QfPD0 6 f( I % diI40 % I 7DX74 u VFF (& % )99@ #FIxG( rywv0(sI(C 6 YtfrqPG
FSU - CS - 4101
Why Parallelism/High-performance?High performance is always a relative term. Algorithmic ambition vs. A ordable systems is the main tradeo . Need for larger problems, e.g., more points in a discretization of a contiuous model { improves delity to gi
S.F. State - CS - 4101
Why Parallelism/High-performance?High performance is always a relative term. Algorithmic ambition vs. A ordable systems is the main tradeo . Need for larger problems, e.g., more points in a discretization of a contiuous model { improves delity to gi
FSU - CS - 4101
x 'rdeE'Y r W G DQ U f I G Ib'gRa @` zY nU )Y W r5Ude{Rc~d bTR~d }U E`YG rU i WQ i D x DQ Y ` I a I tQ I U i Df I d I t U Q W wr rPlv sv@pgH D u vY D IH |d Y D IE W f WY ` d r `D U I Q W ix Ex I i W f UQ H Q I E Q Q U I I pjoPH pU nml'kjd RI'0h
S.F. State - CS - 4101
x 'rdeE'Y r W G DQ U f I G Ib'gRa @` zY nU )Y W r5Ude{Rc~d bTR~d }U E`YG rU i WQ i D x DQ Y ` I a I tQ I U i Df I d I t U Q W wr rPlv sv@pgH D u vY D IH |d Y D IE W f WY ` d r `D U I Q W ix Ex I i W f UQ H Q I E Q Q U I I pjoPH pU nml'kjd RI'0h
FSU - CS - 4101
There are two basic classes of network Direct (static) Indirect (dynamic)Interconnection NetworksTraditionally direct networks are used for distributed memory machines and indirect networks are used for shared memory. THERE IS NO REASON FOR THIS