CMGE
llvm_aarch64_isa)Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
llvm/main
userA64, NEONSummary
AArch64 CMGE instruction (A64, 32-bit) with 16 encoding variants extracted from LLVM TableGen. Extensions: NEON.
Syntax / Encoding
CMGEv16i8rz: cmge $Rd.16b, $Rn.16b, #0 CMGEv1i64rz: cmge $Rd, $Rn, #0 CMGEv2i32rz: cmge $Rd.2s, $Rn.2s, #0 CMGEv2i64rz: cmge $Rd.2d, $Rn.2d, #0 CMGEv4i16rz: cmge $Rd.4h, $Rn.4h, #0 CMGEv4i32rz: cmge $Rd.4s, $Rn.4s, #0 CMGEv8i16rz: cmge $Rd.8h, $Rn.8h, #0 CMGEv8i8rz: cmge $Rd.8b, $Rn.8b, #0
Cross-Chip Latency & Throughput (9 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 |
| AmpereOne (Ampere1B) | 2 | 0.5 | 1 | Ampere1BUnitXY | llvm_sched_models |
| Qualcomm Oryon | 2 | 0.25 | 1 | ORYONFP0123 | llvm_sched_models |
| AmpereOne (Ampere1) | 3 | 0.5 | 1 | Ampere1UnitXY | llvm_sched_models |
| Apple Cyclone (A7) | 3 | 0.33 | 1 | CyUnitV | llvm_sched_models |
| Fujitsu A64FX (SVE 512b) | 4 | 0.5 | 1 | A64FXGI03 | llvm_sched_models |
| Marvell ThunderX3 T110 | 5 | 0.25 | 2 | THX3T110FP0123 | llvm_sched_models |
| Marvell ThunderX2 T99 | 7 | 0.5 | 3 | THX2T99F01 | llvm_sched_models |
Binary Encodings (12)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 32 | CMGEv16i8rz | 0110111000100000100010xxxxxxxxxx | 0xfffffc00 / 0x6e208800 |
| 32 | CMGEv1i64rz | 0111111011100000100010xxxxxxxxxx | 0xfffffc00 / 0x7ee08800 |
| 32 | CMGEv2i32rz | 0010111010100000100010xxxxxxxxxx | 0xfffffc00 / 0x2ea08800 |
| 32 | CMGEv2i64rz | 0110111011100000100010xxxxxxxxxx | 0xfffffc00 / 0x6ee08800 |
| 32 | CMGEv4i16rz | 0010111001100000100010xxxxxxxxxx | 0xfffffc00 / 0x2e608800 |
| 32 | CMGEv4i32rz | 0110111010100000100010xxxxxxxxxx | 0xfffffc00 / 0x6ea08800 |
| 32 | CMGEv8i16rz | 0110111001100000100010xxxxxxxxxx | 0xfffffc00 / 0x6e608800 |
| 32 | CMGEv8i8rz | 0010111000100000100010xxxxxxxxxx | 0xfffffc00 / 0x2e208800 |
| 32 | CMGEv16i8 | 01001110001xxxxx001111xxxxxxxxxx | 0xffe0fc00 / 0x4e203c00 |
| 32 | CMGEv1i64 | 01011110111xxxxx001111xxxxxxxxxx | 0xffe0fc00 / 0x5ee03c00 |
| 32 | CMGEv2i32 | 00001110101xxxxx001111xxxxxxxxxx | 0xffe0fc00 / 0x0ea03c00 |
| 32 | CMGEv2i64 | 01001110111xxxxx001111xxxxxxxxxx | 0xffe0fc00 / 0x4ee03c00 |
Operands
| Name | Description |
|---|---|
Rd | |
Rn | |
Rm | |
Rd | |
Rn | |
Rm | |
Rd | |
Rn | |
Rm |