Question: Rumour has it that the next version of the processor that your company will be using will heavily optimize class C instructions. Consider the following

 Rumour has it that the next version of the processor that

Rumour has it that the next version of the processor that your company will be using will heavily optimize class C instructions. Consider the following facts: Given: Instruction classes A, B, C, D CPI for each instruction class: A,2; B,2; C,1; D,2 Possible code sequences for instruction class order A, B, C, D under review for compiler team to adopt: Code sequences: s1: 2, 1, 1, 1; s2: 1, 2, 1, 1; s3: 1,1, 2, 1; s4: 1, 1, 1, 3 Which code sequence will be fastest? s2: 1,2, 1,1 s3: 1,1, 2,1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!