FRSQRTS
llvm_aarch64_isa)Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
llvm/main
userA64, FullFP16, NEON, NEONandIsStreamingSafeSummary
AArch64 FRSQRTS instruction (A64, 32-bit) with 8 encoding variants extracted from LLVM TableGen. Extensions: FullFP16, NEON, NEONandIsStreamingSafe.
Syntax / Encoding
FRSQRTS32: frsqrts $Rd, $Rn, $Rm FRSQRTSv2f32: frsqrts $Rd.2s, $Rn.2s, $Rm.2s FRSQRTSv2f64: frsqrts $Rd.2d, $Rn.2d, $Rm.2d FRSQRTSv4f32: frsqrts $Rd.4s, $Rn.4s, $Rm.4s FRSQRTSv4f16: frsqrts $Rd.4h, $Rn.4h, $Rm.4h FRSQRTSv8f16: frsqrts $Rd.8h, $Rn.8h, $Rm.8h
Cross-Chip Latency & Throughput (7 cores)
| Microarchitecture | Latency (cycles) | Recip. TP | uops | Ports | Source |
|---|---|---|---|---|---|
| Apple M1 Firestorm (P-core) | 4 | 0.25 | 1 | - - 1 u11-14 | apple_dougallj |
| Apple M1 Icestorm (E-core) | 4 | 0.5 | 1 | - - 1 u6-7 | apple_dougallj |
| Arm Neoverse N2 | 4 | 0.5 | 1 | N2UnitV | llvm_sched_models |
| Marvell ThunderX3 T110 | 5 | 0.25 | 2 | THX3T110FP0123 | llvm_sched_models |
| Marvell ThunderX2 T99 | 6 | 0.5 | 3 | THX2T99F01 | llvm_sched_models |
| Fujitsu A64FX (SVE 512b) | 9 | 1 | 1 | A64FXGI0 | llvm_sched_models |
| Apple Cyclone (A7) | 10 | 0.5 | 1 | CyUnitVM | llvm_sched_models |
Binary Encodings (8)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 32 | FRSQRTS32 | 01011110101xxxxx111111xxxxxxxxxx | 0xffe0fc00 / 0x5ea0fc00 |
| 32 | FRSQRTS64 | 01011110111xxxxx111111xxxxxxxxxx | 0xffe0fc00 / 0x5ee0fc00 |
| 32 | FRSQRTSv2f32 | 00001110101xxxxx111111xxxxxxxxxx | 0xffe0fc00 / 0x0ea0fc00 |
| 32 | FRSQRTSv2f64 | 01001110111xxxxx111111xxxxxxxxxx | 0xffe0fc00 / 0x4ee0fc00 |
| 32 | FRSQRTSv4f32 | 01001110101xxxxx111111xxxxxxxxxx | 0xffe0fc00 / 0x4ea0fc00 |
| 32 | FRSQRTS16 | 01011110110xxxxx001111xxxxxxxxxx | 0xffe0fc00 / 0x5ec03c00 |
| 32 | FRSQRTSv4f16 | 00001110110xxxxx001111xxxxxxxxxx | 0xffe0fc00 / 0x0ec03c00 |
| 32 | FRSQRTSv8f16 | 01001110110xxxxx001111xxxxxxxxxx | 0xffe0fc00 / 0x4ec03c00 |
Operands
| Name | Description |
|---|---|
Rd | |
Rn | |
Rm | |
Rd | |
Rn | |
Rm | |
Rd | |
Rn | |
Rm | |
Rd | |
Rn | |
Rm | |
Rd | |
Rn |