NVIDIA ISA Viewer

BREV

Bit Reverse

5 variants on SM90 (H100)

BREV
R,R
distilled: @P0 BREV R0, R0 ;
key: BREV_R_R
0123456701234567012345670123456701234567012345670123456701234567
100000001100predoperand 000000000operand 1000000000000000000000000
0123456701234567012345670123456701234567012345670123456701234567
00000000000000000000000000000000000000000stallyr-barw-barb-maskreuse00
BREV
R,I
distilled: @P0 BREV R0, 0x0 ;
key: BREV_R_I
0123456701234567012345670123456701234567012345670123456701234567
100000001001predoperand 000000000operand 1
0123456701234567012345670123456701234567012345670123456701234567
00000000000000000000000000000000000000000stallyr-barw-barb-maskreuse00
BREV
R,c[I][I]
distilled: @P0 BREV R0, c[0x0][0x0] ;
key: BREV_R_I_I
0123456701234567012345670123456701234567012345670123456701234567
100000001101predoperand 00000000000000000operand 2operand 1operand 2operand 100000
0123456701234567012345670123456701234567012345670123456701234567
00000000000000000000000000000000000000000stallyr-barw-barb-maskreuse00
BREV
R,cx[UR][I]
distilled: @P0 BREV R0, cx[UR0][0x0] ;
key: BREV_R_UR_I
0123456701234567012345670123456701234567012345670123456701234567
100000001101predoperand 000000000operand 10operand 2000000000
0123456701234567012345670123456701234567012345670123456701234567
00000000000000000000000000010000000000000stallyr-barw-barb-maskreuse00
BREV
R,UR
distilled: @P0 BREV R0, UR0 ;
key: BREV_R_UR
0123456701234567012345670123456701234567012345670123456701234567
100000001011predoperand 000000000operand 10000000000000000000000000
0123456701234567012345670123456701234567012345670123456701234567
00000000000000000000000000010000000000000stallyr-barw-barb-maskreuse00