How Do RISC and CISC Architectures Affect Program Speed?

  • Thread starter Thread starter loonny01
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 replies · 2K views
loonny01
Messages
1
Reaction score
0
1st ques :
In a CISC computer, the instructions addition, multiplication, memory and branch
all take 20 cycles each while in a RISC computer, the execution time is given
below:
addition - 2 cycles
multiplication - 20 cycles
memory - 10 cycles
branch - 4 cycles
Calculate the speedup ratio for a program with 10 million additions, 30 million
multiplications, 35 million memory instructions and 15million branch
instructions. Explain!...

2nd ques:
When running a particular program, computer A achieves 100 MIPS(million
instructions per second) and computer B achives 75 MIPS. However, computer A
takes 60 seconds to execute a program while computer B takes only 45s. How is
this possible?

Really thanz to any1 who willing 2ans this ques!
 
on Phys.org
Hint(s) for #1:
How long would the program take to run on the CISC computer?
How long would the program take to run on the RISC computer?
Which one is faster? Why? By how much? What is the definition of speedup you are using... a formula, perhaps?

Hint(s) for #2:
What does MIPS measure?
Is this the only thing that a program does... or are there other things a program can do that this measure doesn't take into account (I/O, for instance?)
Could things like this make MIPS more or less irrelevant?