Page MenuHomePhabricator

jiaolu (Jiao Lu)
User

Projects

User does not belong to any projects.

User Details

User Since
Sep 23 2020, 11:50 PM (114 w, 2 d)

Recent Activity

Oct 14 2020

jiaolu added a comment to D88774: Add disassembly counter after disasembly line.

Please work on removing this feature from the backend instead. It's long past time to stop handling this in the compiler

There are several shader debugger tools/situation dependent on this feature.
e.g. one line like this "s_andn2_b32 vcc_lo, vcc_lo, 0 ;000974: 8A6A806A"
1). we feed the disassembly count "0x000974" to the shader debugger tool to get this line of code execution ,register input and output.
2).Also there is some other shader dump tool,e.g. umr. or windbg which output a stream of hardware codes, we can use the hardware code to find matched part of disassembly lines.
3). we also have one shader replacement tool , to drop and replace part of the elf hardware code, if we have full disassembly line with counter and hardware code, it would be handy where to edit hardware code.

Hope it explains.

You can disassemble the text section in the tooling. The compiler does not need to provide this at all

Oct 14 2020, 7:22 PM · Restricted Project, Restricted Project
jiaolu added a comment to D88774: Add disassembly counter after disasembly line.

Please work on removing this feature from the backend instead. It's long past time to stop handling this in the compiler

There are several shader debugger tools/situation dependent on this feature.
e.g. one line like this "s_andn2_b32 vcc_lo, vcc_lo, 0 ;000974: 8A6A806A"
1). we feed the disassembly count "0x000974" to the shader debugger tool to get this line of code execution ,register input and output.
2).Also there is some other shader dump tool,e.g. umr. or windbg which output a stream of hardware codes, we can use the hardware code to find matched part of disassembly lines.
3). we also have one shader replacement tool , to drop and replace part of the elf hardware code, if we have full disassembly line with counter and hardware code, it would be handy where to edit hardware code.

Hope it explains.

It doesn't really. If you already parse this text output, surely you could just derive the offset yourself by counting the number of dwords in comments?

Oct 14 2020, 7:12 PM · Restricted Project, Restricted Project

Oct 13 2020

jiaolu added a comment to D88774: Add disassembly counter after disasembly line.

I don't understand how this would help with shader replacement. Can you please explain how you plan to use this?

Oct 13 2020, 1:54 AM · Restricted Project, Restricted Project
jiaolu added a comment to D88774: Add disassembly counter after disasembly line.

Please work on removing this feature from the backend instead. It's long past time to stop handling this in the compiler

Oct 13 2020, 1:44 AM · Restricted Project, Restricted Project

Oct 8 2020

jiaolu added a reviewer for D88774: Add disassembly counter after disasembly line: arsenm.
Oct 8 2020, 11:16 PM · Restricted Project, Restricted Project

Oct 2 2020

jiaolu added reviewers for D88774: Add disassembly counter after disasembly line: tpr, nhaehnle.
Oct 2 2020, 9:12 PM · Restricted Project, Restricted Project
jiaolu requested review of D88774: Add disassembly counter after disasembly line.
Oct 2 2020, 9:10 PM · Restricted Project, Restricted Project
jiaolu abandoned D88771: [PATCH] Fix typo (NFC).
Oct 2 2020, 8:51 PM · Restricted Project
jiaolu requested review of D88771: [PATCH] Fix typo (NFC).
Oct 2 2020, 8:43 PM · Restricted Project