Decode

Here is the output of tests.tools.sass.test_decode.TestDecoder.test_to_html():

offset instruction stall yield b0 b1 b2 b3 b4 b5
0 0000 LDC R1, c[0x0][0x37c] 1 True Wr
1 0010 S2R R0, SR_TID.X 7 True Wr
2 0020 S2UR UR4, SR_CTAID.X 1 True Wr
3 0030 LDCU UR5, c[0x0][0x398] 7 True Wr
4 0040 LDC R7, c[0x0][0x360] 2 True Wr
5 0050 IMAD R7, R7, UR4, R0 5 False Wa
6 0060 ISETP.GE.U32.AND P0, PT, R7, UR5, PT 13 False Wa
7 0070 @P0 EXIT 5 True Wa
8 0080 LDC.64 R2, c[0x0][0x388] 1 True Wr
9 0090 LDCU.64 UR4, c[0x0][0x358] 1 True Wr
10 00a0 LDCU UR6, c[0x0][0x380] 6 True Wr
11 00b0 LDC.64 R4, c[0x0][0x390] 1 True Wr
12 00c0 IMAD.WIDE.U32 R2, R7, 0x4, R2 6 False Wa
13 00d0 LDG.E.CONSTANT R2, desc[UR4][R2.64] 1 True Wa Wr
14 00e0 IMAD.WIDE.U32 R4, R7, 0x4, R4 5 False Wa
15 00f0 LDG.E R7, desc[UR4][R4.64] 2 True Wr
16 0100 FFMA R7, R2, UR6, R7 5 False Wa
17 0110 STG.E desc[UR4][R4.64], R7 1 True
18 0120 EXIT 5 True
19 0130 BRA 0x130 0 False
20 0140 NOP 0 False
21 0150 NOP 0 False
22 0160 NOP 0 False
23 0170 NOP 0 False
24 0180 NOP 0 False
25 0190 NOP 0 False
26 01a0 NOP 0 False
27 01b0 NOP 0 False
28 01c0 NOP 0 False
29 01d0 NOP 0 False
30 01e0 NOP 0 False
31 01f0 NOP 0 False
class tests.tools.sass.test_decode.TestDecoderView on GitHub

Bases: object

Test reprospect.tools.sass.Decoder.

test_FFMA() NoneView on GitHub

Check that it can decode FFMA.

test_IMAD() NoneView on GitHub

Check that it can decode IMAD.

test_ISETP() NoneView on GitHub

Check that it can decode ISETP.

test_cuBLAS(parameters: Parameters, workdir: Path, cmake_file_api: FileAPI) NoneView on GitHub
test_from_128_to_130() NoneView on GitHub

This test is related to an observation that, for the same architecture (120), nvcc 12.8.1 and nvcc 13.0.0 write the same sequence of instructions, but the barriers (scoreboard dependencies) are different.

test_from_cuobjdump(workdir, parameters: Parameters, cmake_file_api: FileAPI) NoneView on GitHub

Read SASS dumped from cuobjdump.

test_from_source() NoneView on GitHub

Read SASS from a source.

test_matchers() NoneView on GitHub

Simple tests for the matchers.

test_string_representation() NoneView on GitHub

Test the string representation reprospect.tools.sass.Decoder.

test_to_html() NoneView on GitHub

Test reprospect.tools.sass.Decoder.to_html().

class tests.tools.sass.test_decode.TestRegisterTypeView on GitHub

Bases: object

Test reprospect.tools.sass.decode.RegisterType.