Non-Confidential | ![]() | DUI0801J | ||
| ||||
Home > Advanced SIMD Instructions (32-bit) > VCVTB, VCVTT (between half-precision and double-precision) |
These instructions convert between half-precision and double-precision floating-point numbers.
The conversion can be done in either of the following ways:
VCVTB
uses the bottom half (bits[15:0])
of the single word register to obtain or store the half-precision
value.
VCVTT
uses the top half (bits[31:16])
of the single word register to obtain or store the half-precision
value.
VCVTB
{
}.F64.F16 cond
, Dd
Sm
VCVTB
{
}.F16.F64 cond
, Sd
Dm
VCVTT
{
}.F64.F16 cond
, Dd
Sm
VCVTT
{
}.F16.F64 cond
, Sd
Dm
where:
cond
Dd
Sm
Sd
Dm
These instructions convert the half-precision value in Sm
to
double-precision and place the result in Dd
,
or the double-precision value in
to
half-precision and place the result in Dm
.Sd
These instructions can produce Input Denormal, Invalid Operation, Overflow, Underflow, or Inexact exceptions.