SVE Instruction List by Dougall Johnson
# DECP (vector): Decrement vector by count of true predicate elements

DECP Zdn.S, Pm.S (SVE (SME

## 128-bit SVE

Count the non-zero predicate bits corresponding to 32-bit elements from (1), then subtract the total from each 32-bit element from (2), setting (3) to the result.

## 256-bit SVE

Count the non-zero predicate bits corresponding to 32-bit elements from (1), then subtract the total from each 32-bit element from (2), setting (3) to the result.

## 512-bit SVE

Count the non-zero predicate bits corresponding to 32-bit elements from (1), then subtract the total from each 32-bit element from (2), setting (3) to the result.

## Larger sizes

## 1024-bit SVE

Count the non-zero predicate bits corresponding to 32-bit elements from (1), then subtract the total from each 32-bit element from (2), setting (3) to the result.

## 2048-bit SVE

Count the non-zero predicate bits corresponding to 32-bit elements from (1), then subtract the total from each 32-bit element from (2), setting (3) to the result.

Report mistakes or give feedback

Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.