search for: amdgpumcinstlower

Displaying 2 results from an estimated 2 matches for "amdgpumcinstlower".

2013 Oct 10
0
[LLVMdev] [PATCH] R600/SI: Embed disassembly in ELF object
...&TM, MCStreamer &Streamer) > - : AsmPrinter(TM, Streamer) { } > + explicit AMDGPUAsmPrinter(TargetMachine &TM, MCStreamer &Streamer); > > virtual bool runOnMachineFunction(MachineFunction &MF); > > @@ -38,6 +39,11 @@ > > /// Implemented in AMDGPUMCInstLower.cpp > virtual void EmitInstruction(const MachineInstr *MI); > + > +protected: > + bool DisasmEnabled; > + std::vector<std::string> DisasmLines, HexLines; > + size_t DisasmLineMaxLen; > }; > > } // End anonymous llvm > Index: lib/Target/R600/AMDGPUMCInst...
2013 Oct 10
2
[LLVMdev] [PATCH] R600/SI: Embed disassembly in ELF object
Hi, This patch adds R600/SI disassembly text to compiled object files, when a code dump is requested, to assist debugging in Mesa clients. Here's an example of the output in a Mesa client with a corresponding patch and RADEON_DUMP_SHADERS set: Shader Disassembly: S_WQM_B64 EXEC, EXEC ; BEFE0A7E S_MOV_B32 M0, SGPR6 ; BEFC0306