Deprecated: Implicit conversion from float-string "1564119447.178" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1564119447.178" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1564119447.178" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1564119447.178" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1564119447.178" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1607565693.262" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1607565693.262" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1607565693.262" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1607565693.262" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1607565693.262" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594
CO and Architecture: Pipelining
edited by
2,235 views
6 votes
6 votes

Consider 4 stage instruction pipeline where different instructions are spending different cycles at different stages shown
below:

  
  S1 S2 S3 S4
I1    1   3   2   1
I2    1   1   3   2
I3    3   1   1   1
I4    1   2   1   1


The following loop is executed in the pipeline
for (i = 1; i <= 2; i++)
{
I1 ;
I2 ;
I3 ;
I4 ;
}
The number of cycles saved using the loop level parallelism over without loop level parallelism to executed the above program
is _______ (in cycles).

edited by

1 Answer

0 votes
0 votes
without parallelism: 26

with parallelism: 23

Related questions


Deprecated: Implicit conversion from float-string "1672039409.169" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1672039409.169" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1672039409.169" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1672039409.169" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1671161841.903" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1671161841.903" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1671161841.903" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1671161841.903" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1666331939.641" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1666331939.641" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1666331939.641" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1666331939.641" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803
373
views
1 answers
0 votes
DAWID15 asked Dec 26, 2022
373 views
So I know pipelining has 5 stages: IF, ID, EX, MA, WB.Now the question is if I have a program of few instruction which has both ALU operation and LOAD/store operation in ...
806
views
3 answers
2 votes
Souvik33 asked Dec 16, 2022
806 views
MSQWhich among the following statements is/are TRUE for a pipelined RISC computer.PC is usually incremented during Instruction Cycle (IF,ID)PC may be incremented during ...
676
views
0 answers
0 votes
anas_2908 asked Oct 21, 2022
676 views
ADD R1,R2,R3SUB R2,R1,R7BNEQZ R5,L1MUL R8,R9,R3DIV R6,R8,R7L1:-LOAD R4, 2(R6)SUB R10,R4,R11 for the above sequence of instructions draw time and space diagram to find out...
1.1k
views
1 answers
0 votes
Swarnava Bose asked Jul 2, 2022
1,088 views
In a pipeline the maximum ideal speed-up is 5. Let the percentage of unconditional branches in a set of typical program be 5% and that of conditional branches be 10%. If ...