SPARC Assembly Language Reference Manual

5.4 Coprocessor Instructions

All coprocessor-operate (cpopn) instructions take all operands from and return all results to coprocessor registers. The data types supported by the coprocessor are coprocessor-dependent. Operand alignment is also coprocessor-dependent. Coprocessor-operate instructions are described in Table 5–5.

If the EC (PSR_enable_coprocessor) field of the processor state register (PSR) is 0, or if a coprocessor is not present, a cpopn instruction causes a cp_disabled trap.

The conditions that cause a cp_exception trap are coprocessor-dependent.

Table 5–5

SPARC 

Mnemonic 

Argument List 

Name 

Comments 

CPop1

cpop1

opc, regrs1, regrs2, regrd

Coprocessor operation 

 

CPop2

cpop2

opc, regrs1, regrs2, regrd

Coprocessor operation 

May modify ccc