SlideShare a Scribd company logo
1 of 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 
• School.If you run edhole.out of com 
real registers some variables 
use memory
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 
SmScchehmooooolr.lye.eddhhoolele.c.coomm
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

More Related Content

What's hot

Simplified instructional computer
Simplified instructional computerSimplified instructional computer
Simplified instructional computerKirby Fabro
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes Kanika Thakur
 
System design techniques and networks
System design techniques and networksSystem design techniques and networks
System design techniques and networksRAMPRAKASHT1
 
Embedded computing platform design
Embedded computing platform designEmbedded computing platform design
Embedded computing platform designRAMPRAKASHT1
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes Seshu Chakravarthy
 
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
 
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
 
chap 18 multicore computers
chap 18 multicore computers chap 18 multicore computers
chap 18 multicore computers Sher Shah Merkhel
 
Ch0 computer systems overview
Ch0 computer systems overviewCh0 computer systems overview
Ch0 computer systems overviewAboubakarIbrahima
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazardAJAL A J
 
Pe 6441 advanced manufacturing lab ch4 wks 12 14
Pe  6441 advanced manufacturing lab ch4 wks 12 14Pe  6441 advanced manufacturing lab ch4 wks 12 14
Pe 6441 advanced manufacturing lab ch4 wks 12 14Charlton Inao
 

What's hot (20)

Simplified instructional computer
Simplified instructional computerSimplified instructional computer
Simplified instructional computer
 
13 risc
13 risc13 risc
13 risc
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
 
System design techniques and networks
System design techniques and networksSystem design techniques and networks
System design techniques and networks
 
Embedded computing platform design
Embedded computing platform designEmbedded computing platform design
Embedded computing platform design
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
 
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)
 
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
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Synapseindia dot net development computer programming
Synapseindia dot net development  computer programmingSynapseindia dot net development  computer programming
Synapseindia dot net development computer programming
 
14 superscalar
14 superscalar14 superscalar
14 superscalar
 
chap 18 multicore computers
chap 18 multicore computers chap 18 multicore computers
chap 18 multicore computers
 
Risc & cisk
Risc & ciskRisc & cisk
Risc & cisk
 
Risc vs cisc
Risc vs ciscRisc vs cisc
Risc vs cisc
 
Ch0 computer systems overview
Ch0 computer systems overviewCh0 computer systems overview
Ch0 computer systems overview
 
Array Processor
Array ProcessorArray Processor
Array Processor
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazard
 
Pe 6441 advanced manufacturing lab ch4 wks 12 14
Pe  6441 advanced manufacturing lab ch4 wks 12 14Pe  6441 advanced manufacturing lab ch4 wks 12 14
Pe 6441 advanced manufacturing lab ch4 wks 12 14
 

Viewers also liked

Block personal luiss
Block personal luissBlock personal luiss
Block personal luisstheanswer13
 
blog personal luiss
blog personal luissblog personal luiss
blog personal luisstheanswer13
 
problem solving
problem solvingproblem solving
problem solvingDeepthi MK
 
27 de enero cruz roja nicaraguense firma acuerdo de transicion de los banco...
27 de enero   cruz roja nicaraguense firma acuerdo de transicion de los banco...27 de enero   cruz roja nicaraguense firma acuerdo de transicion de los banco...
27 de enero cruz roja nicaraguense firma acuerdo de transicion de los banco...Cruz Roja Nicaraguense
 
Top schools in noida
Top schools in noidaTop schools in noida
Top schools in noidaEdhole.com
 
Osebno_8_nov14
Osebno_8_nov14Osebno_8_nov14
Osebno_8_nov14Ana Herman
 
Radiografia en endodoncia
Radiografia en endodonciaRadiografia en endodoncia
Radiografia en endodonciaYuTaMoBra
 
Presidente da UBE homenageia Dom Duarte de Bragança
Presidente da UBE homenageia Dom Duarte de BragançaPresidente da UBE homenageia Dom Duarte de Bragança
Presidente da UBE homenageia Dom Duarte de BragançaNoronha Advogados
 
Enfermedades gingivales-inducida-por-factores-sistemicos
Enfermedades gingivales-inducida-por-factores-sistemicosEnfermedades gingivales-inducida-por-factores-sistemicos
Enfermedades gingivales-inducida-por-factores-sistemicosjoaocast_253
 
Module 5 school and community partnership post assessment
Module 5 school and community partnership   post assessmentModule 5 school and community partnership   post assessment
Module 5 school and community partnership post assessmentTess Asuncion
 
Rose presentation - C Peters
Rose presentation - C PetersRose presentation - C Peters
Rose presentation - C PetersCharlene Peters
 
Twin oak
Twin oakTwin oak
Twin oakOCLRE
 
Cara membuat-proposal-sponsorship
Cara membuat-proposal-sponsorshipCara membuat-proposal-sponsorship
Cara membuat-proposal-sponsorshipMoklas Learning
 
Lista de Exercicios Sistemas Lineares do 1 grau.
Lista de Exercicios Sistemas Lineares do 1 grau.Lista de Exercicios Sistemas Lineares do 1 grau.
Lista de Exercicios Sistemas Lineares do 1 grau.Gleidson Luis
 
Taller 1 plan de mercadeo angie
Taller 1 plan de mercadeo angieTaller 1 plan de mercadeo angie
Taller 1 plan de mercadeo angiepaoutb
 
