FCVTMS
llvm_aarch64_isa)Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
llvm/main
userA64, FPARMv8, FPRCVT, FullFP16, NEONandIsFPRCVTStreamingSafeSummary
AArch64 FCVTMS instruction (A64, 32-bit) with 18 encoding variants extracted from LLVM TableGen. Extensions: FPARMv8, FPRCVT, FullFP16, NEONandIsFPRCVTStreamingSafe.
Syntax / Encoding
FCVTMSDHr: fcvtms $Rd, $Rn FCVTMSv2f32: fcvtms $Rd.2s, $Rn.2s FCVTMSv2f64: fcvtms $Rd.2d, $Rn.2d FCVTMSv4f32: fcvtms $Rd.4s, $Rn.4s FCVTMSv4f16: fcvtms $Rd.4h, $Rn.4h FCVTMSv8f16: fcvtms $Rd.8h, $Rn.8h
Cross-Chip Latency & Throughput (2 cores)
| Microarchitecture | Latency (cycles) | Recip. TP | uops | Ports | Source |
|---|---|---|---|---|---|
| Apple M1 Firestorm (P-core) | 3 | 0.25 | 1 | - - 1 u11-14 | apple_dougallj |
| Apple M1 Icestorm (E-core) | 3 | 0.5 | 1 | - - 1 u6-7 | apple_dougallj |
Binary Encodings (12)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 32 | FCVTMSDHr | 1001111011110100000000xxxxxxxxxx | 0xfffffc00 / 0x9ef40000 |
| 32 | FCVTMSDSr | 1001111000110100000000xxxxxxxxxx | 0xfffffc00 / 0x9e340000 |
| 32 | FCVTMSSDr | 0001111001110100000000xxxxxxxxxx | 0xfffffc00 / 0x1e740000 |
| 32 | FCVTMSSHr | 0001111011110100000000xxxxxxxxxx | 0xfffffc00 / 0x1ef40000 |
| 32 | FCVTMSUWDr | 0001111001110000000000xxxxxxxxxx | 0xfffffc00 / 0x1e700000 |
| 32 | FCVTMSUWHr | 0001111011110000000000xxxxxxxxxx | 0xfffffc00 / 0x1ef00000 |
| 32 | FCVTMSUWSr | 0001111000110000000000xxxxxxxxxx | 0xfffffc00 / 0x1e300000 |
| 32 | FCVTMSUXDr | 1001111001110000000000xxxxxxxxxx | 0xfffffc00 / 0x9e700000 |
| 32 | FCVTMSUXHr | 1001111011110000000000xxxxxxxxxx | 0xfffffc00 / 0x9ef00000 |
| 32 | FCVTMSUXSr | 1001111000110000000000xxxxxxxxxx | 0xfffffc00 / 0x9e300000 |
| 32 | FCVTMSv1i32 | 0101111000100001101110xxxxxxxxxx | 0xfffffc00 / 0x5e21b800 |
| 32 | FCVTMSv1i64 | 0101111001100001101110xxxxxxxxxx | 0xfffffc00 / 0x5e61b800 |
Operands
| Name | Description |
|---|---|
Rd | |
Rn | |
Rn | |
Rd | |
Rn | |
Rd | |
Rd | |
Rd | |
Rd | |
Rn | |
Rd | |
Rn |