Floating-Point Unit (Fpu) - Xilinx MicroBlaze Reference Manual

Hide thumbs Also See for MicroBlaze:
Table of Contents

Advertisement

Floating-Point Unit (FPU)

Overview
The MicroBlaze floating-point unit is based on the IEEE 754-1985
Uses IEEE 754 single precision floating-point format, including definitions for infinity,
not-a-number (NaN), and zero
Supports addition, subtraction, multiplication, division, comparison, conversion and
square root instructions
Implements round-to-nearest mode
Generates sticky status bits for: underflow, overflow, divide-by-zero and invalid
operation
For improved performance, the following non-standard simplifications are made:
Denormalized
denormalized number returns a quiet NaN and sets the sticky denormalized operand
error bit in FSR; see
A denormalized result is stored as a signed 0 with the underflow bit set in FSR. This
method is commonly referred to as Flush-to-Zero (FTZ)
An operation on a quiet NaN returns the fixed NaN: 0xFFC00000, rather than one of the
NaN operands
Overflow as a result of a floating-point operation always returns signed ∞
Format
An IEEE 754 single precision floating-point number is composed of the following three
fields:
1. 1-bit sign
2. 8-bit biased exponent
3. 23-bit fraction (a.k.a. mantissa or significand)
The fields are stored in a 32 bit word as defined in the following figure:
1. Numbers that are so close to 0, that they cannot be represented with full precision, that is, any number n that falls in the
following ranges: ( 1.17549*10
MicroBlaze Processor Reference Guide
UG984 (v2018.2) June 21, 2018
(1)
operands are not supported. A hardware floating-point operation on a
Floating-Point Status Register
-38
> n > 0 ), or ( 0 > n > -1.17549 * 10
www.xilinx.com
Chapter 2: MicroBlaze Architecture
standard[Ref
(FSR).
-38
)
Send Feedback
18]:
90

Advertisement

Table of Contents
loading

Table of Contents