SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Top School in Gudgao 
By: 
School.edhole.com
William Stallings 
Computer Organization 
and Architecture 
6th Edition 
Chapter 13 
Reduced Instruction 
Set Computers 
School.edhole.com
Major Advances in Computers(1) 
• The family concept 
—IBM System/360 1964 
—DEC PDP-8 
—Separates architecture from implementation 
• Microporgrammed control unit 
—Idea by Wilkes 1951 
—Produced by IBM S/360 1964 
• Cache memory 
—IBM S/360 model 85 1969 
School.edhole.com
Major Advances in Computers(2) 
• Solid State RAM 
—(See memory notes) 
• Microprocessors 
—Intel 4004 1971 
• Pipelining 
—Introduces parallelism into fetch execute cycle 
• Multiple processors 
School.edhole.com
The Next Step - RISC 
• Reduced Instruction Set Computer 
• Key features 
—Large number of general purpose registers 
—or use of compiler technology to optimize register use 
—Limited and simple instruction set 
—Emphasis on optimising the instruction pipeline 
School.edhole.com
Comparison of processors 
School.edhole.com
Driving force for CISC 
• Software costs far exceed hardware costs 
• Increasingly complex high level languages 
• Semantic gap 
• Leads to: 
—Large instruction sets 
—More addressing modes 
—Hardware implementations of HLL statements 
– e.g. CASE (switch) on VAX 
School.edhole.com
Intention of CISC 
• Ease compiler writing 
• Improve execution efficiency 
—Complex operations in microcode 
• Support more complex HLLs 
School.edhole.com
Execution Characteristics 
• Operations performed 
• Operands used 
• Execution sequencing 
• Studies have been done based on programs 
written in HLLs 
• Dynamic studies are measured during the 
execution of the program 
School.edhole.com
Operations 
• Assignments 
—Movement of data 
• Conditional statements (IF, LOOP) 
—Sequence control 
• Procedure call-return is very time consuming 
• Some HLL instruction lead to many machine 
code operations 
School.edhole.com
Relative Dynamic Frequency 
Dynamic Machine Instruction Memory Reference 
Occurrence (Weighted) (Weighted) 
Pascal C Pascal C Pascal C 
Assign 45 38 13 13 14 15 
Loop 5 3 42 32 33 26 
Call 15 12 31 33 44 45 
If 29 43 11 21 7 13 
GoTo - 3 - - - - 
Other 6 1 3 1 2 1 
School.edhole.com
Operands 
• Mainly local scalar variables 
• Optimisation should concentrate on accessing 
local variables 
Pascal C Average 
Integer constant 16 23 20 
Scalar variable 58 53 55 
Array/structure 26 24 25 
School.edhole.com
Procedure Calls 
• Very time consuming 
• Depends on number of parameters passed 
• Depends on level of nesting 
• Most programs do not do a lot of calls followed 
by lots of returns 
• Most variables are local 
• (c.f. locality of reference) 
School.edhole.com
Implications 
• Best support is given by optimising most used 
and most time consuming features 
• Large number of registers 
—Operand referencing 
• Careful design of pipelines 
—Branch prediction etc. 
• Simplified (reduced) instruction set 
School.edhole.com
Large Register File 
• Software solution 
—Require compiler to allocate registers 
—Allocate based on most used variables in a given time 
—Requires sophisticated program analysis 
• Hardware solution 
—Have more registers 
—Thus more variables will be in registers 
School.edhole.com
Registers for Local Variables 
• Store local scalar variables in registers 
• Reduces memory access 
• Every procedure (function) call changes locality 
• Parameters must be passed 
• Results must be returned 
• Variables from calling programs must be 
restored 
School.edhole.com
Register Windows 
• Only few parameters 
• Limited range of depth of call 
• Use multiple small sets of registers 
• Calls switch to a different set of registers 
• Returns switch back to a previously used set of 
registers 
School.edhole.com
Register Windows cont. 
• Three areas within a register set 
—Parameter registers 
—Local registers 
—Temporary registers 
—Temporary registers from one set overlap parameter 
registers from the next 
—This allows parameter passing without moving data 
School.edhole.com
Overlapping Register Windows 
School.edhole.com
Circular Buffer diagram 
School.edhole.com
Operation of Circular Buffer 
• When a call is made, a current window pointer 
is moved to show the currently active register 
window 
• If all windows are in use, an interrupt is 
generated and the oldest window (the one 
furthest back in the call nesting) is saved to 
memory 
• A saved window pointer indicates where the 
next saved windows should restore to 
School.edhole.com
Global Variables 
• Allocated by the compiler to memory 
—Inefficient for frequently accessed variables 
• Have a set of registers for global variables 
School.edhole.com
Registers v Cache 
• Large Register File Cache 
• All local scalars Recently used local scalars 
• Individual variables Blocks of memory 
• Compiler assigned global variables Recently used global variables 
• Save/restore based on procedure Save/restore based on 
nesting caching algorithm 
• Register addressing Memory addressing 
School.edhole.com
Referencing a Scalar - 
Window Based Register File 
School.edhole.com
Referencing a Scalar - Cache 
School.edhole.com
Compiler Based Register Optimization 
• Assume small number of registers (16-32) 
• Optimizing use is up to compiler 
• HLL programs have no explicit references to 
registers 
—usually - think about C - register int 
• Assign symbolic or virtual register to each 
candidate variable 
• Map (unlimited) symbolic registers to real 
registers 
• Symbolic registers that do not overlap can share 
real registers 
• If you run out of real registers some variables 
use memory 
School.edhole.com
Graph Coloring 
• Given a graph of nodes and edges 
• Assign a color to each node 
• Adjacent nodes have different colors 
• Use minimum number of colors 
• Nodes are symbolic registers 
• Two registers that are live in the same program 
fragment are joined by an edge 
• Try to color the graph with n colors, where n is 
the number of real registers 
• Nodes that can not be colored are placed in 
memory
Graph Coloring Approach 
School.edhole.com
Why CISC (1)? 
• Compiler simplification? 
—Disputed… 
—Complex machine instructions harder to exploit 
—Optimization more difficult 
• Smaller programs? 
—Program takes up less memory but… 
—Memory is now cheap 
—May not occupy less bits, just look shorter in symbolic 
form 
– More instructions require longer op-codes 
– Register references require fewer bits 
School.edhole.com
Why CISC (2)? 
• Faster programs? 
—Bias towards use of simpler instructions 
—More complex control unit 
—Microprogram control store larger 
—thus simple instructions take longer to execute 
• It is far from clear that CISC is the appropriate 
solution 
School.edhole.com
RISC Characteristics 
• One instruction per cycle 
• Register to register operations 
• Few, simple addressing modes 
• Few, simple instruction formats 
• Hardwired design (no microcode) 
• Fixed instruction format 
• More compile time/effort 
School.edhole.com
RISC v CISC 
• Not clear cut 
• Many designs borrow from both philosophies 
• e.g. PowerPC and Pentium II 
School.edhole.com
RISC Pipelining 
• Most instructions are register to register 
• Two phases of execution 
—I: Instruction fetch 
—E: Execute 
– ALU operation with register input and output 
• For load and store 
—I: Instruction fetch 
—E: Execute 
– Calculate memory address 
—D: Memory 
– Register to memory or memory to register operation 
School.edhole.com
Effects of Pipelining 
School.edhole.com
Optimization of Pipelining 
• Delayed branch 
—Does not take effect until after execution of following 
instruction 
—This following instruction is the delay slot 
School.edhole.com
Normal and Delayed Branch 
Address Normal Delayed Optimized 
100 LOAD X,A LOAD X,A LOAD X,A 
101 ADD 1,A ADD 1,A JUMP 105 
102 JUMP 105 JUMP 105 ADD 1,A 
103 ADD A,B NOOP ADD A,B 
104 SUB C,B ADD A,B SUB C,B 
105 STORE A,Z SUB C,B STORE A,Z 
106 STORE A,Z 
School.edhole.com
Use of Delayed 
Branch 
School.edhole.com
Controversy 
• Quantitative 
—compare program sizes and execution speeds 
• Qualitative 
—examine issues of high level language support and 
use of VLSI real estate 
• Problems 
—No pair of RISC and CISC that are directly 
comparable 
—No definitive set of test programs 
—Difficult to separate hardware effects from complier 
effects 
—Most comparisons done on “toy” rather than 
production machines 
—Most commercial devices are a mixture 
School.edhole.com
Required Reading 
• Stallings chapter 13 
• Manufacturer web sites 
School.edhole.com