Corporate Magazine UNSERE KJF selection of 6 cover pages
Corporate Magazine UNSERE KJF selection of 6 cover pagesCorporate Magazine UNSERE KJF selection of 6 cover pages
Corporate Magazine UNSERE KJF selection of 6 cover pagesDr. Götz-Dietrich Opitz
 

Viewers also liked (20)

Block personal luiss
Block personal luissBlock personal luiss
Block personal luiss
 
blog personal luiss
blog personal luissblog personal luiss
blog personal luiss
 
problem solving
problem solvingproblem solving
problem solving
 
27 de enero cruz roja nicaraguense firma acuerdo de transicion de los banco...
27 de enero   cruz roja nicaraguense firma acuerdo de transicion de los banco...27 de enero   cruz roja nicaraguense firma acuerdo de transicion de los banco...
27 de enero cruz roja nicaraguense firma acuerdo de transicion de los banco...
 
Top schools in noida
Top schools in noidaTop schools in noida
Top schools in noida
 
Reglement diterzi
Reglement diterziReglement diterzi
Reglement diterzi
 
Osebno_8_nov14
Osebno_8_nov14Osebno_8_nov14
Osebno_8_nov14
 
Radiografia en endodoncia
Radiografia en endodonciaRadiografia en endodoncia
Radiografia en endodoncia
 
Presidente da UBE homenageia Dom Duarte de Bragança
Presidente da UBE homenageia Dom Duarte de BragançaPresidente da UBE homenageia Dom Duarte de Bragança
Presidente da UBE homenageia Dom Duarte de Bragança
 
Bitacoras
BitacorasBitacoras
Bitacoras
 
Apkg pkr 1 nila
Apkg pkr 1 nilaApkg pkr 1 nila
Apkg pkr 1 nila
 
Program 2015
Program 2015Program 2015
Program 2015
 
Enfermedades gingivales-inducida-por-factores-sistemicos
Enfermedades gingivales-inducida-por-factores-sistemicosEnfermedades gingivales-inducida-por-factores-sistemicos
Enfermedades gingivales-inducida-por-factores-sistemicos
 
Module 5 school and community partnership post assessment
Module 5 school and community partnership   post assessmentModule 5 school and community partnership   post assessment
Module 5 school and community partnership post assessment
 
Rose presentation - C Peters
Rose presentation - C PetersRose presentation - C Peters
Rose presentation - C Peters
 
Twin oak
Twin oakTwin oak
Twin oak
 
Cara membuat-proposal-sponsorship
Cara membuat-proposal-sponsorshipCara membuat-proposal-sponsorship
Cara membuat-proposal-sponsorship
 
Lista de Exercicios Sistemas Lineares do 1 grau.
Lista de Exercicios Sistemas Lineares do 1 grau.Lista de Exercicios Sistemas Lineares do 1 grau.
Lista de Exercicios Sistemas Lineares do 1 grau.
 
Taller 1 plan de mercadeo angie
Taller 1 plan de mercadeo angieTaller 1 plan de mercadeo angie
Taller 1 plan de mercadeo angie
 
Corporate Magazine UNSERE KJF selection of 6 cover pages
Corporate Magazine UNSERE KJF selection of 6 cover pagesCorporate Magazine UNSERE KJF selection of 6 cover pages
Corporate Magazine UNSERE KJF selection of 6 cover pages
 

Similar to Top schools in gudgao

Reduced instruction set computers
Reduced instruction set computersReduced instruction set computers
Reduced instruction set computersSyed Zaid Irshad
 
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
 
Performance Tuning by Dijesh P
Performance Tuning by Dijesh PPerformance Tuning by Dijesh P
Performance Tuning by Dijesh PPlusOrMinusZero
 
Basics of micro controllers for biginners
Basics of  micro controllers for biginnersBasics of  micro controllers for biginners
Basics of micro controllers for biginnersGerwin Makanyanga
 
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
 
lec25-final.ppt
lec25-final.pptlec25-final.ppt
lec25-final.pptzahixdd
 
Computer organization basics
Computer organization  basicsComputer organization  basics
Computer organization basicsDeepak John
 
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
 
Fundamentals.pptx
Fundamentals.pptxFundamentals.pptx
Fundamentals.pptxdhivyak49
 

Similar to 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
 
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
 
06-cpu-pre.pptx
06-cpu-pre.pptx06-cpu-pre.pptx
06-cpu-pre.pptx
 
Performance Tuning by Dijesh P
Performance Tuning by Dijesh PPerformance Tuning by Dijesh P
Performance Tuning by Dijesh P
 
Basics of micro controllers for biginners
Basics of  micro controllers for biginnersBasics of  micro controllers for biginners
Basics of micro controllers for biginners
 
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
 
A12 vercelletto indexing_techniques
A12 vercelletto indexing_techniquesA12 vercelletto indexing_techniques
A12 vercelletto indexing_techniques
 
aca mod1.pptx
aca mod1.pptxaca mod1.pptx
aca mod1.pptx
 
lec25-final.ppt
lec25-final.pptlec25-final.ppt
lec25-final.ppt
 
Computer organization basics
Computer organization  basicsComputer organization  basics
Computer organization basics
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD)
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD)
 
Fundamentals.pptx
Fundamentals.pptxFundamentals.pptx
Fundamentals.pptx
 
Introduction to multicore .ppt
Introduction to multicore .pptIntroduction to multicore .ppt
Introduction to multicore .ppt
 

More from 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
 

More from 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
 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

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 • School.If you run edhole.out of com real registers some variables use memory
  • 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 SmScchehmooooolr.lye.eddhhoolele.c.coomm
  • 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