SlideShare uma empresa Scribd logo
1 de 12
Performance consideration of
computers(CISC vs RISC debate)
By k.Meenakshi
Professor, GRIET
Performance considerations
• As processor hardware became much less expensive in the 1980’s, thanks to the VLSI
technology.
• The computer designers increased the use of multi step instruction. This reduces the
number of instructions executed per task, since a single complex instruction replace several
simpler ones.
• Reducing N in this way reduces the overall program execution time that the CPU spends
fetching instructions and their operands from memory.
• The same advances in VLSI made it possible to add new features to old microprocessors
such as new instructions , data types, instruction sets, and addressing modes, while retaining
the ability to execute programs written for the older machines.
INTEL 80X86/Pentium
• The intel 80x86/ Pentium series illustrates the trend towards more complex instruction
set. It is made up of 20000 transistors with 1 Mega byte of memory and complete
instruction set and had no instructions for handling the floating pont numbers.
• Twenty five years later its direct descendent, the Pentium contains 3 million
instructions, processed 32 bit and 64 bit words directly and executed a comprehensive
set of floating point instructions.
• The Pentium accumulates most of the architectural features of its various predecessors
with little or no modification, programs written for earlier 80x86 series machines.
• Reflecting these characterestics, the 80x86, 680x0 and most older computer series have
been called complex instruction set computer.
Disadvantages of CISC processors
• By the 1980’s, it became apparent that the complex instructions have certain
disadvantages and the execution of even a small percentage if such
instructions can reduce the computers overall performance.
• Suppose a simple instruction require k time units to execute. If there are 100
simple instructions, the time required to execute 100 simple instructions is
100k. On the other hand, 5 complex instructions require time units of 21k.
So for executing 100 instructions it requires (21*5+95)k=200k. In other
words, it means 5 percentage of complex instructions double the overall
program execution time.
Disadvantages of CISC
• Thus while complex instructions reduce program size, this technology
necessarily may not translate into the faster program execution.
• Moreover, complex instructions require complex processing circuits, which
tends to put CISCs in the largest and most expensive category.
Reduced Instruction Set Computer(RISC)
• RISC is referred to any computer with an instruction set and an associated
CPU derived for very high performance; the actual size of instruction set is
relatively unimportant.
• The time required to transfer the data from registers to M/IO is five times
the data required to transfer from register to register in CPU.
• The M/IO is not on par with CPU in accessing data. The speed disparity
between CPU-M is called Von Neumann bottleneck.
RISC
• RISC computers usually limit access to main memory to a few store and load
instructions; other instructions including all data processing and program-
control instructions have their operands in CPU registers.
• The so called load-store instructions are intended to reduce the von-
Neumann bottleneck.
CPU speed
• A rough indication of CPU speed is the number of basic operations that it
can perform per unit of time.
• A typical; basic operation is the fixed-point addition of contents of two
registers R1 and R2 as in the symbolic instruction.
• R1:=R1+R2
Such operations are timed by a regular stream of signals issued by a central
timing signal, the system clock.
Clock frequency
• The clock frequency f is measured in millions of ticks per second.
• Each tick of a clock signal triggers a basic operation; hence the time required
to execute the operation is 1/f microseconds.
• A computer clocked 250 MHZ can perform the basic operation is 0.004
micro seconds.
• Complicated operations such as division operation on floating point
numbers can require more than one clock cycle for execution.
Clock frequency
• The CPU’s processing of an instruction involves several steps such as:
• 1. Fetch the instruction from main memory M
• Decode the instructions opcode
• Load from memory any operand unless they are already in the CPU.
• Execute the instruction via register to register operation using an appropriate
functional unit such as a fixed point adder.
• Store the results in M until they are to be retained in CPU registers.
PERFORMANCE MEASURE
Suppose the execution of a particular benchmark program or set of such
programs Q on a CPU takes T seconds and involves an execution of a total N
machine instructions.
Let average instructions executed per second is denoted by IPS.
Then T=N/IPS
The average number of cycles per instruction IPS
f
CPI
6
10

Execution time
• Where f is the CPU’S clock frequency.
• The execution time T is given by
6
10


f
CPIN
T
The aim of the CISC processor is to reduce the N, while the goal of RISC processor is CPI.

Mais conteúdo relacionado

Mais procurados

Complex instruction set computer ppt
Complex instruction set computer pptComplex instruction set computer ppt
Complex instruction set computer pptVenkatesh Pensalwar
 