Weitere ähnliche Inhalte

Was ist angesagt?

Simplified instructional computer
Simplified instructional computerSimplified instructional computer
Simplified instructional computerKirby Fabro
 
CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)Dilawar Khan
 
System design techniques and networks
System design techniques and networksSystem design techniques and networks
System design techniques and networksRAMPRAKASHT1
 
Introduction to embedded computing and arm processors
Introduction to embedded computing and arm processorsIntroduction to embedded computing and arm processors
Introduction to embedded computing and arm processorsRAMPRAKASHT1
 
Embedded computing platform design
Embedded computing platform designEmbedded computing platform design
Embedded computing platform designRAMPRAKASHT1
 
Introduction to Simplified instruction computer or SIC/XE
Introduction to Simplified instruction computer or SIC/XEIntroduction to Simplified instruction computer or SIC/XE
Introduction to Simplified instruction computer or SIC/XETemesgen Molla
 
Introducing Embedded Systems and the Microcontrollers
Introducing Embedded Systems and the MicrocontrollersIntroducing Embedded Systems and the Microcontrollers
Introducing Embedded Systems and the MicrocontrollersRavikumar Tiwari
 
Synapseindia dot net development computer programming
Synapseindia dot net development  computer programmingSynapseindia dot net development  computer programming
Synapseindia dot net development computer programmingSynapseindiappsdevelopment
 
