Floating-Point Instmctions - Motorola MPC750 User Manual

Risc
Hide thumbs Also See for MPC750:
Table of Contents

Advertisement

Integer rotate instructions rotate the contents of a register. The result of the rotation is either
inserted into the target register under control of a mask (if a mask bit is 1 the associated bit
of the rotated data is placed into the target register, and if the mask bit is 0 the associated
bit in the target register is unchanged), or ANDed with a mask before being placed into the
target register.
The integer rotate instructions are summarized in Table 2-25.
Table
2-25.
Integer Rotate Instructions
Name
Mnemonic
Syntax
Rotate Left Word Immediate then AND with Mask
rlwinm (rlwinm.)
rA,rS,SH,MB,ME
Rotate Left Word then AND with Mask
rlwnm (rlwnm.)
rA,rS,rB,MB,ME
Rotate Left Word Immediate then Mask Insert
rlwlmi (rlwimi.)
rA,rS,SH,MB,ME
The integer shift instructions perform left and right shifts. Immediate-form logical
(unsigned) shift operations are obtained by specifying masks and shift values for certain
rotate instructions. Simplified mnemonics (shown in Appendix F, "Simplified
Mnemonics," in The Programming Environments Manual) are provided to make coding of
such shifts simpler and easier to understand.
Multiple-precision shifts can be programmed as shown in Appendix C, "Multiple-Precision
Shifts," in The Programming Environments Manual. The integer shift instructions are
summarized in Table 2-26.
Table
2-26.
Integer Shift Instructions
Name
Mnemonic
Syntax
Shift Left Word
slw (slw.)
rA,rS,rB
Shift Right Word
srw (srw.)
rA,rS,rB
Shift Right Algebraic Word Immediate
srawl (srawl.)
rA,rS,SH
Shift Right Algebraic Word
sraw (sraw.)
rA,rS,rB
2.3.4.2 Floating-Point Instructions
This section describes the floating-point instructions, which include the following:
• Floating-point arithmetic instructions
• Floating-point multiply-add instructions
Floating-point rounding and conversion instructions
Floating-point compare instructions
Floating-point status and control register instructions
Floating-point move instructions
Chapter 2. MPC750 Processor Programming Model
2-41

Advertisement

Table of Contents
loading

Table of Contents