Compuer organizaion processing unit
Compuer organizaion processing unitCompuer organizaion processing unit
Compuer organizaion processing unitDeepak John
 
Pipelining and ILP (Instruction Level Parallelism)
Pipelining and ILP (Instruction Level Parallelism) Pipelining and ILP (Instruction Level Parallelism)
Pipelining and ILP (Instruction Level Parallelism) A B Shinde
 
CArcMOOC 05.01 - Elementary pipelining and performance metrics
CArcMOOC 05.01 -  Elementary pipelining and performance metricsCArcMOOC 05.01 -  Elementary pipelining and performance metrics
CArcMOOC 05.01 - Elementary pipelining and performance metricsAlessandro Bogliolo
 
Risc and cisc eugene clewlow
Risc and cisc   eugene clewlowRisc and cisc   eugene clewlow
Risc and cisc eugene clewlowkaran saini
 
17 micro programmed control
17 micro programmed control17 micro programmed control
17 micro programmed controldilip kumar
 
Risc cisc Difference
Risc cisc DifferenceRisc cisc Difference
Risc cisc DifferenceSehrish Asif
 
Dealing with Exceptions Computer Architecture part 1
Dealing with Exceptions Computer Architecture part 1Dealing with Exceptions Computer Architecture part 1
Dealing with Exceptions Computer Architecture part 1Gaditek
 
Instruction pipelining
Instruction pipeliningInstruction pipelining
Instruction pipeliningTech_MX
 

Mais procurados (20)

Complex instruction set computer ppt
Complex instruction set computer pptComplex instruction set computer ppt
Complex instruction set computer ppt
 
Micro programmed control
Micro programmed controlMicro programmed control
Micro programmed control
 
Compuer organizaion processing unit
Compuer organizaion processing unitCompuer organizaion processing unit
Compuer organizaion processing unit
 
Esd module2
Esd module2Esd module2
Esd module2
 
Pipelining and ILP (Instruction Level Parallelism)
Pipelining and ILP (Instruction Level Parallelism) Pipelining and ILP (Instruction Level Parallelism)
Pipelining and ILP (Instruction Level Parallelism)
 
1.prallelism
1.prallelism1.prallelism
1.prallelism
 
Lecture 46
Lecture 46Lecture 46
Lecture 46
 
Processors selection
Processors selectionProcessors selection
Processors selection
 
CArcMOOC 05.01 - Elementary pipelining and performance metrics
CArcMOOC 05.01 -  Elementary pipelining and performance metricsCArcMOOC 05.01 -  Elementary pipelining and performance metrics
CArcMOOC 05.01 - Elementary pipelining and performance metrics
 
Risc and cisc eugene clewlow
Risc and cisc   eugene clewlowRisc and cisc   eugene clewlow
Risc and cisc eugene clewlow
 
Risc and cisc
Risc and ciscRisc and cisc
Risc and cisc
 
Computer arch
Computer archComputer arch
Computer arch
 
13 risc
13 risc13 risc
13 risc
 
17 micro programmed control
17 micro programmed control17 micro programmed control
17 micro programmed control
 
Risc processors
Risc processorsRisc processors
Risc processors
 
Risc
RiscRisc
Risc
 
Risc cisc Difference
Risc cisc DifferenceRisc cisc Difference
Risc cisc Difference
 
Dealing with Exceptions Computer Architecture part 1
Dealing with Exceptions Computer Architecture part 1Dealing with Exceptions Computer Architecture part 1
Dealing with Exceptions Computer Architecture part 1
 
Esd module1
Esd module1Esd module1
Esd module1
 
Instruction pipelining
Instruction pipeliningInstruction pipelining
Instruction pipelining
 

Semelhante a Debate on RISC-CISC

Advanced processor principles
Advanced processor principlesAdvanced processor principles
Advanced processor principlesDhaval Bagal
 
Uni Processor Architecture
Uni Processor ArchitectureUni Processor Architecture
Uni Processor ArchitectureAshish KC
 
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
 
Basics of micro controllers for biginners
Basics of  micro controllers for biginnersBasics of  micro controllers for biginners
Basics of micro controllers for biginnersGerwin Makanyanga
 
conrol_Unit_part_of_computer_architecture.pptx
conrol_Unit_part_of_computer_architecture.pptxconrol_Unit_part_of_computer_architecture.pptx
conrol_Unit_part_of_computer_architecture.pptxjbri1395
 
