SVE Instruction List by Dougall Johnson
HISTSEG: Count matching elements in vector segments
HISTSEG Zd.B, Zn.B, Zm.B (SVE2+NS
svuint8_t svhistseg[_s8](svint8_t op1, svint8_t op2)
svuint8_t svhistseg[_u8](svuint8_t op1, svuint8_t op2)
128-bit SVE
For each 8-bit element in (2), count the number of equal elements from (1) within the same 128-bit segment, and write the count to (3).
256-bit SVE
For each 8-bit element in (2), count the number of equal elements from (1) within the same 128-bit segment, and write the count to (3).
512-bit SVE
For each 8-bit element in (2), count the number of equal elements from (1) within the same 128-bit segment, and write the count to (3).
Larger sizes
1024-bit SVE
For each 8-bit element in (2), count the number of equal elements from (1) within the same 128-bit segment, and write the count to (3).
2048-bit SVE
For each 8-bit element in (2), count the number of equal elements from (1) within the same 128-bit segment, and write the count to (3).
Report mistakes or give feedback
Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.