FCVTAS
llvm_aarch64_isa)Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
llvm/main
userA64, FPARMv8, FPRCVT, FullFP16, NEONandIsFPRCVTStreamingSafeSummary
AArch64 FCVTAS instruction (A64, 32-bit) with 18 encoding variants extracted from LLVM TableGen. Extensions: FPARMv8, FPRCVT, FullFP16, NEONandIsFPRCVTStreamingSafe.
Syntax / Encoding
FCVTASDHr: fcvtas $Rd, $Rn FCVTASv2f32: fcvtas $Rd.2s, $Rn.2s FCVTASv2f64: fcvtas $Rd.2d, $Rn.2d FCVTASv4f32: fcvtas $Rd.4s, $Rn.4s FCVTASv4f16: fcvtas $Rd.4h, $Rn.4h FCVTASv8f16: fcvtas $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 | FCVTASDHr | 1001111011111010000000xxxxxxxxxx | 0xfffffc00 / 0x9efa0000 |
| 32 | FCVTASDSr | 1001111000111010000000xxxxxxxxxx | 0xfffffc00 / 0x9e3a0000 |
| 32 | FCVTASSDr | 0001111001111010000000xxxxxxxxxx | 0xfffffc00 / 0x1e7a0000 |
| 32 | FCVTASSHr | 0001111011111010000000xxxxxxxxxx | 0xfffffc00 / 0x1efa0000 |
| 32 | FCVTASUWDr | 0001111001100100000000xxxxxxxxxx | 0xfffffc00 / 0x1e640000 |
| 32 | FCVTASUWHr | 0001111011100100000000xxxxxxxxxx | 0xfffffc00 / 0x1ee40000 |
| 32 | FCVTASUWSr | 0001111000100100000000xxxxxxxxxx | 0xfffffc00 / 0x1e240000 |
| 32 | FCVTASUXDr | 1001111001100100000000xxxxxxxxxx | 0xfffffc00 / 0x9e640000 |
| 32 | FCVTASUXHr | 1001111011100100000000xxxxxxxxxx | 0xfffffc00 / 0x9ee40000 |
| 32 | FCVTASUXSr | 1001111000100100000000xxxxxxxxxx | 0xfffffc00 / 0x9e240000 |
| 32 | FCVTASv1i32 | 0101111000100001110010xxxxxxxxxx | 0xfffffc00 / 0x5e21c800 |
| 32 | FCVTASv1i64 | 0101111001100001110010xxxxxxxxxx | 0xfffffc00 / 0x5e61c800 |
Operands
| Name | Description |
|---|---|
Rd | |
Rn | |
Rn | |
Rd | |
Rn | |
Rd | |
Rd | |
Rd | |
Rd | |
Rn | |
Rd | |
Rn |