SVE Instruction List by Dougall Johnson
See "FCLAMP" in the exploration tools

FCLAMP: Floating-point clamp to minimum/maximum number

FCLAMP Zd.D, Zn.D, Zm.D (SVE2.1 (SME2

128-bit SVE

For each 64-bit float, clamp (1) to be between the lower-bound (2), and the upper-bound (3), and write the result to (4).

(4) = min( max( (2), (1) ), (3) )

256-bit SVE

For each 64-bit float, clamp (1) to be between the lower-bound (2), and the upper-bound (3), and write the result to (4).

(4) = min( max( (2), (1) ), (3) )

512-bit SVE

For each 64-bit float, clamp (1) to be between the lower-bound (2), and the upper-bound (3), and write the result to (4).

(4) = min( max( (2), (1) ), (3) )

Larger sizes

1024-bit SVE

For each 64-bit float, clamp (1) to be between the lower-bound (2), and the upper-bound (3), and write the result to (4).

(4) = min( max( (2), (1) ), (3) )

2048-bit SVE

For each 64-bit float, clamp (1) to be between the lower-bound (2), and the upper-bound (3), and write the result to (4).

(4) = min( max( (2), (1) ), (3) )

Report mistakes or give feedback
Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.