Complex Instruction Set Computer
Complex Instruction Set Computer
(Complex
Instruction Set
Computer)
Kangkan Paul
NITW ECE III/IV
ANDHRA PRADESH
operation of
Multiplication
10/29/2008 Computer Architecture & Design 8
For this particular task, a CISC
processor would come prepared with a specific instruction
(we'll call it "MULT").
MULT A,B
When executed, this instruction
loads the two values into separate registers,
multiplies the operands in the execution unit, and then
stores the product in the appropriate register.
Thus, the entire task of multiplying two numbers can be
completed with one instruction
MULT is what is known as a "complex instruction."
It operates directly on the computer's memory banks and
does not require the programmer to explicitly call any
loading or storing functions.
CISC Approach
It closely resembles a command in a higher level
language,identical to
the C statement "a = a * b."
10/29/2008 Computer Architecture & Design 9
RISC processors only use simple instructions that can
be executed within one clock cycle.
The "MULT" command described above could be
divided into three separate commands:
LOAD A, 2:3
LOAD B, 5:2 (LOAD, which moves data
PROD A, B from the memory
("PROD,"finds bank to
the product of a
two
operands ) register)
STORE 2:3, A ("STORE,“ moves data from a
register to the memory banks)
RISC Approach
10/29/2008 Computer Architecture & Design 10
Primary goal is to
complete a task in as few
lines of assembly as
possible
Emphasis on hardware Primary goal is to
Includes multi-clock speedup individual
complex instructions instruction
Memory-to-memory: Emphasis on software
"LOAD" and "STORE" Single-clock,
incorporated in reduced instruction only
instructions Register to register:
Difficult to apply "LOAD" and "STORE"
pipelining. are independent
Small code sizes, instructions
high cycles per second Easy to apply pipelining.
Low cycles per second,
large code sizes
CISC RISC
10/29/2008 Computer Architecture & Design 11
Thefollowing equation is commonly used for
expressing a computer's performance ability:
cisc
Risc
The CISC approach attempts to minimize the
number of instructions per program, sacrificing
the number of cycles per instruction.
RISC does the opposite, reducing the cycles per
instruction at the cost of the number of
instructions per program.
The Performance
Equation
10/29/2008 Computer Architecture & Design 12
There is still considerable controversy among experts
about which architecture is better.
Some say that RISC is cheaper and faster and
therefore the architecture of the future.
Others note that by making the hardware
simpler, RISC puts a greater burden on the software.
Software needs to become more complex. Software
developers need to write more lines for the same
tasks.
Which one is
better...?
10/29/2008 Computer Architecture & Design 13
No Big Difference
Now!
RISC and CISC architectures are becoming more and more alike.
Many of today's RISC chips support just as many instructions as
yesterday's CISC chips. The PowerPC 601, for example, supports
more instructions than the Pentium. Yet the 601 is considered a
RISC chip, while the Pentium is definitely CISC.
Further more today's CISC chips use many techniques formerly
associated with RISC chips
So simply said: RISC and CISC are growing to each other
Recent
both CISC and RISC. This will in theory allow the
processing of Windows-based as well as UNIX-based
applications by the same CPU.
Developments &
Intel is working on it under code-name Merced. Microsoft
is already developing their Win64 standard for it. Like the
name says, Merced will be a 64-bit chip.
Future Scope
10/29/2008 Computer Architecture & Design 15
http://www.pcguide.com/ref/cpu/arch/int/instComplexity-c.htm
http://www.bookrags.com/research/cisc-complex-instruction-s
http://www.hitequest.com/Kiss/risc_cisc.htm
http://en.wikipedia.org/wiki/Complex_instruction_set_compute
http://en.wikipedia.org/wiki/X86
http://www.amigau.com/aig/riscisc.html
http://arstechnica.com/cpu/4q99/risc-cisc/rvc-1.html
References
10/29/2008 Computer Architecture & Design 16
Thank you.