CS304PC:Computer Organization and Architecture UNIT V_merged_merged.pdf
CS304PC:Computer Organization and Architecture UNIT V_merged_merged.pdfCS304PC:Computer Organization and Architecture UNIT V_merged_merged.pdf
CS304PC:Computer Organization and Architecture UNIT V_merged_merged.pdfAsst.prof M.Gokilavani
 
Microprocessor and Microcontroller Based Systems.ppt
Microprocessor and Microcontroller Based Systems.pptMicroprocessor and Microcontroller Based Systems.ppt
Microprocessor and Microcontroller Based Systems.pptTALHARIAZ46
 
CMPN301-Pipelining_V2.pptx
CMPN301-Pipelining_V2.pptxCMPN301-Pipelining_V2.pptx
CMPN301-Pipelining_V2.pptxNadaAAmin
 
isa architecture
isa architectureisa architecture
isa architectureAJAL A J
 
Advanced computer architecture lesson 5 and 6
Advanced computer architecture lesson 5 and 6Advanced computer architecture lesson 5 and 6
Advanced computer architecture lesson 5 and 6Ismail Mukiibi
 
Question 1. please describe an embedded system in less than 100 word.pdf
Question 1. please describe an embedded system in less than 100 word.pdfQuestion 1. please describe an embedded system in less than 100 word.pdf
Question 1. please describe an embedded system in less than 100 word.pdfarmcomputers
 
Lecture 3
Lecture 3Lecture 3
Lecture 3Mr SMAK
 
UNIT 3 - General Purpose Processors
UNIT 3 - General Purpose ProcessorsUNIT 3 - General Purpose Processors
UNIT 3 - General Purpose ProcessorsButtaRajasekhar2
 

Semelhante a Debate on RISC-CISC (20)

Risc & cisk
Risc & ciskRisc & cisk
Risc & cisk
 
Risc revolution
Risc revolutionRisc revolution
Risc revolution
 
Advanced processor principles
Advanced processor principlesAdvanced processor principles
Advanced processor principles
 
Uni Processor Architecture
Uni Processor ArchitectureUni Processor Architecture
Uni Processor Architecture
 
CISC VS CISC
CISC VS CISCCISC VS CISC
CISC VS CISC
 
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
 
Basics of micro controllers for biginners
Basics of  micro controllers for biginnersBasics of  micro controllers for biginners
Basics of micro controllers for biginners
 
Ch05
Ch05Ch05
Ch05
 
conrol_Unit_part_of_computer_architecture.pptx
conrol_Unit_part_of_computer_architecture.pptxconrol_Unit_part_of_computer_architecture.pptx
conrol_Unit_part_of_computer_architecture.pptx
 
7 processor
7 processor7 processor
7 processor
 
Unit I_MT2301.pdf
Unit I_MT2301.pdfUnit I_MT2301.pdf
Unit I_MT2301.pdf
 
CS304PC:Computer Organization and Architecture UNIT V_merged_merged.pdf
CS304PC:Computer Organization and Architecture UNIT V_merged_merged.pdfCS304PC:Computer Organization and Architecture UNIT V_merged_merged.pdf
CS304PC:Computer Organization and Architecture UNIT V_merged_merged.pdf
 
Microprocessor and Microcontroller Based Systems.ppt
Microprocessor and Microcontroller Based Systems.pptMicroprocessor and Microcontroller Based Systems.ppt
Microprocessor and Microcontroller Based Systems.ppt
 
CMPN301-Pipelining_V2.pptx
CMPN301-Pipelining_V2.pptxCMPN301-Pipelining_V2.pptx
CMPN301-Pipelining_V2.pptx
 
isa architecture
isa architectureisa architecture
isa architecture
 
Advanced computer architecture lesson 5 and 6
Advanced computer architecture lesson 5 and 6Advanced computer architecture lesson 5 and 6
Advanced computer architecture lesson 5 and 6
 
Question 1. please describe an embedded system in less than 100 word.pdf
Question 1. please describe an embedded system in less than 100 word.pdfQuestion 1. please describe an embedded system in less than 100 word.pdf
Question 1. please describe an embedded system in less than 100 word.pdf
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
UNIT 3 - General Purpose Processors
UNIT 3 - General Purpose ProcessorsUNIT 3 - General Purpose Processors
UNIT 3 - General Purpose Processors
 
