22.7.1. Status register RAW hazard example

In Example 22.4, the FMSTAT is stalled for four cycles in the Decode stage until the FCMPS updates the condition codes in the FPSCR register. Two cycles later, the FMSTAT writes the condition codes to the ARM11 processor.

Example 22.4. FCMPS-FMSTAT RAW hazard

FCMPS S1, S2
FMSTAT

Table 22.6 shows the VFP11 pipeline stages for Example 22.4.

Table 22.6. FCMPS-FMSTAT RAW hazard

 Instruction cycle number
Instruction1234567891011
FCMPSDIE1E2E3E4-----
FMSTAT-DDDDDIEM1M2W
Copyright © 2005-2007 ARM Limited. All rights reserved.ARM DDI 0290G
Non-Confidential