FCVTS
Operation
Converts between S and signed B/W/L/Q integer or H/D floating-point representations.
Assembler Syntax
FCVTS.H Fn(s), Fn(d)
FCVTS.D Fn(s), Fn(d)
FCVTS.{B|W|L|Q}(z) Fn(s), Rn(d)
FCVTS.{B|W|L|Q}(z) Rn(s), Fn(d)
FCVTS.{B|W|L|Q}(z) <ea>(e), Fn(d)
FCVTS.{B|W|L|Q}(z) Fn(s), <ea>(e)
FCVTS.H <ea>(e), Fn(d)
FCVTS.D <ea>(e), Fn(d)
FCVTS.H Fn(s), <ea>(e)
FCVTS.D Fn(s), <ea>(e)
Privilege
Unprivileged
Required CPUID flags
FP
Repeat eligibility
REP eligible
Converts between the S format in an Fn operand and the representation selected by the suffix. The .B, .W, .L, and .Q forms use signed 8-, 16-, 32-, and 64-bit integers; the .H and .D forms use binary16 and binary64.
For Fn-to-Fn conversion, the source has the suffix format and the destination has S format. With one Fn and one Rn or memory operand, the Fn has S format and the other operand has the suffix representation. Operand order selects the conversion direction. Floating-format EA sources are memory-only.
2.75in
Encodings
FCVTS.H Fn(s), Fn(d)
Format: Instruction format for FCVTS.H Fn(s), Fn(d)
Additional CPUID flags:FP16_CONVERT
2.75in FCVTS.D Fn(s), Fn(d)
Format: Instruction format for FCVTS.D Fn(s), Fn(d)
2.75in FCVTS.{B|W|L|Q}(z) Fn(s), Rn(d)
Format: Instruction format for FCVTS.{B|W|L|Q}(z) Fn(s), Rn(d)
2.75in FCVTS.{B|W|L|Q}(z) Rn(s), Fn(d)
Format: Instruction format for FCVTS.{B|W|L|Q}(z) Rn(s), Fn(d)
2.75in FCVTS.{B|W|L|Q}(z) <ea>(e), Fn(d)
Format: Instruction format for FCVTS.{B|W|L|Q}(z) <ea>(e), Fn(d)
2.75in FCVTS.{B|W|L|Q}(z) Fn(s), <ea>(e)
Format: Instruction format for FCVTS.{B|W|L|Q}(z) Fn(s), <ea>(e)
dst — excluded: immediate [invalid_destination]
2.75in FCVTS.H <ea>(e), Fn(d)
Format: Instruction format for FCVTS.H <ea>(e), Fn(d)
Additional CPUID flags:FP16_CONVERT
src — excluded: immediate [invalid_source]
2.75in FCVTS.D <ea>(e), Fn(d)
Format: Instruction format for FCVTS.D <ea>(e), Fn(d)
src — excluded: immediate [invalid_source]
2.75in FCVTS.H Fn(s), <ea>(e)
Format: Instruction format for FCVTS.H Fn(s), <ea>(e)
Additional CPUID flags:FP16_CONVERT
dst — excluded: immediate [invalid_destination]
2.75in FCVTS.D Fn(s), <ea>(e)
Format: Instruction format for FCVTS.D Fn(s), <ea>(e)
dst — excluded: immediate [invalid_destination]