New User Special Price Expires in

Let's log you in.

Sign in with Facebook


Don't have a StudySoup account? Create one here!


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here


by: Adele Schaden MD


Adele Schaden MD
GPA 3.88


Almost Ready


These notes were just uploaded, and will be ready to view shortly.

Purchase these notes here, or revisit this page.

Either way, we'll remind you when they're ready :)

Preview These Notes for FREE

Get a free preview of these Notes, just enter your email below.

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

Class Notes
25 ?




Popular in Course

Popular in ComputerScienence

This 2 page Class Notes was uploaded by Adele Schaden MD on Thursday October 29, 2015. The Class Notes belongs to CS 203A at University of California Riverside taught by Staff in Fall. Since its upload, it has received 40 views. For similar materials see /class/231745/cs-203a-university-of-california-riverside in ComputerScienence at University of California Riverside.

Similar to CS 203A at UCR

Popular in ComputerScienence




Report this Material


What is Karma?


Karma is the currency of StudySoup.

You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 10/29/15
CS 03A Advanced Computer quot Lecture 7 Exception Handling Multicycle operations Instructor Jun Vang Oct 162EIEI3 Outline 39 Difficulties in pipeline Exception handling ISA complications 39 Mu lt icyc le FP operations Review Pipeline hazards Structural hazard Data hazard Control hazard Difficulties in pipeline Exception handling Oct 162EIEI3 Interrupts 3 Implementation issues Difficult case internal interrupt and must be restartable Actions Force a trap nIF ti next c cle 1blsable all writes in pipeline followmg the faulting instruction lYlSl ls tl branch t delay slot and brancn lS lakenl Must save PCs of delay slo size 1 Ppel ned mplementations k concurrent interrupts IF Page fault misaligned access memory protection ID Illegal opcode EX Ari hmetic interupt MEM Same as in IF oa 162nn3 Lee 7 0 ism w 3 Interrupts 4 Example ni m to Id us to in it II ix MEM in Aim n in a MEM in Easy case LW page faults at MEM a D exception at EX 5 rv 39u39 Diff cult case LW has age fault in MEM and ADD page fau ts in IF out of order interrupts Precis a proacii serv ce interrupts in ord Create an merrupl Slams VBCIOV for each lYlSIr LICIlOYl show Ylg stage of occurrence of titerru t 7 Check for interrupts at MEM to WB transition before update to state Less precise approach service interrupts outof order Oct 162EIEI3 tea 7 ISA can be hard for exceptions and pipelining Instructions that modify machine state in the middle of execution may cause imprecise excepti VAgtlt string copy inst mak working storage in register In general provid ng precise handl ng is costly and difficult Complex instructions with memor addressing and multiple operands may cause multiple interrupts in a single instruction Long running inst make the pipeline design difficult because it introduces enormous number of hazards and forwarding conditions Microinstruction a simple instruction used in sequences to lement a more tnplex instruction set Intel VAgtlt 8800 etc Easy for p pel ning Tney look llkz MIPSl oa 162nn3 Ouflinz Mulficyclz Operafions Definitions Dif culties in Pipeline eFiuoiingepu n1 upermiuns require nun pie e Exeepiian nondiing e ISA ere ry H12 number af nipiicaiions cycies 19 we ueiueem we no mum Wu mu m we no in men Muiiicycie FP operaiions nn1mn1n1n121mi deiay cycie nemeen issuing mu ape m1 inn af me Some ype eInine s npie MIPS pipeiine nusi upenoiiuns read uperands oi beginning uf Egtlt ioieney is nu ufcycies in Egtlt minus une Exeepiiun is sme sinned upemnds one read une M2 on uciiunwnh nespeeiiuosi r en EX ioieney uf o e is nine iess cycie runeimnniinn Mnn1 1lges Llluicy Inn nnimenin iniese1 ALU 1 u 1 one memaw 2 1 1 PP Add a 3 1 Mun 1 5 1 FF a 111 Div 25 2o 25 unpipehned m M 2m in 1 1 1221 x A pipeline wifh mulficyclz FP operafions Dafa Hazards WAW A True data dependence RAW 8 Output dependence Wriie Afier Wriie WAW hazard born I and J try to WPHE some 0 i iii iiiiiEii H Vi WPHBS b2 ineordzr even with Vi inierveni r2 1 e 2 39 occurinmuiiicycieapenoiianpipeiines CHJ JJ m 1a mm rwml e e iquot quotwwm y m 1a mm mi in Implicafions of Mulficyclz Operafions Implicafions 2 ffects on Hazards an Forwarding WAW H zords 22 exompie A My Lb is ocycie S39VUC39UW hazards because M W W de zarhzr and has F2 as a dzsi reg HS resuiis wouid be More inon une negisien wniie per cycie siruciumi nozord ovzpwmien b Abbbi eWA Fuss bie rim oii nsi reach WB smge n urder WAR nui f an quot5 WWW AW and U uses F2 Wequot quot15 a N W b 2 quot2 quot29 539239 392 MY a quot I and nu WAW Musi WAWs uccur wnen useiess insi ore 7333273242quot wmp eiiuquot Hf WWWquot Prub em Wi39h execmedi BM such sequences dauccur in neosunobie cude eMure frequem RAW smHs because uf iunger iaiencies 39OP39W e deiayibun iiADDDi n11 Solim H n si n option A Cun iming negisien memury wrnes cax iy rareiyused name we mH in m u ngosnm 1eg 1 1e1ese1ved cycie far 1eg We iie caHiSianvec mx 0 ma euiiisansnemMEMmwasmge canxeiec unien 1m 1a 1 cm iangzx 1m ene Ca 2x EM 7 deqeeq mm 11er ADDD away and issue LI ngnq away mum 1mm l234567xvmn Muiamm F D M1 M2 M3 11 M5 Mm 111 um ws Annumm F ID A A ueu ws yanehmhighmpmhahih yafRAVihamrd W mp ppeineeunnui LDFZMRZ 1 MM ws M 2m Led ii an M 2m 1221 1


Buy Material

Are you sure you want to buy this material for

25 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

Why people love StudySoup

Bentley McCaw University of Florida

"I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"

Jennifer McGill UCSF Med School

"Selling my MCAT study guides and notes has been a great source of side revenue while I'm in school. Some months I'm making over $500! Plus, it makes me happy knowing that I'm helping future med students with their MCAT."

Jim McGreen Ohio University

"Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Parker Thompson 500 Startups

"It's a great way for students to improve their educational experience and it seemed like a product that everybody wants, so all the people participating are winning."

Become an Elite Notetaker and start selling your notes online!

Refund Policy


All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email


StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here:

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.