Software hardware co-design using xilinx zynq soc
Software hardware co-design using xilinx zynq socSoftware hardware co-design using xilinx zynq soc
Software hardware co-design using xilinx zynq socHossam Hassan
 
Ch0 computer systems overview
Ch0 computer systems overviewCh0 computer systems overview
Ch0 computer systems overviewAboubakarIbrahima
 
Part I:Introduction to assembly language
Part I:Introduction to assembly languagePart I:Introduction to assembly language
Part I:Introduction to assembly languageAhmed M. Abed
 
Performance Tuning by Dijesh P
Performance Tuning by Dijesh PPerformance Tuning by Dijesh P
Performance Tuning by Dijesh PPlusOrMinusZero
 
12 processor structure and function
12 processor structure and function12 processor structure and function
12 processor structure and functionAnwal Mirza
 

Was ist angesagt? (20)

Simplified instructional computer
Simplified instructional computerSimplified instructional computer
Simplified instructional computer
 
CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)
 
System design techniques and networks
System design techniques and networksSystem design techniques and networks
System design techniques and networks
 
Introduction to embedded computing and arm processors
Introduction to embedded computing and arm processorsIntroduction to embedded computing and arm processors
Introduction to embedded computing and arm processors
 
Embedded computing platform design
Embedded computing platform designEmbedded computing platform design
Embedded computing platform design
 
15 ia64
15 ia6415 ia64
15 ia64
 
Introduction to Simplified instruction computer or SIC/XE
Introduction to Simplified instruction computer or SIC/XEIntroduction to Simplified instruction computer or SIC/XE
Introduction to Simplified instruction computer or SIC/XE
 
Introducing Embedded Systems and the Microcontrollers
Introducing Embedded Systems and the MicrocontrollersIntroducing Embedded Systems and the Microcontrollers
Introducing Embedded Systems and the Microcontrollers
 
14 superscalar
14 superscalar14 superscalar
14 superscalar
 
Synapseindia dot net development computer programming
Synapseindia dot net development  computer programmingSynapseindia dot net development  computer programming
Synapseindia dot net development computer programming
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Assembler
AssemblerAssembler
Assembler
 
Risc & cisk
Risc & ciskRisc & cisk
Risc & cisk
 
Software hardware co-design using xilinx zynq soc
Software hardware co-design using xilinx zynq socSoftware hardware co-design using xilinx zynq soc
Software hardware co-design using xilinx zynq soc
 
Ch0 computer systems overview
Ch0 computer systems overviewCh0 computer systems overview
Ch0 computer systems overview
 
