SVE Instruction List by Dougall Johnson
TRN1 (predicates): Interleave even elements from two predicates
TRN1 Pd.S, Pn.S, Pm.S (SVE (SME
svbool_t svtrn1_b32(svbool_t op1, svbool_t op2)
128-bit SVE
![](../svg/trn1p_Pn_Pm_Pd_32_128.svg)
Set (3) to the interleaved even 4-bit segments from (1) and (2).
256-bit SVE
![](../svg/trn1p_Pn_Pm_Pd_32_256.svg)
Set (3) to the interleaved even 4-bit segments from (1) and (2).
512-bit SVE
![](../svg/trn1p_Pn_Pm_Pd_32_512.svg)
Set (3) to the interleaved even 4-bit segments from (1) and (2).
Larger sizes
1024-bit SVE
![](../svg/trn1p_Pn_Pm_Pd_32_1024.svg)
Set (3) to the interleaved even 4-bit segments from (1) and (2).
2048-bit SVE
![](../svg/trn1p_Pn_Pm_Pd_32_2048.svg)
Set (3) to the interleaved even 4-bit segments from (1) and (2).
Report mistakes or give feedback
Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.