09.12.2012 Views

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 3-34 shows the results of attempted access for each mode.<br />

To access the Instruction Set Attributes Register 3, read CP15 with:<br />

MRC p15, 0, , c0, c2, 3 ; Read Instruction Set Attributes Register 3<br />

3.2.19 c0, Instruction Set Attributes Register 4<br />

System Control Coprocessor<br />

Table 3-34 Results of access to Instruction Set Attributes Register 3 a<br />

Secure privileged Nonsecure privileged Secure User Nonsecure User<br />

Read Write Read Write Read Write Read Write<br />

Data Undefined Data Undefined Undefined Undefined Undefined Undefined<br />

a. An entry of Undefined in the table means that the access gives an Undefined Instruction exception when the coprocessor<br />

instruction is executed.<br />

The purpose of Instruction Set Attributes Register 4 is to provide information about the<br />

instruction set that the processor supports beyond the basic set.<br />

The Instruction Set Attributes Register 4 is:<br />

• a read-only register common to the Secure and Nonsecure states<br />

• accessible in privileged modes only.<br />

Figure 3-15 shows the bit arrangement of the Instruction Set Attributes Register 4.<br />

31 24 23 20 19 16 15 12 11 8 7 4 3 0<br />

Reserved<br />

Exclusive<br />

instructions<br />

Barrier<br />

instructions<br />

SMC<br />

instructions<br />

Write-back<br />

instructions<br />

With-shift Unprivileged<br />

instructions instructions<br />

Figure 3-15 Instruction Set Attributes Register 4 format<br />

Table 3-35 shows how the bit values correspond with the Instruction Set Attributes Register 4<br />

functions.<br />

Bits Field Function<br />

[31:24] - Reserved, RAZ.<br />

Table 3-35 Instruction Set Attributes Register 4 bit functions<br />

[23:20] Exclusive instructions Indicates support for exclusive instructions:<br />

0x0 = The processor supports CLREX, LDREX{B|H}, and STREX{B|H}.<br />

[19:16] Barrier instructions Indicates support for barrier instructions:<br />

0x1 = The processor supports DMB, DSB, and ISB.<br />

[15:12] SMC instructions Indicates support for SMC instructions:<br />

0x1 = The processor supports SMC.<br />

<strong>ARM</strong> DDI 0344K Copyright © 2006-2010 <strong>ARM</strong> Limited. All rights reserved. 3-38<br />

ID060510 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!