07 input output
07 input output07 input output
07 input output
 
Part I:Introduction to assembly language
Part I:Introduction to assembly languagePart I:Introduction to assembly language
Part I:Introduction to assembly language
 
Risc vs cisc
Risc vs ciscRisc vs cisc
Risc vs cisc
 
Performance Tuning by Dijesh P
Performance Tuning by Dijesh PPerformance Tuning by Dijesh P
Performance Tuning by Dijesh P
 
12 processor structure and function
12 processor structure and function12 processor structure and function
12 processor structure and function
 

Andere mochten auch

Atlassian Unite Sponsored Talk - Celix
Atlassian Unite Sponsored Talk - CelixAtlassian Unite Sponsored Talk - Celix
Atlassian Unite Sponsored Talk - CelixAtlassian
 
Social Media for Social Change
Social Media for Social ChangeSocial Media for Social Change
Social Media for Social ChangeRadical Desi
 
CTXAUG 18 MAY 2011
CTXAUG 18 MAY 2011CTXAUG 18 MAY 2011
CTXAUG 18 MAY 2011brotherslane
 
Analytics HubSpot May2009
Analytics HubSpot May2009Analytics HubSpot May2009
Analytics HubSpot May2009HubSpot
 
Podcast presentation
Podcast presentationPodcast presentation
Podcast presentationIPMP 510
 
Razumkov artem -_istoriya_uspeha
Razumkov artem -_istoriya_uspehaRazumkov artem -_istoriya_uspeha
Razumkov artem -_istoriya_uspehaUNOVA
 
Wk1 com4 manintdev_2012
Wk1 com4 manintdev_2012Wk1 com4 manintdev_2012
Wk1 com4 manintdev_2012IPMP 510
 
Thankyoudecember1
Thankyoudecember1Thankyoudecember1
Thankyoudecember1melindagore
 
Writing Reviews
Writing ReviewsWriting Reviews
Writing Reviewskmcintyre3
 
Mba Ebooks ! Edhole
Mba Ebooks ! EdholeMba Ebooks ! Edhole
Mba Ebooks ! EdholeEdhole.com
 
Lindseyallen theory
Lindseyallen theoryLindseyallen theory
Lindseyallen theorylinnyallen
 
Changing East African Mountains: Mount Kilimanjaro, Tanzania [Francois Bart]
Changing East African Mountains: Mount Kilimanjaro, Tanzania [Francois Bart]Changing East African Mountains: Mount Kilimanjaro, Tanzania [Francois Bart]
Changing East African Mountains: Mount Kilimanjaro, Tanzania [Francois Bart]University of the Highlands and Islands
 
Vidiyal By India Sudar in Tamil (Year 2004_05)
Vidiyal By India Sudar in Tamil (Year 2004_05)Vidiyal By India Sudar in Tamil (Year 2004_05)
Vidiyal By India Sudar in Tamil (Year 2004_05)IBM India
 
Podcast workshop
Podcast workshopPodcast workshop
Podcast workshopGlobal_Net
 

Andere mochten auch (20)

Atlassian Unite Sponsored Talk - Celix
Atlassian Unite Sponsored Talk - CelixAtlassian Unite Sponsored Talk - Celix
Atlassian Unite Sponsored Talk - Celix
 
Knowledge Bite Session - Althea Loderick and David Evans - Transformation at ...
Knowledge Bite Session - Althea Loderick and David Evans - Transformation at ...Knowledge Bite Session - Althea Loderick and David Evans - Transformation at ...
Knowledge Bite Session - Althea Loderick and David Evans - Transformation at ...
 
Duftnote 11 / 2011
Duftnote 11 / 2011Duftnote 11 / 2011
Duftnote 11 / 2011
 
Social Media for Social Change
Social Media for Social ChangeSocial Media for Social Change
Social Media for Social Change
 
CTXAUG 18 MAY 2011
CTXAUG 18 MAY 2011CTXAUG 18 MAY 2011
CTXAUG 18 MAY 2011
 
Analytics HubSpot May2009
Analytics HubSpot May2009Analytics HubSpot May2009
Analytics HubSpot May2009
 
