PowerPC e500 Core Family Reference Manual, Rev. 1
3-58
Freescale Semiconductor
Instruction Model
3.8.1.4
Embedded Floating-Point APU Instructions
The vector and scalar SPFP APUs perform floating-point operations on single-precision operands.
These operations are IEEE 754–compliant with software exception handlers and offer a simpler
exception model than the floating-point instructions defined by the PowerPC ISA. Instead of
FPRs, these instructions use GPRs to offer improved performance for converting between
floating-point, integer, and fractional values. Sharing GPRs allows vector floating-point
instructions to use SPE load and store instructions.
Vector Store Double of Four Half Words
evstdh
r
S
,d(r
A
)
Vector Store Double of Four Half Words Indexed
evstdhx
r
S
,r
A
,r
B
Vector Store Double of Two Words
evstdw
r
S
,d(r
A
)
Vector Store Double of Two Words Indexed
evstdwx
r
S
,r
A
,r
B
Vector Store Word of Two Half Words from Even
evstwhe
r
S
,d(r
A
)
Vector Store Word of Two Half Words from Even Indexed
evstwhex
r
S
,r
A
,r
B
Vector Store Word of Two Half Words from Odd
evstwho
r
S
,d(r
A
)
Vector Store Word of Two Half Words from Odd Indexed
evstwhox
r
S
,r
A
,r
B
Vector Store Word of Word from Even
evstwwe
r
S
,d(r
A
)
Vector Store Word of Word from Even Indexed
evstwwex
r
S
,r
A
,r
B
Vector Store Word of Word from Odd
evstwwo
r
S
,d(r
A
)
Vector Store Word of Word from Odd Indexed
evstwwox r
S
,r
A
,r
B
Vector Subtract from Word
evsubfw r
D
,r
A
,r
B
Vector Subtract Immediate from Word
evsubifw r
D
,
UIMM
,r
B
Vector Subtract Signed, Modulo, Integer to Accumulator Word
evsubfsmiaaw
r
D
,r
A
Vector Subtract Signed, Saturate, Integer to Accumulator Word
evsubfssiaaw
r
D
,r
A
Vector Subtract Unsigned, Modulo, Integer to Accumulator Word
evsubfumiaaw
r
D
,r
A
Vector Subtract Unsigned, Saturate, Integer to Accumulator Word
evsubfusiaaw
r
D
,r
A
Vector XOR
evxor
r
D
,r
A
,r
B
1
These instructions are also used by the vector and double-precision scalar floating-point APUs.
2
The architecture specifies that if the final result cannot be represented in 64 bits, SPEFSCR[OV] should be set (along with the
SOV bit, if it is not already set). The e500 violates the architectural specification for these instructions because it sets the
overflow bit in cases where there is no overflow.
3
Although the e500 records any overflow resulting from the addition/subtraction portion of these instructions, a saturate value
is not saved to rD or the accumulator. The architecture specifies that the intermediate result should be saturated if it cannot
be represented in 64 bits. The also architecture specifies that the final result should be saturated if it cannot be represented
in 64 bits. The e500 does not saturate in either case.
Table 3-36. SPE APU Vector Instructions (continued)
Instruction
Mnemonic
Syntax
Summary of Contents for PowerPC e500 Core
Page 1: ...PowerPC e500 Core Family Reference Manual Supports e500v1 e500v2 E500CORERM Rev 1 4 2005...
Page 36: ...PowerPC e500 Core Family Reference Manual Rev 1 xxxvi Freescale Semiconductor...
Page 38: ...PowerPC e500 Core Family Reference Manual Rev 1 Part I 2 Freescale Semiconductor...
Page 332: ...PowerPC e500 Core Family Reference Manual Rev 1 Part II 2 Freescale Semiconductor...
Page 530: ...Opcode Listings PowerPC e500 Core Family Reference Manual Rev 1 D 50 Freescale Semiconductor...
Page 534: ...PowerPC e500 Core Family Reference Manual Rev 1 E 4 Freescale Semiconductor Revision History...