13.07.2015 Views

Cortex-A8 R2P2.pdf - ARM Information Center

Cortex-A8 R2P2.pdf - ARM Information Center

Cortex-A8 R2P2.pdf - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Instruction Cycle Timingis available in E2 for the next subsequent instruction that requires this register as asource operand. Assuming no data hazards, the instruction takes a minimum of onecycle to execute as indicated by the value in the Cycles column. To complete the timingcalculation for this instruction, we use information for the branch instructions as shownin Table 16-11 on page 16-12. In this table, we can see that the instruction isunconditional, therefore no flags are required as a source in E3 for branch resolution.The Cycles column of Table 16-11 on page 16-12 indicates to add one cycle to the totalexecution time for all load instructions that are branches. Assuming no data hazards, theinstruction takes a minimum of two cycles instead of one cycle.16.2.2 Data-processing instructionsData-processing instructions are divided into the following subcategories:Data-processing instructions with a destinationAND, EOR, SUB, RSB, ADD, ADC, SBC, RCSC, ORR, BICData-processing without a destinationMove instructionsTST, TEQ, CMP, CMNMOV, MVNThe data-processing instruction tables exclude cases where the PC is the destination.Branch instructions on page 16-11 describes these cases.Table 16-1 shows the operation of data-processing instructions that use a destination.Table 16-1 Data-processing instructions with a destinationShift type Cycles Source1 Source2 Source3 Source4 Result1 Result2Immediate 1 Rn:E2 [Rd:E2] - - Rd:E2 -Register 1 Rn:E2 Rm:E2 [Rd:E2] - Rd:E2 -Shift by immediate, non-RRX 1 Rn:E2 Rm:E1 [Rd:E2] - Rd:E2 -Shift by immediate, RRX a 1 Rn:E2 Rm:E1 [Rd:E2] - Rd:E2 -Shift by register 1 Rn:E2 Rm:E1 Rs:E1 [Rd:E2] Rd:E2 -a. One-cycle stall required before instruction execution.<strong>ARM</strong> DDI 0344E Copyright © 2006-2008 <strong>ARM</strong> Limited. All rights reserved. 16-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!