video armv7 floating point
Armv7-M Architecture Reference Manual
Moving data between floating point registers, and between a floating point and a general-purpose register, is accomplished using the FMOV instruction. When both the source and destination are floating point registers, they must be of the same size, e.g. both D.
Load float register value to C variable on Arm and Arm64
When an integer is converted to a floating point number, or vice-versa, there is always a conversion instruction involved. And it's almost always more costly than a mere copy. Here is a list of the possible conversions:
PDF Modern Assembly Language Programming with the ARM processor
The ARM floating-point implementation includes support for all the required features of ANSI/IEEE Std 754-2008, IEEE Standard for Binary Floating-Point Arithmetic, referred to as IEEE 754-2008. However, the original implementation was based on the 1985 version of this standard, referred to as IEEE 754-1985, In this manual:
PDF ARMv7-M Architecture Reference Manual - Electrical Engineering and ...
I need to load the immediate value 0.5f ( = 0.8 in HEX) in a NEON register (or an ARM register, than i can VMOV it) using assembly.