English
Language : 

DS693 Datasheet, PDF (6/13 Pages) Xilinx, Inc – Integrated into Xilinx Embedded Development Kit
LogiCORE IP Virtex-5 APU Floating-Point Unit (v1.01a)
.
Table 1: PowerPC FP Instruction Set Support
Instruction
Description
lfs(u)(x)(e)
Load floating-point single
stfs(u)(x)(e)
Store floating-point single
lfd(u)(x)(e)
Load floating-point double
stfd(u)(x)(e)
Store floating-point double
stfiwx(e)
Store float as integer word
fabs
Absolute value
fmr
Move
fnabs
Negative absolute value
fneg
Negate
fadd
Add
fadds
Add (single)
fdiv
Divide
fdivs
Divide (single)
fmul
Multiply
fmuls
Multiply (single)
fsqrt
Square root
fsqrts
Square root (single)
fsub
Subtract
fsubs
Subtract (single)
fmadd
Multiply-add
fmadds
Multiply-add (single)
fmsub
Multiply-subtract
fmsubs
Multiply-subtract (single)
fnmadd
Negative multiply-add
fnmadds
Negative multiply-add (single)
fnmsub
Negative multiply-subtract
fnmsubs
Negative multiply-subtract (single)
fcfid
Convert from integer double-word
fctid
Convert to integer double-word
fctidz
As fctid, but round to zero
fctiw
Convert to integer word
fctiwz
As fctiw, but round to zero
frsp
Round to single precision
fcmpo
Compare (ordered)
fcmpu
Compare (unordered)
fres
Reciprocal estimate
Legend:
Yes = supported; No = not supported;
SP = operation performed in single-precision; NS = non-standard (2)
Single Precision Double Precision
Yes
Yes
Yes
Yes
Yes(1)
Yes
Yes(1)
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
SP
Yes
Yes
Yes
SP
Yes
Yes
Yes
SP
Yes
Yes
Yes
SP
Yes
Yes
Yes
SP
Yes
Yes
Yes
SP
Yes
Yes
Yes
SP
Yes
Yes
Yes
SP
Yes
Yes
Yes
SP
Yes
Yes
Yes
NS(2)
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
No
No
Notes:
1. Double-precision store instructions can be issued to a single-precision FPU. Data will be converted on the fly between double- and single-precision formats
as necessary.
2. A single-precision FPU will treat the fcfid (convert from signed integer double-word to FP double) as if it were fcfiw (convert from signed integer word to FP
single). This behavior is non-standard, but allows hardware acceleration of format conversions that would not otherwise be possible in a single-precision unit.
DS693 March 1, 2011
www.xilinx.com
6
Product Specification