Interference graph. Register Allocation. A bigger example. Units of allocation
|
|
- Sheena Matthews
- 5 years ago
- Views:
Transcription
1 Rgistr Alloation Intrfrn graph Th prolm: assign mahin rsours (rgistrs, stak loations) to hol run-tim ata Constraint: simultanously liv ata alloat to iffrnt loations Goal: minimiz ovrha of stak loas & stors an rgistr movs Rprsnt notion of simultanously liv using intrfrn graph nos ar units of alloation n 1 is link y an g to n 2 if n 1 an n 2 ar simultanously liv at som program point symmtri, not rflxiv, not transitiv Two ajant nos must alloat to istint loations Craig Chamrs 181 CSE 501 Craig Chamrs 182 CSE 501 Units of alloation A iggr xampl What ar th units of alloation? varials? sparat f/us hains (liv rangs)? valus? i.., varials, in SSA form aftr opy propagation x := 5 a :=... :=... := a... :=... y := x x := y x... x := a := a := x := a :=... Craig Chamrs 183 CSE 501 Craig Chamrs 184 CSE 501
2 Computing intrfrn graph Alloating rgistrs using intrfrn graph Construt as si-fft of liv varials analysis akwars itrativ fa algorithm Flow funtion: intify fs & last uss LV x :=...y... : Alloating varials to k rgistrs is quivalnt to fining a k-oloring of th intrfrn graph k-oloring: olor nos of graph using up to k olors, ajant nos hav iffrnt olors optimal graph oloring: NP-omplt LV if... : Craig Chamrs 185 CSE 501 Craig Chamrs 186 CSE 501 Spilling Stati frquny stimats If an t fin k-oloring of intrfrn graph, must spill som varials to stak, until th rsulting intrfrn graph is k-oloral Whih to spill? last frquntly ass varials most onfliting varials (nos with highst out-gr) Initial no: wight = 1 Nos aftr ranh: 1/2 wight of ranh Nos in loop: 10x nos outsi loop Dynami profils oul giv ttr frquny stimats Wight intrfrn graph: wight(n) = sum ovr all rfrns (uss an fs) r of n: xution frquny of r Just n huristi ranking of varials Try to spill nos with lowst wight an highst out-gr, if for to spill Craig Chamrs 187 CSE 501 Craig Chamrs 188 CSE 501
3 Simpl gry alloation algorithm Exampl For all nos, in rasing orr of wight: try to alloat no to a rgistr, if possil if not, alloat to a stak loation Rsrv 2-3 srath rgistrs to us whn manipulating nos alloat to stak loations Wight Orr: Assum 3 rgistrs availal Craig Chamrs 189 CSE 501 Craig Chamrs 190 CSE 501 Improvmnt #1: a simplifiation phas [Chaitin 82] Ky ia: nos with < k nighors an alloat aftr all thir nighors, ut still guarant a rgistr So rmov thm from th graph first rus th gr of th rmaining nos Must rsort to spilling only whn all rmaining nos hav gr k Th algorithm whil intrfrn graph not mpty: whil thr xists a no with < k nighors: rmov it from th graph push it on a stak if all rmaining nos hav k nighors, thn lok: pik a no to spill (hoos no with lowst (spill ost/gr)) rmov no from graph a to spill st if any nos in spill st: insrt spill o for all spill nos (insrt stors aftr fs, loas for uss) ronstrut intrfrn graph, start ovr whil stak not mpty: pop no from stak alloat to rgistr Craig Chamrs 191 CSE 501 Craig Chamrs 192 CSE 501
4 Exampl Exampl Wight Orr: Wight Orr: Assum 3 rgistrs availal Assum 2 rgistrs availal Craig Chamrs 193 CSE 501 Craig Chamrs 194 CSE 501 Susumption An annoying as Twist in Chaitin s algorithm: if s x:=y, whr x & y not simultanously liv, thn mrg liv rangs & liminat all suh opis + avois gnrating o for simpl opis an introu xtra spilling D A B If alloat valus insta of varials or liv rangs, thn susumption happns impliitly C If only 2 rgistrs availal lok immiatly, must spill Craig Chamrs 195 CSE 501 Craig Chamrs 196 CSE 501
5 Improvmnt #2: lok osn t man spill [Briggs t al. 89] Improvmnt #3: liv rang splitting Priority-Bas Coloring [Chow & Hnnssy 84] Ky ia: just aus a no has k nighors osn t man it will n to spill (nighors may gt ovrlapping olors) Algorithm: Lik Chaitin, xpt: whn rmoving lok no, just push onto stak ( optimisti spilling ) whn on rmoving nos: pop nos off stak an s if thy an alloat rally spill only if it an t alloat at this stag Ky ia: if a varial an t alloat to a rgistr, try to split it into multipl surangs that an alloat sparatly mov instrutions insrt at split points som liv rang pis in rgistrs, som in mmory sltiv spilling Othr misllanous nhanmnts Craig Chamrs 197 CSE 501 Craig Chamrs 198 CSE 501 Exampl Improvmnt #4: rmatrialization... a... 1 := := a := a... 2 := :=... 2 := Wight Orr: 2 a Ia: insta of rloaing valu from mmory, romput it insta, if romputation is hapr than rloaing Simpl stratgy: hoos rmatrialization ovr spilling, if an romput a valu in a singl instrution, an all oprans will always availal Exampls: onstants arss of gloal var arss of var in stak fram Assum 2 rgistrs availal Craig Chamrs 199 CSE 501 Craig Chamrs 200 CSE 501
6 Prforman rsults [Briggs t al. 94] E.g. For som prour: Rgistr alloation an alls Simpl approah: alling onvntions Mor sophistiat: intrproural rgistr alloation XXX spill instrutions for YYY spill instrutions aftr YYY is Z% smallr than XXX Z rangs twn -2% an 48% for optimisti spilling Z rangs twn -26% an 33% for rmatrialization Optimisti spilling a goo huristi Mix rsults for rmatrialization Craig Chamrs 201 CSE 501 Craig Chamrs 202 CSE 501 Calling onvntions Call-sav vs. allr-sav rgistrs Goals: fast alls pass k argumnts in rgistrs, rsult in rgistr languag-inpnnt support uggr, profilr, t. Prolmati languag faturs: varargs passing/rturning aggrgats rturning multipl valus xptions, stjmp/longjmp N a onvntion at alls for whih rgistrs manag y allr (allr-sav) an whih manag y all (all-sav) SPARC has harwar-sav rgistrs, too Callr-sav: allr must sav/rstor any allr-sav rgistrs liv aross alls all is fr to us ths rgistrs w/o any ovrha Call-sav: all must sav/rstor any all-sav rgistrs it uss allr is fr to us ths rgistrs, vn aross alls Harwar-sav: allr an all an us frly Craig Chamrs 203 CSE 501 Craig Chamrs 204 CSE 501
7 A prolm with all-sav rgistrs Impat on rgistr alloator Run-tim utilitis (.g. longjmp) an programming nvironmnt tools (.g. uggr) n to al to fin ontnts of rgistrs rlativ to a partiular stak fram Callr-sav rgistrs ar on stak in stak fram at known pla Call-sav rgistrs? How shoul rgistr alloator al w/ alling onvntions? Simpl: alling-onvntion-olivious rgistr alloation spill all liv allr-sav rgistrs for all, rstor aftr all sav all all-sav rgistrs at ntry, rstor at rturn Bttr: alling-onvntion-awar rgistr alloation inorporat prfrr rgistrs for formals, atuals all kills allr-sav rgistrs alloator knows to avoi ths rgistrs, sav/rstor o turns into normal spills liv-rang splitting partiularly usful to split var into for all/uring all/aftr all sgmnts ntry is f of all all-sav rgistrs, xit is us alloator knows must spill ths rgistrs if us in pro Craig Chamrs 205 CSE 501 Craig Chamrs 206 CSE 501 Exploiting alling onvntion Rih man s intrproural rgistr alloation Calling-onvntion-awar rgistr alloator an ustomiz its usag to us hapr rgistrs laf routins (try to) us only allr-sav rgistrs routins with alls us all-sav rgistrs for varials liv aross alls Alloat rgistrs aross alls to minimiz ovrlap twn allr an all sugraph Alloat gloal varials to rgistrs ovr ntir program Poor man s intrproural rgistr alloation Coul o ompil-tim intrproural rgistr alloation + gains most nfit might xpnsiv might rquir lots of rompilation aftr programming hang Or, oul o link-tim r-alloation + low ompil-tim ost + littl impat on sparat ompilation ost at link tim proaly lss fftiv Craig Chamrs 207 CSE 501 Craig Chamrs 208 CSE 501
8 Wall s link-tim rgistr alloator [Wall 86] Compilr os loal alloation + planning for linkr gnrats all graph info gnrats varial usag info for ah pro gnrats rgistr ations xut y linkr if varial alloat to rgistr Linkr os intrproural alloation & paths ompil o trmins intrfrn graph among varials piks st aitional varials to alloat to rgistrs xuts rgistr ations for thos vars to path ompil o Rgistr ations Dsri hangs to o if givn var alloat to a rgistr OPx(var): rpla opran x with rg alloat to var RESULT(var): rpla rsult with rg alloat to var (var): lt instrution if var alloat to a rg Us: for ah varial var r := loa var: (var) rk := ri op rj: OP1(var) if var loa into ri, OP2(var) if var loa into rj, RESULT(var) if var stor from rk, stor var := r: (var) Craig Chamrs 209 CSE 501 Craig Chamrs 210 CSE 501 Exampl A prolm Sour o: w = (x + y) * z; rgistr ations original o x y z w r1 := loa x r2 := loa y r3 := r1 + r2 OP1 OP2 r4 := loa z r5 := r3 * r4 OP2 RESULT stor w := r5 What if loa valu is still liv aftr an ovrwriting stor? Exampl: w = y++ * z; original o r1 := loa y r2 := r1 + 1 stor y := r2 r2 := loa z OP1, RESULT rgistr ations y z w r1 := r1 * r2 OP1 OP2 RESULT stor w := r1 Ths rgistr ations ar rokn, if y in a rgistr! ry := ry + 1 r2 := loa z r1 := ry * r2 // ry ras upat y valu, not original stor w := r1 Craig Chamrs 211 CSE 501 Craig Chamrs 212 CSE 501
9 Solution Link-tim oprations N two mor ations: LOAD(var): rpla loa with mov from rg holing var STORE(var): rpla stor with mov to rg holing var Us LOAD(var) insta of (var) if var is stor into whil rsult of loa is still liv Us STORE(var) insta of (var) if rhs is stor into mor than on varial Exampl: w = x = y++ * z; original o r1 := loa y r2 := r1 + 1 stor y := r2 r2 := loa z rgistr ations x y z w LOAD RESULT r1 := r1 * r2 OP2 RESULT stor x := r1 STORE OP1 stor w := r1 Construt wight all graph from ompilr tals wights an om from stati stimats or profil info ah pro annotat with list of us loal vars Travrs all graph ottom-up, assigning loals to groups (a kin of intrfrn graph) no simultanously-liv loals in sam group ah gloal in its own group group wight y sum of mmrs wights rursion & inirt alls pos ompliations Alloat groups to rgistrs in rasing orr of wight Run rgistr ations uring o rloation to improv o Craig Chamrs 213 CSE 501 Craig Chamrs 214 CSE 501 Exampl Possil improvmnts Call graph: v11,v12 v5, g1 v9, v10 v3,v4,g1,g2 v6, v7, v8 v1,v2, g1 Us ral profil ata to onstrut wights Do intraproural rgistr alloation at ompil-tim Trak livnss info for vars at ah all sit Trak intraproural intrfrn graph Us ral intrfrn graph to run link-tim alloation Groups: Craig Chamrs 215 CSE 501 Craig Chamrs 216 CSE 501
10 Rsults DECWRL Titan RISC prossor: 64 rgistrs Basi xprimnt: loal ompil-tim alloation uss 8 rgistrs intrproural link-tim alloator uss 52 rgistrs simpl stati frquny stimats smallish nhmark programs 10-25% sp-up ovr loal alloation alon Small improvmnts (0-6%) with ral profil ata Small improvmnts (0-5%) if us intraproural alloation too mor pronoun for largr, ral nhmarks Lss nfit if fwr rgistrs availal for gloal alloation.g. 5-20% for 8 gloal rgistrs Link-tim + loal ttr than intraproural rgistr alloation Craig Chamrs 217 CSE 501
Lecture 39: Register Allocation. The Memory Hierarchy. The Register Allocation Problem. Managing the Memory Hierarchy
Ltur 39: Rgistr Alloation [Aapt rom nots y R. Boik an G. Nula] Topis: Mmory Hirarhy Managmnt Rgistr Alloation: Rgistr intrrn graph Graph oloring huristis Spilling Cah Managmnt Th Mmory Hirarhy Computrs
More informationRegister Allocation. Register Allocation
Rgistr Allocation Jingk Li Portlan Stat Univrsity Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 1 / 28 Rgistr Allocation Assign an unboun numbr of tmporaris to a fix numbr of rgistrs. Exampl:
More informationLecture Outline. Memory Hierarchy Management. Register Allocation. Register Allocation. Lecture 19. Cache Management. The Memory Hierarchy
Ltur Outlin Mmory Hirrhy Mngmnt Rgistr Allotion Ltur 19 Rgistr Allotion Rgistr intrrn grph Grph oloring huristis Spilling Ch Mngmnt Pro. Boik CS 164 Ltur 17 1 Pro. Boik CS 164 Ltur 17 2 Th Mmory Hirrhy
More informationLecture Outline. Memory Hierarchy Management. Register Allocation. Register Allocation. Lecture 38. Cache Management. Managing the Memory Hierarchy
Ltur Outlin Mmory Hirrhy Mngmnt Rgistr Allotion Ltu8 (rom nots y G. Nul n R. Boik) Rgistr Allotion Rgistr intrrn grph Grph oloring huristis Spilling Ch Mngmnt 4/27/08 Pro. Hilingr CS164 Ltu8 1 4/27/08
More informationGlobal Register Allocation
Ltur Outlin Glol Rgistr Allotion Mmory Hirrhy Mngmnt Rgistr Allotion vi Grph Coloring Rgistr intrrn grph Grph oloring huristis Spilling Ch Mngmnt 2 Th Mmory Hirrhy Rgistrs 1 yl 256-8000 yts Ch 3 yls 256k-16M
More informationHistory Rgistr Allotion Exmpl As ol s intrmit o Consir this progrm with six vrils: := + := + := - 1 Us in th originl FORTRAN ompilr (1950 s) Vry ru lg
Th Mmory Hirrhy Avn Compilrs CMPSCI 710 Spring 2003 Highr = smllr, str, losr to CPU A rl sktop mhin (min) Rgistr Allotion Emry Brgr rgistrs 8 intgr, 8 loting-point; 1-yl ltny L1 h 8K t & instrutions; 2-yl
More informationGraph Theory & Applications. Boundaries Using Graphs. Graph Search. Find the route that minimizes. cost
Graph Thory & Appliations Bounaris Using Graphs 3 4 3 4 5 Fin th rout that minimizs osts Fin th ritial path in a projt Fin th optimal borr aroun a rgion Fin loop an no quations or analog iruit analysis
More informationCSE P 501 Compilers. Register Allocation Hal Perkins Spring UW CSE P 501 Spring 2018 P-1
CSE P 501 Compilrs Rgistr Allotion Hl Prkins Spring 2018 UW CSE P 501 Spring 2018 P-1 Agn Rgistr llotion onstrints Lol mthos Fstr ompil, slowr o, ut goo nough or lots o things (JITs, ) Glol llotion rgistr
More informationRegister Allocation III. Interference Graph Allocators. Computing the Interference Graph (in MiniJava compiler)
Register Alloation III Announements Reommen have interferene graph onstrution working by Monay Last leture Register alloation aross funtion alls Toay Register alloation options Interferene Graph Alloators
More informationRegister Allocation III. Interference Graph Allocators. Coalescing. Granularity of Allocation (Renumber step in Briggs) Chaitin
Register Alloation III Last time Register alloation aross funtion alls Toay Register alloation options Interferene Graph Alloators Chaitin Briggs CS553 Leture Register Alloation III 1 CS553 Leture Register
More informationHow to fix your 260Z or 280Z clock.
Sujt Fixing th Kanto Siki lok Author E. Bttio How to fix your 260Z or 280Z lok. I first wrot this up aout two yars ago. This is th sond vrsion of this produr. It is not vry muh diffrnt to my first ffort
More informationCompilation Lecture 11a. Register Allocation Noam Rinetzky. Text book: Modern compiler implementation in C Andrew A.
Compilation 0368-3133 Leture 11a Text book: Modern ompiler implementation in C Andrew A. Appel Register Alloation Noam Rinetzky 1 Registers Dediated memory loations that an be aessed quikly, an have omputations
More informationToday More register allocation Clarifications from last time Finish improvements on basic graph coloring concept Procedure calls Interprocedural
More Register Allocation Last time Register allocation Global allocation via graph coloring Today More register allocation Clarifications from last time Finish improvements on basic graph coloring concept
More informationFinding a Funicular Curve Through Two Points
This is th glss pyrmi t th Louvr Musum in Pris, sign y rhitt I.M. Pi. It is support from nth y stl ls. In signing strutur suh s this, it is oftn most usful to slt l of rtin siz n tnsil strngth, n thn to
More informationCS153: Compilers Lecture 20: Register Allocation I
CS153: Copilrs Ltur 20: Ristr Alloation I Stpn Con ttps://www.sas.arvar.u/ourss/s153 Pr-lass Puzzl Wat s t iniu nur o olors n to olor a ap o t USA? Evry stat is assin on olor Aant stats ust ivn irnt olors
More informationMidterm 2 - Solutions 1
COS 26 Gnral Computr Scinc Spring 999 Midtrm 2 - Solutions. Writ a C function int count(char s[ ]) that taks as input a \ trminatd string and outputs th numbr of charactrs in th string (not including th
More informationShift. Reduce. Review: Shift-Reduce Parsing. Bottom-up parsing uses two actions: Bottom-Up Parsing II. ABC xyz ABCx yz. Lecture 8.
Rviw: Shift-Rduc Parsing Bottom-up parsing uss two actions: Bottom-Up Parsing II Lctur 8 Shift ABC xyz ABCx yz Rduc Cbxy ijk CbA ijk Prof. Aikn CS 13 Lctur 8 1 Prof. Aikn CS 13 Lctur 8 2 Rcall: h Stack
More informationFLASHING CHRISTMAS TREE KIT
R4 FLASHING CHRISTMAS TREE KIT 9 10 8 7 11 6 R3 12 T4 C4 5 T3 R5 R7 13 C3 C2 4 14 R1 T2 R6 3 OWNER S MANUAL T1 R8 15 2 C1 R2 1 16 Cat. No. 277-8001 CUSTOM MANUFACTURED FOR TANDY CORPORATION LTD ASSEMBLY
More informationScalable and Robust Management of Dynamic Graph Data
Salabl an Robust Managmnt of Dynami Graph Data Alan G. Labousur, Paul W. Olsn Jr., an Jong-Hyon Hwang {alan, polsn, jhh}@s.albany.u Dpartmnt of Computr Sin, Univrsity at Albany Stat Univrsity of Nw York,
More informationEE 231 Fall EE 231 Homework 10 Due November 5, 2010
EE 23 Fall 2 EE 23 Homwork Du Novmbr 5, 2. Dsign a synhronous squntial iruit whih gnrats th following squn. (Th squn should rpat itslf.) (a) Draw a stat transition diagram for th iruit. This is a systm
More informationApril 15, 2015 More Register Allocation 1. Problem Register values may change across procedure calls The allocator must be sensitive to this
More Register Allocation Last time Register allocation Global allocation via graph coloring Today More register allocation Procedure calls Interprocedural April 15, 2015 More Register Allocation 1 Register
More informationET (mm/d), mean, SCEN-CTL
a T M (K), man, SCEN-CTL 8 7 6 4 - - - -4 - -6-7 -8 T M (K), stv, SCEN-CTL..8.6.4. -. -.4 -.6 -.8 - -. SM (mm), man, SCEN-CTL 7 - - -7 - - - - SM (mm), stv, SCEN-CTL - - - - - - P (mm/), man, SCEN-CTL...7..
More informationCSE 272 Assignment 1
CSE 7 Assignmnt 1 Kui-Chun Hsu Task 1: Comput th irradianc at A analytically (point light) For point light, first th nrgy rachd A was calculatd, thn th nrgy was rducd by a factor according to th angl btwn
More informationObjectives. Two Ways to Implement Lists. Lists. Chapter 24 Implementing Lists, Stacks, Queues, and Priority Queues
Chaptr 24 Implmnting Lists, Stacks, Quus, and Priority Quus CS2: Data Structurs and Algorithms Colorado Stat Univrsity Original slids by Danil Liang Modifid slids by Chris Wilcox Objctivs q To dsign common
More informationThe Network Layer: Routing Algorithms. The Network Layer: Routing & Addressing Outline
PS 6 Ntwork Programming Th Ntwork Layr: Routing lgorithms Michl Wigl partmnt of omputr Scinc lmson Univrsity mwigl@cs.clmson.du http://www.cs.clmson.du/~mwigl/courss/cpsc6 Th Ntwork Layr: Routing & ddrssing
More informationGreedy Algorithms. Interval Scheduling. Greedy Algorithm. Optimality. Greedy Algorithm (cntd) Greed is good. Greed is right. Greed works.
Algorithm Grdy Algorithm 5- Grdy Algorithm Grd i good. Grd i right. Grd work. Wall Strt Data Structur and Algorithm Andri Bulatov Algorithm Grdy Algorithm 5- Algorithm Grdy Algorithm 5- Intrval Schduling
More informationCPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer: Routing Algorithms. Routing Algorithms Taxonomy
PS Intrntworking Th Ntwork Layr: Routing & ddrssing Outlin Th Ntwork Layr: Routing lgorithms Michl Wigl partmnt of omputr Scinc lmson Univrsity mwigl@cs.clmson.du Novmbr, Ntwork layr functions Routr architctur
More informationReview: Binary Trees. CSCI 262 Data Structures. Search Trees. In Order Traversal. Binary Search Trees 4/10/2018. Review: Binary Tree Implementation
Rviw: Binry Trs CSCI 262 Dt Struturs 21 Binry Srh Trs A inry tr is in rursivly: = or A inry tr is (mpty) root no with lt hil n riht hil, h o whih is inry tr. Rviw: Binry Tr Implmnttion Just ollow th rursiv
More informationCMSC 430 Introduction to Compilers. Spring Register Allocation
CMSC 430 Introuction to Compilers Spring 2016 Register Allocation Introuction Change coe that uses an unoune set of virtual registers to coe that uses a finite set of actual regs For ytecoe targets, can
More informationPrinciples of Programming Languages Topic: Formal Languages II
Principls of Programming Languags Topic: Formal Languags II CS 34,LS, LTM, BR: Formal Languags II Rviw A grammar can b ambiguous i.. mor than on pars tr for sam string of trminals in a PL w want to bas
More informationOn Some Maximum Area Problems I
On Som Maximum Ara Problms I 1. Introdution Whn th lngths of th thr sids of a triangl ar givn as I 1, I and I 3, thn its ara A is uniquly dtrmind, and A=s(s-I 1 )(s-i )(s-i 3 ), whr sis th smi-primtr t{i
More informationSystems in Three Variables. No solution No point lies in all three planes. One solution The planes intersect at one point.
3-5 Systms in Thr Variabls TEKS FOCUS VOCABULARY TEKS (3)(B) Solv systms of thr linar quations in thr variabls by using Gaussian limination, tchnology with matrics, and substitution. Rprsntation a way
More informationSummary: Semantic Analysis
Summary: Smantic Analysis Chck rrors not dtctd by lxical or syntax analysis Intrmdiat Cod Scop rrors: Variabls not dfind Multipl dclarations Typ rrors: Assignmnt of valus of diffrnt typs Invocation of
More informationReachability. Directed DFS. Strong Connectivity Algorithm. Strong Connectivity. DFS tree rooted at v: vertices reachable from v via directed paths
irt Grphs OR SFO FW LX JFK MI OS irph is rph whos s r ll irt Short or irt rph pplitions on-wy strts lihts tsk shulin irphs ( 12.) irt Grphs 1 irt Grphs 2 irph Proprtis rph G=(V,) suh tht h os in on irtion:
More informationDivide & Conquer-based Inclusion Dependency Discovery
Divid & Conqur-basd Inlusion Dpndny Disovry Thorstn Papnbrok Jorg-Arnulfo Quiané-Ruiz Hasso Plattnr Institut (HPI) Potsdam, Grmany Sbastian Krus Flix Naumann Qatar Computing Rsarh Institut (QCRI) Doha,
More informationSpectral sensitivity and color formats
FirWir camras Spctral snsitivity and color formats At th "input" of a camra, w hav a CCD chip. It transforms photons into lctrons. Th spctral snsitivity of this transformation is an important charactristic
More informationPresentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, Directed Graphs BOS SFO
Prsntation for us with th txtbook, Algorithm Dsign and Applications, by M. T. Goodrich and R. Tamassia, Wily, 2015 Dirctd Graphs BOS ORD JFK SFO LAX DFW MIA 2015 Goodrich and Tamassia Dirctd Graphs 1 Digraphs
More informationMotivation. Synthetic OOD concepts and reuse Lecture 4: Separation of concerns. Problem. Solution. Deleting composites that share parts. Or is it?
Synthtic OOD concpts and rus Lctur 4: Sparation of concrns Topics: Complx concrn: Mmory managmnt Exampl: Complx oprations on composit structurs Problm: Mmory laks Solution: Rfrnc counting Motivation Suppos
More informationTiling the plane with equilateral convex pentagons
Prol Volum 52, Issu 3 (2016) Tiling th pln with quiltrl onvx pntgons Mri Fishr 1 Mthmtiins n non-mthmtiins hv n onrn with fining pntgonl tilings for lmost 100 yrs, yt tiling th pln with onvx pntgons rmins
More informationOverview Linear Algebra Review Linear Algebra Review. What is a Matrix? Additional Resources. Basic Operations.
Oriw Ro Jnow Mon, Sptmr 2, 24 si mtri oprtions (, -, *) Cross n ot prouts Dtrminnts n inrss Homonous oorints Ortonorml sis itionl Rsours 8.6 Tt ook 6.837 Tt ook 6.837-stff@rpis.sil.mit.u Ck t ours wsit
More informationRTL Design Flow. Layout Compaction. Prof. Kurt Keutzer Prof. A. R. Newton UC Berkeley Prof. M. Orshansky UCB U of Texas. Library.
Layout ompaction Prof. Kurt Kutzr Prof. A. R. Nwton U rkly Prof. M. Orshansky U U of Txas RTL Dsign Flow HDL RTL Synthsis Manual Dsign Moul Gnrators Lirary ntlist logic optimization a s clk q ntlist a
More information2018 How to Apply. Application Guide. BrandAdvantage
2018 How to Apply Application Guid BrandAdvantag Contnts Accssing th Grant Sit... 3 Wlcom pag... 3 Logging in To Pub Charity... 4 Rgistration for Nw Applicants ( rgistr now )... 5 Organisation Rgistration...
More information8.3 INTEGRATION BY PARTS
8.3 Intgration By Parts Contmporary Calculus 8.3 INTEGRATION BY PARTS Intgration by parts is an intgration mthod which nabls us to find antidrivativs of som nw functions such as ln(x) and arctan(x) as
More informationType & Media Page 1. January 2014 Libby Clarke
Nam: 1 In ordr to hlp you s your progrss at th nd of this ntir xrcis, you nd to provid som vidnc of your starting point. To start, draw th a on th lft into th box to th right, dpicting th sam siz and placmnt.
More information1 Disjoint-set data structure.
CS 124 Setion #4 Union-Fin, Greey Algorithms 2/20/17 1 Disjoint-set ata struture. 1.1 Operations Disjoint-set ata struture enale us to effiiently perform operations suh as plaing elements into sets, querying
More information2 Mega Pixel. HD-SDI Bullet Camera. User Manual
2 Mga Pixl HD-SDI Bullt Camra Usr Manual Thank you for purchasing our product. This manual is only applicabl to SDI bullt camras. Thr may b svral tchnically incorrct placs or printing rrors in this manual.
More information: Mesh Processing. Chapter 6
600.657: Msh Procssing Chaptr 6 Quad-Dominant Rmshing Goal: Gnrat a rmshing of th surfac that consists mostly of quads whos dgs align with th principal curvatur dirctions. [Marinov t al. 04] [Alliz t al.
More informationWORKSHOP 2 Solid Shell Composites Modeling
WORKSHOP 2 Soli Shll Composits Moling WS2-1 WS2-2 Workshop Ojtivs Bom fmilir with stting up soli omposit shll mol Softwr Vrsion Ptrn 2011 MD Nstrn 2011.1 Fils Rquir soli_shll. WS2-3 Prolm Dsription Simult
More informationOutline. Graphs Describing Precedence. Graphs Describing Precedence. Topological SorFng of DAGs. Graphs Describing Precedence 4/25/12. Part 10.
4// Outlin Prt. Grphs CS Algorithms n Dt Struturs Introution Trminology Implmnting Grphs Grph Trvrsls Topologil Sorting Shortst Pths Spnning Trs Minimum Spnning Trs Ciruits Grphs Dsriing Prn Grphs Dsriing
More informationCSE P 501 Compilers. Register Allocation Hal Perkins Autumn /22/ Hal Perkins & UW CSE P-1
CSE P 501 Compilers Register Allocation Hal Perkins Autumn 2011 11/22/2011 2002-11 Hal Perkins & UW CSE P-1 Agenda Register allocation constraints Local methods Faster compile, slower code, but good enough
More informationCS 331: Artificial Intelligence Bayesian Networks (Inference) Inference
S 331: rtificil Intllignc ysin Ntworks Infrnc 1 Infrnc Suppos you r givn ysin ntwork with th grph structur n th prmtrs ll figur out Now you woul lik to us it to o infrnc You n infrnc to mk prictions or
More informationBuilding a Scanner, Part I
COMP 506 Ric Univrsity Spring 2018 Building a Scannr, Part I sourc cod IR Front End Optimizr Back End IR targt cod Copyright 2018, Kith D. Coopr & Linda Torczon, all rights rsrvd. Studnts nrolld in Comp
More informationStore Tours Washington DC
Things To Look For: Th Customr Journy == Entrn == Cln n inviting? Opning hours post? Wht o you noti vn for you ntr? == First Imprssion == Lighting? Musi plying? Dos th stor fl wloming? Dos somon grt you
More informationMaxwell s unification: From Last Time. Energy of light. Modern Physics. Unusual experimental results. The photoelectric effect
From Last Tim Enrgy and powr in an EM wav Maxwll s unification: 1873 Intimat connction btwn lctricity and magntism Exprimntally vrifid by Hlmholtz and othrs, 1888 Polarization of an EM wav: oscillation
More informationWorkbook for Designing Distributed Control Applications using Rockwell Automation s HOLOBLOC Prototyping Software John Fischer and Thomas O.
Workbook for Dsigning Distributd Control Applications using Rockwll Automation s HOLOBLOC Prototyping Softwar John Fischr and Thomas O. Bouchr Working Papr No. 05-017 Introduction A nw paradigm for crating
More informationi e ai E ig e v / gh E la ES h E A X h ES va / A SX il E A X a S
isto C o C or Co r op ra p a py ag yr g ri g g gh ht S S S V V K r V K r M K v M r v M rn v MW n W S r W Sa r W K af r: W K f : a H a M r T H r M rn w T H r Mo ns w T i o S ww c ig on a w c g nd af ww
More informationOutline. Register Allocation. Issues. Storing values between defs and uses. Issues. Issues P3 / 2006
P3 / 2006 Register Allocation What is register allocation Spilling More Variations and Optimizations Kostis Sagonas 2 Spring 2006 Storing values between defs and uses Program computes with values value
More informationCompiling: Examples and Sample Problems
REs for Kywors Compiling: Exmpls n mpl Prolms IC312 Mchin-Lvl n ystms Progrmming Hnri Csnov (hnric@hwii.u) It is sy to fin RE tht scris ll kywors Ky = if ls for whil int.. Ths cn split in groups if n Kywor
More informationTo Do. Mesh Data Structures. Mesh Data Structures. Motivation. Outline. Advanced Computer Graphics (Fall 2010) Desirable Characteristics 1
Advancd Computr Graphics (Fall 200) CS 283, Lctur 5: Msh Data Structurs Ravi Ramamoorthi http://inst.cs.brkly.du/~cs283/fa0 To Do Assignmnt, Du Oct 7. Start rading and working on it now. Som parts you
More informationCSE 401/M501 Compilers
CSE 401/M501 Compilrs Compilr Bckn Survy Hl Prkins Spring 2018 UW CSE 401/M501 Spring 2018 Q-1 Aministrivi Compilr projct: floting-point u tomorrow (plus lt ys if you hv thm); short rport u Stury night
More informationA Brief Summary of Draw Tools in MS Word with Examples! ( Page 1 )
A Brif Summary of Draw Tools in MS Word with Exampls! ( Pag 1 ) Click Viw command at top of pag thn Click Toolbars thn Click Drawing! A chckmark appars in front of Drawing! A toolbar appars at bottom of
More informationIntersection-free Dual Contouring on Uniform Grids: An Approach Based on Convex/Concave Analysis
Intrsction-fr Dual Contouring on Uniform Grids: An Approach Basd on Convx/Concav Analysis Charli C. L. Wang Dpartmnt of Mchanical and Automation Enginring, Th Chins Univrsity of Hong Kong E-mail: cwang@ma.cuhk.du.hk
More informationEfficient Obstacle-Avoiding Rectilinear Steiner Tree Construction
Efficint Obstacl-Avoiding Rctilinar Stinr Tr Construction Chung-Wi Lin, Szu-Yu Chn, Chi-Fng Li, Yao-Wn Chang, and Chia-Lin Yang Graduat Institut of Elctronics Enginring Dpartmnt of Elctrical Enginring
More information1⅝" - 3¾" (40-95mm) FIXTURE BASE. 3/4" (19mm) 4" - 6¾" ( mm) ALLEN KEY (INCLUDED)
PG: 1 O 7 IMPORTNT - R RULLY OR INSTLLING IXTUR. RTIN THS INSTRUTIONS OR UTUR RRN. THIS PROUT MUST INSTLL IN ORN WITH TH NTIONL LTRIL O N LL PPLIL LOL OS, Y PRSON MILIR WITH TH ONSTRUTION N OPRTION O TH
More informationTerrain Mapping and Analysis
Trrain Mapping and Analysis Data for Trrain Mapping and Analysis Digital Trrain Modl (DEM) DEM rprsnts an array of lvation points. Th quality of DEM influncs th accuracy of trrain masurs such as slop and
More informationART MECH OFFICE 134 STORAGE 138 MECH 015 MECH 013 STOR. 177 GYM 132 ART MECH ELEC. 012 STORAGE 127 CLASSROOM FRC JAN HALL 112.
ANSI/TIA-.-, ommercial uilding Telecommunications Infrastructure Standard, and its published addenda. ANSI/TIA-.-, alanced Twisted-Pair Telecommunications abling and omponents Standard, and its published
More informationProblem Set 1 (Due: Friday, Sept. 29, 2017)
Elctrical and Computr Enginring Mmorial Univrsity of Nwfoundland ENGI 9876 - Advancd Data Ntworks Fall 2017 Problm St 1 (Du: Friday, Spt. 29, 2017) Qustion 1 Considr a communications path through a packt
More informationAbout Notes And Symbols
About Nots And Symbols by Batric Wildr Contnts Sht 1 Sht 2 Sht 3 Sht 4 Sht 5 Sht 6 Sht 7 Sht 8 Sht 9 Sht 10 Sht 11 Sht 12 Sht 13 Sht 14 Sht 15 Sht 16 Sht 17 Sht 18 Sht 19 Sht 20 Sht 21 Sht 22 Sht 23 Sht
More informationISO VIEW COVER, EXPRESS EXIT 4X4 FLIP COVER OPEN VIEW EXPRESS EXIT ON TROUGH VIEW
RV MO WN T 00899MO OVL 07-JN-5 0078MO HUH 7-SP-5 5.90 RF.87 RF.000 RF ISO VIW SL OVR, 0.50 OVR XTNSION X FLIP OVR FGS-MX-- (NOT INLU IN KIT).07 RF 7.7 RF FLIP OVR OPN VIW SL X STRIGHT STION RF RKT, XPRSS
More informationAV1640 ANAG VISION. 16x4 Character
AV1640 16x4 Character 5x7 dots with cursor 1/16 duty +5V single supply Controller built in (KS0066 or quivalent) B/L driven by pin1 and 2, 15 and 16 or A,K Pin Assignment No. Symbol Function 1 Vss Gnd,
More informationExtending z/tpf using IBM API Management (APIM)
Extnding using API Managmnt (APIM) Mark Gambino, TPF Dvlopmnt Lab March 23, 2015 TPFUG Dallas, TX Th Big Pictur Goal Mobil Applications Cloud APIs Cloud-basd Srvics On-Prmis Entrpris APIs E n t r p r I
More informationRun Time Environment. Implementing Object-Oriented Languages
Run Time Environment Implementing Objet-Oriented Languages Copright 2017, Pedro C. Diniz, all rights reserved. Students enrolled in the Compilers lass at the Universit of Southern California have epliit
More informationTo Do. Advanced Computer Graphics. Motivation. Mesh Data Structures. Outline. Mesh Data Structures. Desirable Characteristics 1
Advancd Computr Graphics CSE 63 [Spring 207], Lctur 7 Ravi Ramamoorthi http://www.cs.ucsd.du/~ravir To Do Assignmnt, Du Apr 28 Any last minut issus or difficultis? Starting Gomtry Procssing Assignmnt 2
More informationAlgorithms for Hessenberg-Triangular Reduction of Fiedler Linearization of Matrix Polynomials. Lars Karlsson and Francoise Tisseur.
Algorithms for Hssnbrg-Triangular Rdution of Fidlr Linarization of Matrix Polynomials Lars Karlsson and Franois Tissur May 2014 MIMS EPrint: 2014.25 Manhstr Institut for Mathmatial Sins Shool of Mathmatis
More informationProtection relays. 3-pole thermal overload relays LR2 or LR3-D. Dimensions
-pol thrmal ovrloa rlays LR or LR-D pags 70/ an 70/ pags 70/ to 70/ Shms : pag 70/ Dimnsions LR. LR-D Mounting bnath ontators LC-D09 to D8, LP-D09 to D8 an LP-D b M-DP00 M-DE00 9. 7() 9 8 7 g b() g LC-D09,
More informationRay Tracing. Ray Tracing. Ray Tracing. ray object. ray object = 0. Utah School of Computing Spring Computer Graphics CS5600
Utah School of omputing Spring 20 Wk Ra Tracing S5600 omputr Graphics From Rich Risnfl Spring 203 Ra Tracing lassical gomtric optics tchniqu Etrml vrsatil Historicall viw as pnsiv Goo for spcial ffcts
More information1. Trace the array for Bubble sort 34, 8, 64, 51, 32, 21. And fill in the following table
1. Trac th array for Bubbl sort 34, 8, 64, 51, 3, 1. And fill in th following tabl bubbl(intgr Array x, Intgr n) Stp 1: Intgr hold, j, pass; Stp : Boolan switchd = TRUE; Stp 3: for pass = 0 to (n - 1 &&
More informationDynamic Spatial Partitioning for Real-Time Visibility Determination
Dynamic Spatial Partitioning for Ral-Tim Visibility Dtrmination Joshua Shagam Josph J. Pfiffr, Jr. Nw Mxico Stat Univrsity Abstract Th static spatial partitioning mchanisms usd in currnt intractiv systms,
More informationInterfacing the DP8420A 21A 22A to the AN-538
Intrfacing th DP8420A 21A 22A to th 68000 008 010 INTRODUCTION This application not xplains intrfacing th DP8420A 21A 22A DRAM controllr to th 68000 Thr diffrnt dsigns ar shown and xplaind It is assumd
More informationITEM NO: 660. Dream On Me Inc. 125 Helen Street. S.Plainfield NJ TEL:
Dram On M Inc. 125 Hln Strt ASSEMBLY INSTRUCTIONS S.Plainfild NJ 07080 TEL: 908-791-0555 ITEM NO: 660 FAX: 908-791-1809 Follow warnins on all products in a cri. Adult assmly rquird. Small parts may prsnt
More informationFrom Last Time. Origin of Malus law. Circular and elliptical polarization. Energy of light. The photoelectric effect. Exam 3 is Tuesday Nov.
From Last Tim Enrgy and powr in an EM wav Exam 3 is Tusday Nov. 25 5:30-7 pm, 2103 Ch (hr) Studnts w / schduld acadmic conflict plas stay aftr class Tus. Nov. 18 to arrang altrnat tim. Covrs: all matrial
More informationIntroduction to Data Mining
Introduction to Data Mining Lctur #15: Clustring-2 Soul National Univrsity 1 In Tis Lctur Larn t motivation and advantag of BFR, an xtnsion of K-mans to vry larg data Larn t motivation and advantag of
More informationAcceleration of the Smith-Waterman Algorithm using Single and Multiple Graphics Processors
Acclration of th Smith-Watrman Algorithm using Singl and Multipl Graphics Procssors Ali Khah-Sad, Stphn Pool and J. Blair Prot Abstract Finding rgions of similarity btwn two vry long data strams is a computationally
More informationTotal 100
CS331 SOLUTION Problem # Points 1 10 2 15 3 25 4 20 5 15 6 15 Total 100 1. ssume you are dealing with a ompiler for a Java-like language. For eah of the following errors, irle whih phase would normally
More information" dx v(x) $ % You may also have seen this written in shorthand form as. & ' v(x) + u(x) '# % ! d
Calculus II MAT 146 Mthods of Intgration: Intgration by Parts Just as th mthod of substitution is an intgration tchniqu that rvrss th drivativ procss calld th chain rul, Intgration by parts is a mthod
More informationProbabilistic inference
robabilistic infrnc Suppos th agnt has to mak a dcision about th valu of an unobsrvd qury variabl X givn som obsrvd vidnc E = artially obsrvabl, stochastic, pisodic nvironmnt Eampls: X = {spam, not spam},
More informationXML Data Streams. XML Stream Processing. XML Stream Processing. Yanlei Diao. University of Massachusetts Amherst
XML Stream Proessing Yanlei Diao University of Massahusetts Amherst XML Data Streams XML is the wire format for data exhanged online. Purhase orders http://www.oasis-open.org/ommittees/t_home.php?wg_abbrev=ubl
More informationInstallation Saving. Enhanced Physical Durability Enhanced Performance Warranty The IRR Comparison
Contnts Tchnology Nwly Dvlopd Cllo Tchnology Cllo Tchnology : Improvd Absorption of Light Doubl-sidd Cll Structur Cllo Tchnology : Lss Powr Gnration Loss Extrmly Low LID Clls 3 3 4 4 4 Advantag Installation
More informationDTRB Editor, Support Software for Cell Master
X903594 Vr.1.0 DTRB Editor, Support Softar for Cll Mastr DTRBP-SW-HTC Onr s Manual Vr.1.0 Contnts Chaptr 1 Installation Guid 1. Introduction 1 1-1 Nots 2 1-2 What Is DTRB Editor? 2 1-3 What Is Includd
More informationOutline. Tasks for Exercise Six. Exercise Six Goals. Task One: Kinetic Energy Table. Nested for Loops. Laboratory VI Program Control Using Loops
Ercis 6 -- Loopig March 9, 6 Laboratory VI Program Cotrol Usig Loops Larry Cartto Computr Scic 6 Computig i Egirig ad Scic Outli Ercis si goals Outli tasks for rcis si Itroduc ida of std loops ad tabl
More informationAnnouncements. Lecture Caching Issues for Multi-core Processors. Shared Vs. Private Caches for Small-scale Multi-core
Announements Your fous should be on the lass projet now Leture 17: Cahing Issues for Multi-ore Proessors This week: status update and meeting A short presentation on: projet desription (problem, importane,
More informationAn Enhanced Keystroke Biometric System and Associated Studies
Procings of Stunt-Faculty Rsarch Day, CSIS, Pac Univrsity, May 2 n, 2008 An Enhanc Kystrok Biomtric Systm an Associat Stuis Tarjani Buch, Anra Cotoranu, Eric Jsky, Florin Tihon, Mary Villani Sinbrg School
More informationRay Tracing. Wen-Chieh (Steve) Lin National Chiao-Tung University
Ra Tracing Wn-Chih (Stv Lin National Chiao-Tung Univrsit Shirl, Funamntals of Computr Graphics, Chap 15 I-Chn Lin s CG slis, Doug Jams CG slis Can W Rnr Imags Lik Ths? Raiosit imag Pictur from http://www.graphics.cornll.u/onlin/ralistic/
More informationCOMP 181. Prelude. Intermediate representations. Today. Types of IRs. High-level IR. Intermediate representations and code generation
Prelude COMP 181 Intermediate representations and ode generation November, 009 What is this devie? Large Hadron Collider What is a hadron? Subatomi partile made up of quarks bound by the strong fore What
More informationVAT GX - IP VIDEO FIELD ADD-ON/RETROFIT SINGLE CHANNEL ENCODER
L00 LL -800-999-600 VT GX - IP VIDO ILD DD-ON/RTROIT SINGL HNNL NODR NTWORK ONNTORS SING: MTRIL: P + BS X7240 OLOR: DRK BLU SUSTINBILITY: MMORY: PV R 256 MB RM, 256 MB LSH BTTRY BKD- RL TIM LOK POWR: POWR
More informationLayout Compliance for Triple Patterning Lithography: An Iterative Approach
Layout Compliane for Triple Patterning Lithography: An Iterative Approah Bei Yu, Gilda Garreton, David Z. Pan ECE Dept. University of Texas at Austin, Austin, TX, USA Orale Las, Orale Corporation, Redwood
More informationUndecidability of bounded security protocols
Unciabilit of boun scurit protocols urgin Licoln itchll Scrov FSP Trnto Ital Jul 999 /5/0 Outlin Goals an motivations Snta an smantics oun protocols Eampl LLF Conclusions Qustions /5/0 otivation Scurit
More informationOntology and Context. Isabel Cafezeiro Departamento de Ciência da Computação Universidade Federal Fluminense Niterói - RJ, Brazil
Ontology and Contxt Isabl Cafziro Dpartamnto d Ciência da Computação Univrsidad Fdral Fluminns Nitrói - RJ, Brazil isabl@dcc.ic.uff.br dward Hrmann Hauslr, Alxandr Radmakr Dpartamnto d Informática Pontifícia
More informationClustering Algorithms
Clustring Algoritms Hirarcical Clustring k -Mans Algoritms CURE Algoritm 1 Mtods of Clustring Hirarcical (Agglomrativ): Initially, ac point in clustr by itslf. Rpatdly combin t two narst clustrs into on.
More informationReimbursement Requests in WORKS
Rimbursmnt Rqusts in WORKS Important points about Rimbursmnts in Works Rimbursmnt Rqust is th procss by which UD mploys will b rimbursd for businss xpnss paid using prsonal funds. Rimbursmnt Rqust can
More information