Podcast presentation
Podcast presentationPodcast presentation
Podcast presentation
 
RMsis (v1.2.x) Installation
RMsis (v1.2.x) InstallationRMsis (v1.2.x) Installation
RMsis (v1.2.x) Installation
 
Razumkov artem -_istoriya_uspeha
Razumkov artem -_istoriya_uspehaRazumkov artem -_istoriya_uspeha
Razumkov artem -_istoriya_uspeha
 
Wk1 com4 manintdev_2012
Wk1 com4 manintdev_2012Wk1 com4 manintdev_2012
Wk1 com4 manintdev_2012
 
Aalto Talk
Aalto TalkAalto Talk
Aalto Talk
 
Thankyoudecember1
Thankyoudecember1Thankyoudecember1
Thankyoudecember1
 
Writing Reviews
Writing ReviewsWriting Reviews
Writing Reviews
 
Mba Ebooks ! Edhole
Mba Ebooks ! EdholeMba Ebooks ! Edhole
Mba Ebooks ! Edhole
 
Lindseyallen theory
Lindseyallen theoryLindseyallen theory
Lindseyallen theory
 
Changing East African Mountains: Mount Kilimanjaro, Tanzania [Francois Bart]
Changing East African Mountains: Mount Kilimanjaro, Tanzania [Francois Bart]Changing East African Mountains: Mount Kilimanjaro, Tanzania [Francois Bart]
Changing East African Mountains: Mount Kilimanjaro, Tanzania [Francois Bart]
 
Rv11
Rv11Rv11
Rv11
 
Vidiyal By India Sudar in Tamil (Year 2004_05)
Vidiyal By India Sudar in Tamil (Year 2004_05)Vidiyal By India Sudar in Tamil (Year 2004_05)
Vidiyal By India Sudar in Tamil (Year 2004_05)
 
Podcast workshop
Podcast workshopPodcast workshop
Podcast workshop
 
Elsaef Brochure
Elsaef BrochureElsaef Brochure
Elsaef Brochure
 

Ähnlich wie Top schools in gudgao

Reduced instruction set computers
Reduced instruction set computersReduced instruction set computers
Reduced instruction set computersSyed Zaid Irshad
 
Basics of micro controllers for biginners
Basics of  micro controllers for biginnersBasics of  micro controllers for biginners
Basics of micro controllers for biginnersGerwin Makanyanga
 
chapter8.ppt clean code Boundary ppt Coding guide
chapter8.ppt clean code Boundary ppt Coding guidechapter8.ppt clean code Boundary ppt Coding guide
chapter8.ppt clean code Boundary ppt Coding guideSanjeevSaharan5
 
01p1_introduction_to_embedded_system.pdf
01p1_introduction_to_embedded_system.pdf01p1_introduction_to_embedded_system.pdf
01p1_introduction_to_embedded_system.pdfKhaledIbrahim10923
 
RISC Vs CISC Computer architecture and design
RISC Vs CISC Computer architecture and designRISC Vs CISC Computer architecture and design
RISC Vs CISC Computer architecture and designyousefzahdeh
 
Lec4 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- ISA
Lec4 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- ISALec4 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- ISA
Lec4 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- ISAHsien-Hsin Sean Lee, Ph.D.
 
UNIT 3 - General Purpose Processors
UNIT 3 - General Purpose ProcessorsUNIT 3 - General Purpose Processors
UNIT 3 - General Purpose ProcessorsButtaRajasekhar2
 
Fundamentals.pptx
Fundamentals.pptxFundamentals.pptx
Fundamentals.pptxdhivyak49
 
lec25-final.ppt
lec25-final.pptlec25-final.ppt
lec25-final.pptzahixdd
 
2.4 Optimizing your Visual COBOL Applications
2.4   Optimizing your Visual COBOL Applications2.4   Optimizing your Visual COBOL Applications
2.4 Optimizing your Visual COBOL ApplicationsMicro Focus
 
Motivation for multithreaded architectures
Motivation for multithreaded architecturesMotivation for multithreaded architectures
Motivation for multithreaded architecturesYoung Alista
 
IT209 Cpu Structure Report
IT209 Cpu Structure ReportIT209 Cpu Structure Report
IT209 Cpu Structure ReportBis Aquino
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD) Ali Raza
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD) Ali Raza
 

