You copied the Doc URL to your clipboard.

13.197 YIELD

Yield.

Syntax

YIELD{cond}

where:

cond

is an optional condition code.

Operation

This is a hint instruction. It is optional whether this instructionis implemented or not. If this instruction is not implemented, itexecutes as a NOP. The assembler producesa diagnostic message if the instruction executes as a NOP onthe target.

YIELD indicates to the hardwarethat the current thread is performing a task, for example a spinlock,that can be swapped out. Hardware can use this hint to suspend andresume threads in a multithreading system.

Availability

This instruction is available in A32 and T32.

Was this page helpful? Yes No