FCVTPS
llvm_aarch64_isa)Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
llvm/main
userA64, FPARMv8, FPRCVT, FullFP16, NEONandIsFPRCVTStreamingSafeSummary
AArch64 FCVTPS instruction (A64, 32-bit) with 18 encoding variants extracted from LLVM TableGen. Extensions: FPARMv8, FPRCVT, FullFP16, NEONandIsFPRCVTStreamingSafe.
Syntax / Encoding
FCVTPSDHr: fcvtps $Rd, $Rn FCVTPSv2f32: fcvtps $Rd.2s, $Rn.2s FCVTPSv2f64: fcvtps $Rd.2d, $Rn.2d FCVTPSv4f32: fcvtps $Rd.4s, $Rn.4s FCVTPSv4f16: fcvtps $Rd.4h, $Rn.4h FCVTPSv8f16: fcvtps $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 | FCVTPSDHr | 1001111011110010000000xxxxxxxxxx | 0xfffffc00 / 0x9ef20000 |
| 32 | FCVTPSDSr | 1001111000110010000000xxxxxxxxxx | 0xfffffc00 / 0x9e320000 |
| 32 | FCVTPSSDr | 0001111001110010000000xxxxxxxxxx | 0xfffffc00 / 0x1e720000 |
| 32 | FCVTPSSHr | 0001111011110010000000xxxxxxxxxx | 0xfffffc00 / 0x1ef20000 |
| 32 | FCVTPSUWDr | 0001111001101000000000xxxxxxxxxx | 0xfffffc00 / 0x1e680000 |
| 32 | FCVTPSUWHr | 0001111011101000000000xxxxxxxxxx | 0xfffffc00 / 0x1ee80000 |
| 32 | FCVTPSUWSr | 0001111000101000000000xxxxxxxxxx | 0xfffffc00 / 0x1e280000 |
| 32 | FCVTPSUXDr | 1001111001101000000000xxxxxxxxxx | 0xfffffc00 / 0x9e680000 |
| 32 | FCVTPSUXHr | 1001111011101000000000xxxxxxxxxx | 0xfffffc00 / 0x9ee80000 |
| 32 | FCVTPSUXSr | 1001111000101000000000xxxxxxxxxx | 0xfffffc00 / 0x9e280000 |
| 32 | FCVTPSv1i32 | 0101111010100001101010xxxxxxxxxx | 0xfffffc00 / 0x5ea1a800 |
| 32 | FCVTPSv1i64 | 0101111011100001101010xxxxxxxxxx | 0xfffffc00 / 0x5ee1a800 |
Operands
| Name | Description |
|---|---|
Rd | |
Rn | |
Rn | |
Rd | |
Rn | |
Rd | |
Rd | |
Rd | |
Rd | |
Rn | |
Rd | |
Rn |