6.1.3Syncing Instructions

SPARC64 V has instructions, called syncing instructions, that stop execution for the number of cycles it takes to clear the pipeline and to synchronize the processor. There are two types of synchronization, pre and post. A presyncing instruction waits for all previous instructions to commit, commits by itself, and then issues successive instructions. A postsyncing instruction issues by itself and prevents the successive instructions from issuing until it is committed. Some instructions have both pre- and postsync attributes.

In SPARC64 V almost all instructions commit in order, but store instruction commit before becoming globally visible. A few syncing instructions cause the processor to discard prefetched instructions and to refetch the successive instructions. TABLE 6-1lists all pre-/postsync instructions and the effects of instruction execution.

TABLE 6-1SPARC64 V Syncing Instructions

 

 

Presyncing

 

Postsyncing

 

 

 

 

 

 

 

Opcode

 

 

Wait for

 

 

Discard

Sync?

 

store global

Sync?

 

prefetched

 

 

 

 

 

 

visibility?

 

 

instructions?

 

 

 

 

 

 

 

ALIGNADDRESS{_LITTLE}

 

 

 

Yes

 

 

BMASK

 

 

 

Yes

 

 

DONE

 

 

 

Yes

 

Yes

FCMP(GT,LE,NE,EQ)(16,32)

Yes

 

 

 

 

 

FLUSH

Yes

 

 

Yes

 

Yes

FMOV(s,d)icc

Yes

 

 

 

 

 

FMOVr

Yes

 

 

 

 

 

LDD

Yes

 

 

Yes

 

 

LDDA

Yes

 

 

Yes

 

 

LDDFA

Yes

 

 

 

 

 

memory access with

Yes

 

 

 

 

 

ASI=ASI_PHYS_BYPASS_EC{_LITTLE},

 

 

 

 

 

 

ASI_PHYS_BYPASS_EC_WITH_E_BIT{_LITTLE}

 

 

 

 

 

 

LDFSR, LDXFSR

 

 

 

Yes

 

 

MEMBAR

Yes

 

Yes1

Yes

 

 

MOVfcc

Yes

 

 

 

 

 

MULScc

Yes

 

 

 

 

 

PDIST

 

 

 

Yes

 

 

RDASR

Yes

 

 

 

 

 

RETRY

 

 

 

Yes

 

Yes

SIAM

 

 

 

Yes

 

 

STBAR

Yes

 

 

 

 

 

STD

Yes

 

 

 

 

 

 

 

 

 

 

 

 

Release 1.0, 1 July 2002

F. Chapter 6 Instructions 27

Page 38
Image 38
Fujitsu Fujitsu SPARC64 V manual 1SPARC64 V Syncing Instructions