isync or ics (Instruction Synchronize) instruction
Purpose
Refetches any instructions that might have been fetched prior to this instruction.
Syntax
Bits | Value |
---|---|
0-5 | 19 |
6-10 | /// |
11-15 | /// |
16-20 | /// |
21-30 | 150 |
31 | / |
PowerPC®
isync
POWER® family
ics
Description
The isync and ics instructions cause the processor to refetch any instructions that might have been fetched prior to the isync or ics instruction.
The PowerPC® instruction isync causes the processor to wait for all previous instructions to complete. Then any instructions already fetched are discarded and instruction processing continues in the environment established by the previous instructions.
The POWER® family instruction ics causes the processor to wait for any previous dcs instructions to complete. Then any instructions already fetched are discarded and instruction processing continues under the conditions established by the content of the Machine State Register.
The isync and ics instructions have one syntax form and do not affect Condition Register Field 0 or the Fixed-Point Exception Register.
Examples
The following code refetches instructions before continuing:
# Assume GPR 5 holds name.
# Assume GPR 3 holds 0x0.
name: dcbf 3,5
isync