Consider five different processors below Calculate the perfo
Consider five different processors below. Calculate the performance and determine which one has the best performance? Decode the following ARM LEGv8 machine binary code in hexadecimal format into the corresponding instruction. 8 B 0 C 0 1 6 A hex Encode the following ARM LEGv8 instruction into the machine binary code. Show your results in hexadecimal format. ADDI X9, X10, #(-6)
Solution
1) Processor performance formula:
CPI- cycles per instruction
Effective processor performance = (Clock frequency / CPI)
So for first case, performance of processor is detemined by the ration of Frequency to CPI
Performance Rank
2. Hex Code - 8B0C016 hex
Machine instruction:
LSRS R3, R1, #0x12
LDR R1, [R0, #0x20]
| Processor | Clock Frequency (ghz) | CPI | Ration | Performance Rank |
| P1 | 1 | 2.0 | 1/2 = 0.5 | 5 |
| P2 | 2 | 3.0 | 2/3 = 0.66 | 4 |
| P3 | 3 | 4.0 | 3/4 = 0.75 | 3 |
| P4 | 4 | 5.0 | 4/5 = 0.80 | 2 |
| P5 | 5 | 6.0 | 5/6 = 0.84 | 1 |