Ähnlich wie Top schools in gudgao (20)

RISC.ppt
RISC.pptRISC.ppt
RISC.ppt
 
Reduced instruction set computers
Reduced instruction set computersReduced instruction set computers
Reduced instruction set computers
 
OpenPOWER Webinar
OpenPOWER Webinar OpenPOWER Webinar
OpenPOWER Webinar
 
06-cpu-pre.pptx
06-cpu-pre.pptx06-cpu-pre.pptx
06-cpu-pre.pptx
 
Basics of micro controllers for biginners
Basics of  micro controllers for biginnersBasics of  micro controllers for biginners
Basics of micro controllers for biginners
 
chapter8.ppt clean code Boundary ppt Coding guide
chapter8.ppt clean code Boundary ppt Coding guidechapter8.ppt clean code Boundary ppt Coding guide
chapter8.ppt clean code Boundary ppt Coding guide
 
Processors selection
Processors selectionProcessors selection
Processors selection
 
01p1_introduction_to_embedded_system.pdf
01p1_introduction_to_embedded_system.pdf01p1_introduction_to_embedded_system.pdf
01p1_introduction_to_embedded_system.pdf
 
RISC Vs CISC Computer architecture and design
RISC Vs CISC Computer architecture and designRISC Vs CISC Computer architecture and design
RISC Vs CISC Computer architecture and design
 
Lec4 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- ISA
Lec4 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- ISALec4 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- ISA
Lec4 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- ISA
 
UNIT 3 - General Purpose Processors
UNIT 3 - General Purpose ProcessorsUNIT 3 - General Purpose Processors
UNIT 3 - General Purpose Processors
 
aca mod1.pptx
aca mod1.pptxaca mod1.pptx
aca mod1.pptx
 
A12 vercelletto indexing_techniques
A12 vercelletto indexing_techniquesA12 vercelletto indexing_techniques
A12 vercelletto indexing_techniques
 
Fundamentals.pptx
Fundamentals.pptxFundamentals.pptx
Fundamentals.pptx
 
lec25-final.ppt
lec25-final.pptlec25-final.ppt
lec25-final.ppt
 
2.4 Optimizing your Visual COBOL Applications
2.4   Optimizing your Visual COBOL Applications2.4   Optimizing your Visual COBOL Applications
2.4 Optimizing your Visual COBOL Applications
 
Motivation for multithreaded architectures
Motivation for multithreaded architecturesMotivation for multithreaded architectures
Motivation for multithreaded architectures
 
IT209 Cpu Structure Report
IT209 Cpu Structure ReportIT209 Cpu Structure Report
IT209 Cpu Structure Report
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD)
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD)
 

Mehr von Edhole.com

Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarkaEdhole.com
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarkaEdhole.com
 
Website development company surat
Website development company suratWebsite development company surat
Website development company suratEdhole.com
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in suratEdhole.com
 
Website dsigning company in india
Website dsigning company in indiaWebsite dsigning company in india
Website dsigning company in indiaEdhole.com
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhiEdhole.com
 
Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarkaEdhole.com
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarkaEdhole.com
 
Website development company surat
Website development company suratWebsite development company surat
Website development company suratEdhole.com
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in suratEdhole.com
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in indiaEdhole.com
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhiEdhole.com
 
Website designing company in mumbai
Website designing company in mumbaiWebsite designing company in mumbai
Website designing company in mumbaiEdhole.com
 
Website development company surat
Website development company suratWebsite development company surat
Website development company suratEdhole.com
 
Website desinging company in surat
Website desinging company in suratWebsite desinging company in surat
Website desinging company in suratEdhole.com
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in indiaEdhole.com
 

Mehr von Edhole.com (20)

Ca in patna
Ca in patnaCa in patna
Ca in patna
 
Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarka
 
Ca in dwarka
Ca in dwarkaCa in dwarka
Ca in dwarka
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarka
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in surat
 
Website dsigning company in india
Website dsigning company in indiaWebsite dsigning company in india
Website dsigning company in india
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 
Ca in patna
Ca in patnaCa in patna
Ca in patna
 
Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarka
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarka
 