unit_1.pdf
unit_1.pdfunit_1.pdf
unit_1.pdf
 

Último

CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 

Último (20)

CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 

Debate on RISC-CISC

  • 1. Performance consideration of computers(CISC vs RISC debate) By k.Meenakshi Professor, GRIET
  • 2. Performance considerations • As processor hardware became much less expensive in the 1980’s, thanks to the VLSI technology. • The computer designers increased the use of multi step instruction. This reduces the number of instructions executed per task, since a single complex instruction replace several simpler ones. • Reducing N in this way reduces the overall program execution time that the CPU spends fetching instructions and their operands from memory. • The same advances in VLSI made it possible to add new features to old microprocessors such as new instructions , data types, instruction sets, and addressing modes, while retaining the ability to execute programs written for the older machines.
  • 3. INTEL 80X86/Pentium • The intel 80x86/ Pentium series illustrates the trend towards more complex instruction set. It is made up of 20000 transistors with 1 Mega byte of memory and complete instruction set and had no instructions for handling the floating pont numbers. • Twenty five years later its direct descendent, the Pentium contains 3 million instructions, processed 32 bit and 64 bit words directly and executed a comprehensive set of floating point instructions. • The Pentium accumulates most of the architectural features of its various predecessors with little or no modification, programs written for earlier 80x86 series machines. • Reflecting these characterestics, the 80x86, 680x0 and most older computer series have been called complex instruction set computer.
  • 4. Disadvantages of CISC processors • By the 1980’s, it became apparent that the complex instructions have certain disadvantages and the execution of even a small percentage if such instructions can reduce the computers overall performance. • Suppose a simple instruction require k time units to execute. If there are 100 simple instructions, the time required to execute 100 simple instructions is 100k. On the other hand, 5 complex instructions require time units of 21k. So for executing 100 instructions it requires (21*5+95)k=200k. In other words, it means 5 percentage of complex instructions double the overall program execution time.
  • 5. Disadvantages of CISC • Thus while complex instructions reduce program size, this technology necessarily may not translate into the faster program execution. • Moreover, complex instructions require complex processing circuits, which tends to put CISCs in the largest and most expensive category.
  • 6. Reduced Instruction Set Computer(RISC) • RISC is referred to any computer with an instruction set and an associated CPU derived for very high performance; the actual size of instruction set is relatively unimportant. • The time required to transfer the data from registers to M/IO is five times the data required to transfer from register to register in CPU. • The M/IO is not on par with CPU in accessing data. The speed disparity between CPU-M is called Von Neumann bottleneck.
  • 7. RISC • RISC computers usually limit access to main memory to a few store and load instructions; other instructions including all data processing and program- control instructions have their operands in CPU registers. • The so called load-store instructions are intended to reduce the von- Neumann bottleneck.
  • 8. CPU speed • A rough indication of CPU speed is the number of basic operations that it can perform per unit of time. • A typical; basic operation is the fixed-point addition of contents of two registers R1 and R2 as in the symbolic instruction. • R1:=R1+R2 Such operations are timed by a regular stream of signals issued by a central timing signal, the system clock.
  • 9. Clock frequency • The clock frequency f is measured in millions of ticks per second. • Each tick of a clock signal triggers a basic operation; hence the time required to execute the operation is 1/f microseconds. • A computer clocked 250 MHZ can perform the basic operation is 0.004 micro seconds. • Complicated operations such as division operation on floating point numbers can require more than one clock cycle for execution.
  • 10. Clock frequency • The CPU’s processing of an instruction involves several steps such as: • 1. Fetch the instruction from main memory M • Decode the instructions opcode • Load from memory any operand unless they are already in the CPU. • Execute the instruction via register to register operation using an appropriate functional unit such as a fixed point adder. • Store the results in M until they are to be retained in CPU registers.
  • 11. PERFORMANCE MEASURE Suppose the execution of a particular benchmark program or set of such programs Q on a CPU takes T seconds and involves an execution of a total N machine instructions. Let average instructions executed per second is denoted by IPS. Then T=N/IPS The average number of cycles per instruction IPS f CPI 6 10 
  • 12. Execution time • Where f is the CPU’S clock frequency. • The execution time T is given by 6 10   f CPIN T The aim of the CISC processor is to reduce the N, while the goal of RISC processor is CPI.