SlideShare a Scribd company logo
1 of 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.

More Related Content

What's hot

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
 

What's hot (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
 

Similar to 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
 

Similar to 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
 

Recently uploaded

High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
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
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
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
 
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
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 

Recently uploaded (20)

High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
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
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
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 )
 
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)
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 

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.