JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
SPARC Assembly Language Reference Manual
search filter icon
search icon

Document Information

Preface

1.  SPARC Assembler for SunOS 5.x

2.  Assembler Syntax

3.  Executable and Linking Format

4.  Converting Files to the New Format

5.  Instruction-Set Mapping

5.1 Table Notation

5.2 Integer Instructions

5.3 Floating-Point Instruction

5.4 Coprocessor Instructions

5.5 Synthetic Instructions

5.6 V8/V9 Natural Pseudo Instructions

A.  Pseudo-Operations

B.  Examples of Pseudo-Operations

C.  Using the Assembler Command Line

D.  An Example Language Program

E.  SPARC-V9 Instruction Set

Index

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