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

BRKNS: Propagate break to next partition, setting the condition flags

BRKNS Pdm.B, Pg/Z, Pn.B, Pdm.B (SVE (SME

128-bit SVE

The last active bit from (2) is the highest (leftmost) element where the corresponding bit in (1) is non-zero. If the last active bit from (2) is zero, set every bit in (4) to zero, otherwise preserve the value from (3). This operation sets the flags based on the resulting predicate (4), ignoring (1), and instead treating every lane as active.

Warning: despite the syntax, this operation does not perform zeroing predication, and ignores the predicate while setting flags.

256-bit SVE

The last active bit from (2) is the highest (leftmost) element where the corresponding bit in (1) is non-zero. If the last active bit from (2) is zero, set every bit in (4) to zero, otherwise preserve the value from (3). This operation sets the flags based on the resulting predicate (4), ignoring (1), and instead treating every lane as active.

Warning: despite the syntax, this operation does not perform zeroing predication, and ignores the predicate while setting flags.

512-bit SVE

The last active bit from (2) is the highest (leftmost) element where the corresponding bit in (1) is non-zero. If the last active bit from (2) is zero, set every bit in (4) to zero, otherwise preserve the value from (3). This operation sets the flags based on the resulting predicate (4), ignoring (1), and instead treating every lane as active.

Warning: despite the syntax, this operation does not perform zeroing predication, and ignores the predicate while setting flags.


Larger sizes

1024-bit SVE

The last active bit from (2) is the highest (leftmost) element where the corresponding bit in (1) is non-zero. If the last active bit from (2) is zero, set every bit in (4) to zero, otherwise preserve the value from (3). This operation sets the flags based on the resulting predicate (4), ignoring (1), and instead treating every lane as active.

Warning: despite the syntax, this operation does not perform zeroing predication, and ignores the predicate while setting flags.

2048-bit SVE

The last active bit from (2) is the highest (leftmost) element where the corresponding bit in (1) is non-zero. If the last active bit from (2) is zero, set every bit in (4) to zero, otherwise preserve the value from (3). This operation sets the flags based on the resulting predicate (4), ignoring (1), and instead treating every lane as active.

Warning: despite the syntax, this operation does not perform zeroing predication, and ignores the predicate while setting flags.


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