search for: sparcasmprint

Displaying 13 results from an estimated 13 matches for "sparcasmprint".

Did you mean: sparcasmprinter
2009 Sep 08
0
[LLVMdev] Sparc debug info patch
...have been able to view source files, set breakpoints, and single > step source lines after applying this patch. I can't view variables > because I haven't implemented Dwarf type data, yet. Cool! I'm glad to see progress on the sparc backend: +++ lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp (working copy) @@ -44,6 +44,8 @@ namespace { class VISIBILITY_HIDDEN SparcAsmPrinter : public AsmPrinter { + DwarfWriter *DW; + This shouldn't be needed, the AsmPrinter base class now has this. This allows you to remove SparcAsmPrinter::doInitialization. Otherwise, looks gr...
2009 Sep 06
2
[LLVMdev] Sparc debug info patch
Please review the enclosed patch for Sparc debug info. I have been able to view source files, set breakpoints, and single step source lines after applying this patch. I can't view variables because I haven't implemented Dwarf type data, yet. -Rich -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sparcdebug.patch URL:
2010 Jul 26
2
[LLVMdev] LLVM Dependency Graph
...port AlphaAsmPrinter -> System AlphaAsmPrinter -> Target AlphaCodeGen -> AlphaInfo AlphaCodeGen -> CodeGen AlphaCodeGen -> Core AlphaCodeGen -> MC AlphaCodeGen -> SelectionDAG AlphaCodeGen -> Support AlphaCodeGen -> System AlphaCodeGen -> Target SparcInfo -> Support SparcAsmPrinter -> AsmPrinter SparcAsmPrinter -> CodeGen SparcAsmPrinter -> Core SparcAsmPrinter -> MC SparcAsmPrinter -> SparcInfo SparcAsmPrinter -> Support SparcAsmPrinter -> System SparcAsmPrinter -> Target SparcCodeGen -> CodeGen SparcCodeGen -> Core SparcCodeGen -> MC Sparc...
2008 Aug 01
2
[LLVMdev] Sparc assembly syntax
...d is that sparc-elf-as doesn't understand .bss as a directive for some reason. I modified the Sparc code generator to output .section ".bss" and that works just fine. My (temporary) solution is a hack, however: ================================================================== --- SparcAsmPrinter.cpp (revision 720) +++ SparcAsmPrinter.cpp (working copy) @@ -263,7 +263,7 @@ // FALL THROUGH case GlobalValue::InternalLinkage: if (C->isNullValue()) - SwitchToDataSection(".bss", I); + SwitchToDataSection("\t.section\t\&q...
2010 Feb 09
3
[LLVMdev] How to check for "SPARC code generation" in MachineBasicBlock.cpp?
...sBlockOnlyReachableByFallthrough. Then you can make it virtual, and have the sparc backend provide its own implementation of it (which might as well just return false all the time). Sounds reasonable to me. The attached llvm-sparc-asmprinter1.patch implements what you've described above, with SparcAsmPrinter::isBlockOnlyReachableByFallthrough looking for the last terminator rather than the last instruction. I've also included llvm-sparc-asmprinter2.patch which fixes a different issue in SparcAsmPrinter where multiple identical .LLGETPCHn symbols could be emitted in the same file (it was uniqued...
2009 Sep 08
1
[LLVMdev] Status update (was Re: Sparc debug info patch)
Chris Lattner wrote: > Cool! I'm glad to see progress on the sparc backend: > > +++ lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp (working copy) > @@ -44,6 +44,8 @@ > > namespace { > class VISIBILITY_HIDDEN SparcAsmPrinter : public AsmPrinter { > + DwarfWriter *DW; > + > > This shouldn't be needed, the AsmPrinter base class now has this. This > allows you to remove SparcAsmPr...
2008 Jul 31
0
[LLVMdev] Sparc assembly syntax
Chris Lattner wrote: > This is probably a difference between the sun and GNU assemblers. > There is no current sparc maintainer, so feel free to change it if one > way works better for you. Hi Chris, Here's the fix: Index: SparcRegisterInfo.cpp =================================================================== --- SparcRegisterInfo.cpp (revision 700) +++
2008 Jul 31
4
[LLVMdev] Sparc assembly syntax
On Jul 31, 2008, at 9:57 AM, Dale Johannesen wrote: > > On Jul 31, 2008, at 4:52 AMPDT, Richard Pennington wrote: > >> Any code that I generate for the Sparc fails at assembly time using a >> gas assembler built for the Sparc. >> >> I get code like the following from the code generator: >> >> save -96, %o6, %o6 >> >> and get a syntax
2010 Feb 14
0
[LLVMdev] sparc status llvm 2.7?
...llthrough. Then you can make it virtual, and have the sparc backend provide its own implementation of it (which might as well just return false all the time). >> > > Sounds reasonable to me. The attached llvm-sparc-asmprinter1.patch implements what you've described above, with SparcAsmPrinter::isBlockOnlyReachableByFallthrough looking for the last terminator rather than the last instruction. > > I've also included llvm-sparc-asmprinter2.patch which fixes a different issue in SparcAsmPrinter where multiple identical .LLGETPCHn symbols could be emitted in the same file (it wa...
2010 Feb 08
0
[LLVMdev] How to check for "SPARC code generation" in MachineBasicBlock.cpp?
On Feb 8, 2010, at 12:37 AM, Nathan Keynes wrote: > Firstly, the BNE/BA pair should be reduced to a BE (I assume this is > the responsibility of AnalyzeBranch and friends that you mention). Right. Implementing AnalyzeBranch will allow a bunch of block layout and branch optimizations to happen. > However I still wouldn't have expected that to result in the label > being
2010 May 08
1
[LLVMdev] Scope of JIT implementation for the target?
I see that JIT isn't supported for the Sparc targets for example. What is the scope of the change to add JIT support. I see, for example, that for X86 target class X86JITInfo is defined with 10 methods. It's only used in one place: setPICBase. Also createX86JITCodeEmitterPass creates JIT pass -- very simple. So is implementing these steps enough to add JIT, or there are some hidden
2010 Feb 08
2
[LLVMdev] How to check for "SPARC code generation" in MachineBasicBlock.cpp?
On 11/12/2009, at 10:43 AM, Anton Korobeynikov wrote: > Hi, Chris > >> That is target independent code, so you should not put sparc specific changes there. It sounds like one of the sparc-specific target hooks is wrong. > Since sparc does not provide any hooks for operation of branches (e.g. > AnalyzeBranch and friends) it might be possible that generic codegen > code is
2007 Jul 24
2
[LLVMdev] clang builds on Sparc/Linux!
...nOS. My patches will assume that everyone is using "cc" under SunOS...because we can't check in llc whether someone will use "cc" or "gcc" to assemble and link in the future ;) -------------- next part -------------- A non-text attachment was scrubbed... Name: SparcAsmPrinter.cpp.patch Type: text/x-patch Size: 400 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070724/662fae20/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: SparcRegisterInfo.cpp.patch Type: text/x-patch Si...