VMOV (between general-purpose register and half-precision)

Copy 16 bits of a general-purpose register to or from a 32-bit SIMD&FP register. This instruction transfers the value held in the bottom 16 bits of a 32-bit SIMD&FP register to the bottom 16 bits of a general-purpose register, or the value held in the bottom 16 bits of a general-purpose register to the bottom 16 bits of a 32-bit SIMD&FP register.

Depending on settings in the CPACR, NSACR, HCPTR, and FPEXC registers, and the Security state and PE mode in which the instruction is executed, an attempt to execute the instruction might be undefined, or trapped to Hyp mode. For more information see Enabling Advanced SIMD and floating-point support.

It has encodings from the following instruction sets: A32 ( A1 ) and T32 ( T1 ) .

A1
(ARMv8.2)

313029282726252423222120191817161514131211109876543210
!= 11111110000opVnRt1001N(0)(0)1(0)(0)(0)(0)
cond

From general-purpose register (op == 0)

VMOV{<c>}{<q>}.F16 <Sn>, <Rt>

To general-purpose register (op == 1)

VMOV{<c>}{<q>}.F16 <Rt>, <Sn>

if !HaveFP16Ext() then UNDEFINED; if cond != '1110' then UNPREDICTABLE; to_arm_register = (op == '1'); t = UInt(Rt); n = UInt(Vn:N); if t == 15 then UNPREDICTABLE; // ARMv8-A removes UNPREDICTABLE for R13

CONSTRAINED UNPREDICTABLE behavior

If cond != '1110', then one of the following behaviors must occur:

T1
(ARMv8.2)

15141312111098765432101514131211109876543210
11101110000opVnRt1001N(0)(0)1(0)(0)(0)(0)

From general-purpose register (op == 0)

VMOV{<c>}{<q>}.F16 <Sn>, <Rt>

To general-purpose register (op == 1)

VMOV{<c>}{<q>}.F16 <Rt>, <Sn>

if !HaveFP16Ext() then UNDEFINED; if InITBlock() then UNPREDICTABLE; to_arm_register = (op == '1'); t = UInt(Rt); n = UInt(Vn:N); if t == 15 then UNPREDICTABLE; // ARMv8-A removes UNPREDICTABLE for R13

CONSTRAINED UNPREDICTABLE behavior

If InITBlock(), then one of the following behaviors must occur:

For more information about the constrained unpredictable behavior of this instruction, see Architectural Constraints on UNPREDICTABLE behaviors.

Assembler Symbols

<Rt>

Is the general-purpose register that <Sn> will be transferred to or from, encoded in the "Rt" field.

<Sn>

Is the 32-bit name of the SIMD&FP register to be transferred, encoded in the "Vn:N" field.

<c>

See Standard assembler syntax fields.

<q>

See Standard assembler syntax fields.

Operation

if ConditionPassed() then EncodingSpecificOperations(); CheckVFPEnabled(TRUE); if to_arm_register then R[t] = Zeros(16) : S[n]<15:0>; else S[n] = Zeros(16) : R[t]<15:0>;


Internal version only: isa v00_81, pseudocode v34.2.2 ; Build timestamp: 2018-03-28T20:43

Copyright © 2010-2018 ARM Limited or its affiliates. All rights reserved. This document is Non-Confidential.