CFLTHS (immediate)

Compare unsigned higher than or same as immediate and fault

This instruction compares the unsigned value in a register with an immediate, and generates a Conditional fault exception if the register value is higher than or the same as the immediate. If an exception is generated, the <reason> operand is copied to ESR_ELx.

This instruction does not affect the condition flags.

This is a pseudo-instruction of CFLT<cc> (immediate). This means:

Fault
(FEAT_CFLT)

313029282726252423222120191817161514131211109876543210
sf1110110010imm9h0000imm20imm9lRt
cc

Encoding for the 32-bit higher variant

Applies when (sf == 0)

CFLTHS #<reason>, <Wt>, #<immp1>

is equivalent to

CFLTHI #<reason>, <Wt>, #<imm>

Encoding for the 64-bit higher variant

Applies when (sf == 1)

CFLTHS #<reason>, <Xt>, #<immp1>

is equivalent to

CFLTHI #<reason>, <Xt>, #<imm>

Assembler Symbols

<reason>

Is a 2-bit unsigned immediate, in the range 0 to 3, encoded in the "imm2" field.

<Wt>

Is the 32-bit name of the general-purpose register to be tested, encoded in the "Rt" field.

<immp1>

Is an unsigned immediate, in the range 1 to 512, encoded as "imm9h:imm9l" plus 1.

<Xt>

Is the 64-bit name of the general-purpose register to be tested, encoded in the "Rt" field.

Operation

The description of CFLT<cc> (immediate) gives the operational pseudocode for this instruction.


2026-09_rel 2026-09-21 14:22:38

Copyright © 2010-2026 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.