search for: sparcregisterinfo

Displaying 7 results from an estimated 7 matches for "sparcregisterinfo".

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) +++ SparcRegisterInfo.cpp (working copy) @@ -137,7 +137,7 @@ if (NumBytes >= -4096) { BuildMI(MBB, MBB.begin(), TII.get(SP::SAVEri), - SP::O6).addImm...
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
2008 Jan 27
1
[LLVMdev] Quad precision registers
Hi, guys. I was browsing through SparcRegisterInfo.td, and I did not find support for quad-precision floating-point registers, that is, a single register of 128 bits aliasing four registers of 32. As this is predicted in the Sparc V8 manual (http://www.sparc.org/standards/V8.pdf, page 33), do you guys plan on adding this feature? all the best,...
2007 Mar 27
0
[LLVMdev] Live intervals and aliasing registers problem
I'm having trouble with overlapping intervals for vector registers. How are intervals for registers that both alias to the same larger register intended to be handled? To demonstrate this problem you can use a minor addition to the Sparc register description. Add this to the SparcRegisterInfo.td at line 68: // Rtest class Rtest<bits<5> num, string n, list<Register> aliases> : SparcReg<n> { let Num = num; let Aliases = aliases; } def ALIASING : Rtest<0, "Rtest0", [I0, I1]>, DwarfRegNum<0>; Then attempt to build the attached llvm fi...
2014 Apr 03
5
[LLVMdev] comparing .o files from different build trees
...be/build/./lib/Target/X86/MCTargetDesc/Release+Asserts/X86MCTargetDesc.o differ: byte 159231, line 159 ./lib/Target/Sparc/Release+Asserts/SparcISelDAGToDAG.o ../../recurse2be/build/./lib/Target/Sparc/Release+Asserts/SparcISelDAGToDAG.o differ: byte 25814, line 106 ./lib/Target/Sparc/Release+Asserts/SparcRegisterInfo.o ../../recurse2be/build/./lib/Target/Sparc/Release+Asserts/SparcRegisterInfo.o differ: byte 16949, line 12 ./lib/Target/Sparc/InstPrinter/Release+Asserts/SparcInstPrinter.o ../../recurse2be/build/./lib/Target/Sparc/InstPrinter/Release+Asserts/SparcInstPrinter.o differ: byte 26716, line 14 ./lib/Ta...
2007 Jul 24
2
[LLVMdev] clang builds on Sparc/Linux!
...xt 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 Size: 339 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070724/662fae20/attachment-0001.bin>
2016 Apr 27
2
[Sparc] builtin setjmp / longjmp - need help to get past last problem
...(*thisMBB, MI, DL, TII->get(SP::STri)) + .addReg(BufReg) + .addImm(3 * PtrSize) + .addReg(SP::I7); + MIB.setMemRefs(MMOBegin, MMOEnd); + + + // Setup + MIB = BuildMI(*thisMBB, MI, DL, TII->get(SP::BCOND)).addMBB(mainMBB).addImm(SPCC::ICC_A); + const SparcRegisterInfo* TRI = Subtarget->getRegisterInfo(); + MIB.addRegMask(TRI->getNoPreservedMask()); + + BuildMI(thisMBB, DL, TII->get(SP::LDri)) + .addReg(restoreDstReg, RegState::Define) + .addImm(1) + .addReg(SP::G0); + + MIB = BuildMI(*thisMBB, MI, DL, TII-...