Ca in dwarka
Ca in dwarkaCa in dwarka
Ca in dwarka
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in surat
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in india
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 
Website designing company in mumbai
Website designing company in mumbaiWebsite designing company in mumbai
Website designing company in mumbai
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
 
Website desinging company in surat
Website desinging company in suratWebsite desinging company in surat
Website desinging company in surat
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in india
 

Kürzlich hochgeladen

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 

Kürzlich hochgeladen (20)

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 

Top schools in gudgao

  • 1. Top School in Gudgao By: School.edhole.com
  • 2. William Stallings Computer Organization and Architecture 6th Edition Chapter 13 Reduced Instruction Set Computers School.edhole.com
  • 3. Major Advances in Computers(1) • The family concept —IBM System/360 1964 —DEC PDP-8 —Separates architecture from implementation • Microporgrammed control unit —Idea by Wilkes 1951 —Produced by IBM S/360 1964 • Cache memory —IBM S/360 model 85 1969 School.edhole.com
  • 4. Major Advances in Computers(2) • Solid State RAM —(See memory notes) • Microprocessors —Intel 4004 1971 • Pipelining —Introduces parallelism into fetch execute cycle • Multiple processors School.edhole.com
  • 5. The Next Step - RISC • Reduced Instruction Set Computer • Key features —Large number of general purpose registers —or use of compiler technology to optimize register use —Limited and simple instruction set —Emphasis on optimising the instruction pipeline School.edhole.com
  • 6. Comparison of processors School.edhole.com
  • 7. Driving force for CISC • Software costs far exceed hardware costs • Increasingly complex high level languages • Semantic gap • Leads to: —Large instruction sets —More addressing modes —Hardware implementations of HLL statements – e.g. CASE (switch) on VAX School.edhole.com
  • 8. Intention of CISC • Ease compiler writing • Improve execution efficiency —Complex operations in microcode • Support more complex HLLs School.edhole.com
  • 9. Execution Characteristics • Operations performed • Operands used • Execution sequencing • Studies have been done based on programs written in HLLs • Dynamic studies are measured during the execution of the program School.edhole.com
  • 10. Operations • Assignments —Movement of data • Conditional statements (IF, LOOP) —Sequence control • Procedure call-return is very time consuming • Some HLL instruction lead to many machine code operations School.edhole.com
  • 11. Relative Dynamic Frequency Dynamic Machine Instruction Memory Reference Occurrence (Weighted) (Weighted) Pascal C Pascal C Pascal C Assign 45 38 13 13 14 15 Loop 5 3 42 32 33 26 Call 15 12 31 33 44 45 If 29 43 11 21 7 13 GoTo - 3 - - - - Other 6 1 3 1 2 1 School.edhole.com
  • 12. Operands • Mainly local scalar variables • Optimisation should concentrate on accessing local variables Pascal C Average Integer constant 16 23 20 Scalar variable 58 53 55 Array/structure 26 24 25 School.edhole.com
  • 13. Procedure Calls • Very time consuming • Depends on number of parameters passed • Depends on level of nesting • Most programs do not do a lot of calls followed by lots of returns • Most variables are local • (c.f. locality of reference) School.edhole.com
  • 14. Implications • Best support is given by optimising most used and most time consuming features • Large number of registers —Operand referencing • Careful design of pipelines —Branch prediction etc. • Simplified (reduced) instruction set School.edhole.com
  • 15. Large Register File • Software solution —Require compiler to allocate registers —Allocate based on most used variables in a given time —Requires sophisticated program analysis • Hardware solution —Have more registers —Thus more variables will be in registers School.edhole.com
  • 16. Registers for Local Variables • Store local scalar variables in registers • Reduces memory access • Every procedure (function) call changes locality • Parameters must be passed • Results must be returned • Variables from calling programs must be restored School.edhole.com
  • 17. Register Windows • Only few parameters • Limited range of depth of call • Use multiple small sets of registers • Calls switch to a different set of registers • Returns switch back to a previously used set of registers School.edhole.com
  • 18. Register Windows cont. • Three areas within a register set —Parameter registers —Local registers —Temporary registers —Temporary registers from one set overlap parameter registers from the next —This allows parameter passing without moving data School.edhole.com
  • 19. Overlapping Register Windows School.edhole.com
  • 20. Circular Buffer diagram School.edhole.com
  • 21. Operation of Circular Buffer • When a call is made, a current window pointer is moved to show the currently active register window • If all windows are in use, an interrupt is generated and the oldest window (the one furthest back in the call nesting) is saved to memory • A saved window pointer indicates where the next saved windows should restore to School.edhole.com
  • 22. Global Variables • Allocated by the compiler to memory —Inefficient for frequently accessed variables • Have a set of registers for global variables School.edhole.com
  • 23. Registers v Cache • Large Register File Cache • All local scalars Recently used local scalars • Individual variables Blocks of memory • Compiler assigned global variables Recently used global variables • Save/restore based on procedure Save/restore based on nesting caching algorithm • Register addressing Memory addressing School.edhole.com
  • 24. Referencing a Scalar - Window Based Register File School.edhole.com
  • 25. Referencing a Scalar - Cache School.edhole.com
  • 26. Compiler Based Register Optimization • Assume small number of registers (16-32) • Optimizing use is up to compiler • HLL programs have no explicit references to registers —usually - think about C - register int • Assign symbolic or virtual register to each candidate variable • Map (unlimited) symbolic registers to real registers • Symbolic registers that do not overlap can share real registers • If you run out of real registers some variables use memory School.edhole.com
  • 27. Graph Coloring • Given a graph of nodes and edges • Assign a color to each node • Adjacent nodes have different colors • Use minimum number of colors • Nodes are symbolic registers • Two registers that are live in the same program fragment are joined by an edge • Try to color the graph with n colors, where n is the number of real registers • Nodes that can not be colored are placed in memory
  • 28. Graph Coloring Approach School.edhole.com
  • 29. Why CISC (1)? • Compiler simplification? —Disputed… —Complex machine instructions harder to exploit —Optimization more difficult • Smaller programs? —Program takes up less memory but… —Memory is now cheap —May not occupy less bits, just look shorter in symbolic form – More instructions require longer op-codes – Register references require fewer bits School.edhole.com
  • 30. Why CISC (2)? • Faster programs? —Bias towards use of simpler instructions —More complex control unit —Microprogram control store larger —thus simple instructions take longer to execute • It is far from clear that CISC is the appropriate solution School.edhole.com
  • 31. RISC Characteristics • One instruction per cycle • Register to register operations • Few, simple addressing modes • Few, simple instruction formats • Hardwired design (no microcode) • Fixed instruction format • More compile time/effort School.edhole.com
  • 32. RISC v CISC • Not clear cut • Many designs borrow from both philosophies • e.g. PowerPC and Pentium II School.edhole.com
  • 33. RISC Pipelining • Most instructions are register to register • Two phases of execution —I: Instruction fetch —E: Execute – ALU operation with register input and output • For load and store —I: Instruction fetch —E: Execute – Calculate memory address —D: Memory – Register to memory or memory to register operation School.edhole.com
  • 34. Effects of Pipelining School.edhole.com
  • 35. Optimization of Pipelining • Delayed branch —Does not take effect until after execution of following instruction —This following instruction is the delay slot School.edhole.com
  • 36. Normal and Delayed Branch Address Normal Delayed Optimized 100 LOAD X,A LOAD X,A LOAD X,A 101 ADD 1,A ADD 1,A JUMP 105 102 JUMP 105 JUMP 105 ADD 1,A 103 ADD A,B NOOP ADD A,B 104 SUB C,B ADD A,B SUB C,B 105 STORE A,Z SUB C,B STORE A,Z 106 STORE A,Z School.edhole.com
  • 37. Use of Delayed Branch School.edhole.com
  • 38. Controversy • Quantitative —compare program sizes and execution speeds • Qualitative —examine issues of high level language support and use of VLSI real estate • Problems —No pair of RISC and CISC that are directly comparable —No definitive set of test programs —Difficult to separate hardware effects from complier effects —Most comparisons done on “toy” rather than production machines —Most commercial devices are a mixture School.edhole.com
  • 39. Required Reading • Stallings chapter 13 • Manufacturer web sites School.edhole.com