We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faac50c commit c35e964Copy full SHA for c35e964
rocclr/device/pal/palblitcl.cpp
@@ -124,9 +124,8 @@ const char* TrapHandlerCode = RUNTIME_KERNEL(
124
\n
125
\n // Check if the it was an host trap.
126
\n s_bitcmp1_b32 ttmp1, SQ_WAVE_PC_HI_HT_SHIFT
127
-\n s_cbranch_scc0 .not_host_trap
+\n s_cbranch_scc1 .not_s_trap
128
129
-\n.not_host_trap:
130
\n // It's an s_trap; advance the PC
131
\n s_add_u32 ttmp0, ttmp0, 0x4
132
\n s_addc_u32 ttmp1, ttmp1, 0x0
@@ -140,6 +139,7 @@ const char* TrapHandlerCode = RUNTIME_KERNEL(
140
139
\n // Ignore llvm.debugtrap.
141
\n s_branch .exit_trap
142
+\n.not_s_trap:
143
\n.no_skip_debugtrap:
144
\n // Save trap id and halt status in ttmp6.
145
\n s_andn2_b32 ttmp6, ttmp6, (TTMP6_SAVED_TRAP_ID_MASK | TTMP6_SAVED_STATUS_HALT_MASK)
0 commit comments