MicroBlaze Processor Reference Guide
255
UG081 (v14.7)
Instructions
Registers Altered
•
MSR[C], unless an exception is generated
•
MSR[UM], MSR[VM], MSR[UMS], MSR[VMS], if a TLB miss exception or a data storage
exception is generated
•
ESR[EC], ESR[S], if an exception is generated
•
ESR[DIZ], if a data storage exception is generated
Latency
•
1 cycle with
C_AREA_OPTIMIZED=0
•
2 cycles with
C_AREA_OPTIMIZED=1
Note
This instruction is used together with LWX to implement exclusive access, such as semaphores and
spinlocks
.
The carry flag (MSR[C]) may not be set immediately (dependent on pipeline stall behavior). The
SWX instruction should not be immediately followed by an MSRCLR, MSRSET, MTS, or SRC
instruction, to ensure the correct value of the carry flag is obtained.
Содержание MicroBlaze
Страница 1: ...MicroBlaze Processor Reference Guide Embedded Development Kit EDK 14 7 UG081 v14 7...
Страница 4: ...MicroBlaze Processor Reference Guide www xilinx com UG081 v14 7...
Страница 8: ...8 www xilinx com MicroBlaze Processor Reference Guide UG081 v14 7 Chapter 1 Introduction Send Feedback...
Страница 262: ...262 www xilinx com MicroBlaze Processor Reference Guide UG081 v14 7 Send Feedback...