flt
Floating-Point Convert Integer to Float
rD, rA
flt
0 1 0 1 1 0
0
6
Description
Converts the signed integer in register rA to floating-point and puts the result in register rD. This is a
32-bit rounding signed conversion that will produce a 32-bit floating-point result.
Pseudocode
←
(rD)
float ((rA))
Registers Altered
•
rD
Latency
•
4 cycles with
•
6 cycles with
•
1 cycle with
Note
This instruction is only available when the MicroBlaze parameter C_USE_FPU is set to 2 (Extended).
MicroBlaze Processor Reference Guide
UG984 (v2018.2) June 21, 2018
rD
rA
11
=0
C_AREA_OPTIMIZED
=1
C_AREA_OPTIMIZED
=2
C_AREA_OPTIMIZED
www.xilinx.com
Chapter 5: MicroBlaze Instruction Set Architecture
rB
0 1 0 1 0 0 0 0 0 0 0
16
21
31
233
Send Feedback
Need help?
Do you have a question about the MicroBlaze and is the answer not in the manual?
Questions and answers