ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

CMPHS

T2 arm64 matrix insn
AArch64 SME Instruction: CMPHS
SourceLLVM AArch64 Instruction & Feature Definitions (llvm_aarch64_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeArmv8-A / Armv9-A (SME)
Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/AArch64
Privilegeuser
ExtensionsSME, SVE_or_SME

Summary

AArch64 CMPHS instruction (SME, 32-bit) with 11 encoding variants extracted from LLVM TableGen. Extensions: SVE_or_SME.

Syntax / Encoding

CMPHS_PPzZZ_B: cmphs $Pd, $Pg/z, $Zn, $Zm
CMPHS_PPzZI_B: cmphs $Pd, $Pg/z, $Zn, $imm7

Binary Encodings (11)

WidthFormatBit PatternMask / Match
32CMPHS_PPzZZ_B00100100000xxxxx000xxxxxxxx0xxxx0xffe0e010 / 0x24000000
32CMPHS_PPzZZ_D00100100110xxxxx000xxxxxxxx0xxxx0xffe0e010 / 0x24c00000
32CMPHS_PPzZZ_H00100100010xxxxx000xxxxxxxx0xxxx0xffe0e010 / 0x24400000
32CMPHS_PPzZZ_S00100100100xxxxx000xxxxxxxx0xxxx0xffe0e010 / 0x24800000
32CMPHS_WIDE_PPzZZ_B00100100000xxxxx110xxxxxxxx0xxxx0xffe0e010 / 0x2400c000
32CMPHS_WIDE_PPzZZ_H00100100010xxxxx110xxxxxxxx0xxxx0xffe0e010 / 0x2440c000
32CMPHS_WIDE_PPzZZ_S00100100100xxxxx110xxxxxxxx0xxxx0xffe0e010 / 0x2480c000
32CMPHS_PPzZI_B00100100001xxxxxxx0xxxxxxxx0xxxx0xffe02010 / 0x24200000
32CMPHS_PPzZI_D00100100111xxxxxxx0xxxxxxxx0xxxx0xffe02010 / 0x24e00000
32CMPHS_PPzZI_H00100100011xxxxxxx0xxxxxxxx0xxxx0xffe02010 / 0x24600000
32CMPHS_PPzZI_S00100100101xxxxxxx0xxxxxxxx0xxxx0xffe02010 / 0x24a00000

Operands

NameDescription
Pd
Pg
Zn
imm7
Pd
Zn
imm7
Pd
Zn
Pd
Zn
Zm
Zm
Zm