FMAXP
llvm_aarch64_isa)Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
llvm/main
userA64, FullFP16, NEONSummary
AArch64 FMAXP instruction (A64, 32-bit) with 8 encoding variants extracted from LLVM TableGen. Extensions: FullFP16, NEON.
Syntax / Encoding
FMAXPv2i32p: fmaxp $Rd, $Rn.2s FMAXPv2i64p: fmaxp $Rd, $Rn.2d FMAXPv2f32: fmaxp $Rd.2s, $Rn.2s, $Rm.2s FMAXPv2f64: fmaxp $Rd.2d, $Rn.2d, $Rm.2d FMAXPv4f32: fmaxp $Rd.4s, $Rn.4s, $Rm.4s FMAXPv2i16p: fmaxp $Rd, $Rn.2h FMAXPv4f16: fmaxp $Rd.4h, $Rn.4h, $Rm.4h FMAXPv8f16: fmaxp $Rd.8h, $Rn.8h, $Rm.8h
Cross-Chip Latency & Throughput (8 cores)
| Microarchitecture | Latency (cycles) | Recip. TP | uops | Ports | Source |
|---|---|---|---|---|---|
| Apple M1 Firestorm (P-core) | 2 | 0.25 | 1 | - - 1 u11-14 | apple_dougallj |
| Apple M1 Icestorm (E-core) | 2 | 0.5 | 1 | - - 1 u6-7 | apple_dougallj |
| NVIDIA Olympus (Vera) | 2 | 0.17 | 1 | OlympusUnitV | llvm_sched_models |
| Apple Cyclone (A7) | 3 | 0.33 | 1 | CyUnitV | llvm_sched_models |
| Arm Neoverse N3 | 3 | 0.5 | 1 | N3UnitV | llvm_sched_models |
| Marvell ThunderX2 T99 | 5 | 0.5 | 2 | THX2T99F01 | llvm_sched_models |
| Marvell ThunderX3 T110 | 5 | 0.25 | 2 | THX3T110FP0123 | llvm_sched_models |
| Fujitsu A64FX (SVE 512b) | 10 | 0.5 | 3 | A64FXGI03 | llvm_sched_models |
Binary Encodings (8)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 32 | FMAXPv2i32p | 0111111000110000111110xxxxxxxxxx | 0xfffffc00 / 0x7e30f800 |
| 32 | FMAXPv2i64p | 0111111001110000111110xxxxxxxxxx | 0xfffffc00 / 0x7e70f800 |
| 32 | FMAXPv2f32 | 00101110001xxxxx111101xxxxxxxxxx | 0xffe0fc00 / 0x2e20f400 |
| 32 | FMAXPv2f64 | 01101110011xxxxx111101xxxxxxxxxx | 0xffe0fc00 / 0x6e60f400 |
| 32 | FMAXPv4f32 | 01101110001xxxxx111101xxxxxxxxxx | 0xffe0fc00 / 0x6e20f400 |
| 32 | FMAXPv2i16p | 0101111000110000111110xxxxxxxxxx | 0xfffffc00 / 0x5e30f800 |
| 32 | FMAXPv4f16 | 00101110010xxxxx001101xxxxxxxxxx | 0xffe0fc00 / 0x2e403400 |
| 32 | FMAXPv8f16 | 01101110010xxxxx001101xxxxxxxxxx | 0xffe0fc00 / 0x6e403400 |
Operands
| Name | Description |
|---|---|
Rd | |
Rn | |
Rm | |
Rd | |
Rn | |
Rm | |
Rd | |
Rd | |
Rd |