Floating-point move immediate (scalar)
This instruction copies a floating-point immediate constant into the SIMD&FP destination register.
Depending on the settings in the CPACR_EL1, CPTR_EL2, and CPTR_EL3 registers, and the current Security state and Exception level, an attempt to execute the instruction might be trapped.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
M | S | ftype | imm8 | imm5 | Rd |
---|
FMOV <Hd>, #<imm>, see x[Modified immediate constants in A64 floating-point instructions](CJAFAFAI)." class="text-blue-400 hover:text-yellow-300"><imm>
FMOV <Sd>, #<imm>, see x[Modified immediate constants in A64 floating-point instructions](CJAFAFAI)." class="text-blue-400 hover:text-yellow-300"><imm>
FMOV <Dd>, #<imm>, see x[Modified immediate constants in A64 floating-point instructions](CJAFAFAI)." class="text-blue-400 hover:text-yellow-300"><imm>
if !IsFeatureImplemented(FEAT_FP) then EndOfDecode(Decode_UNDEF); if ftype == '10' then EndOfDecode(Decode_UNDEF); if ftype == '11' && !IsFeatureImplemented(FEAT_FP16) then EndOfDecode(Decode_UNDEF); constant integer d = UInt(Rd); constant integer datasize = 8 << UInt(ftype EOR '10'); constant bits(datasize) imm = VFPExpandImm(imm8, datasize);
CheckFPEnabled64(); V[d, datasize] = imm;