Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] Sparc assembly syntax"
2008 Aug 03
0
[LLVMdev] Sparc assembly syntax
Hello,
> As others mentioned, Anton is working on a significant cleanup to help
> unify the asm printers. If you need to do this in the short term, I'd
> add an "isTargetELF()" method to the SparcSubtarget class, and have it
> autodetect it from the target triple as the x86 backend does. With
> that, you can predicate the output based on whether the target
2008 Sep 21
0
[LLVMdev] OpenBSD port in progress
2008/9/21 Anton Korobeynikov <asl at math.spbu.ru>:
> Hello,
>
>> If anybody has an idea of how to fix this (other than using another
>> version of gcc because I am sick of compiling), I would appreciate. I
>> can offer backtraces or shell access if anybody is interested, just
>> ask me what you need.
> This was fixed couple of months ago. Please consider
2008 Sep 21
2
[LLVMdev] OpenBSD port in progress
Hello,
> If anybody has an idea of how to fix this (other than using another
> version of gcc because I am sick of compiling), I would appreciate. I
> can offer backtraces or shell access if anybody is interested, just
> ask me what you need.
This was fixed couple of months ago. Please consider using current svn
top of tree, not 2.3 release.
--
WBR, Anton Korobeynikov
2008 Jul 15
1
[LLVMdev] MS assembler support
Hi, Chris
> If the assembler is a limitation, the best solution would be to add a
> direct PECOFF writer. There is a start of direct ELF and Macho writers
> already in the tree. They are not production quality, but could be a
> useful place to start looking.
Well, maybe. But in any case I doubt there will be 'open' support for CV debug format :)
--
WBR, Anton
2008 Aug 01
2
[LLVMdev] Sparc assembly syntax
OK, so the next thing I found in Sparc world 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)
+++
2008 Oct 12
4
[LLVMdev] Genlibdeps.pl, CMake and MSYS
Hello, Everyone
> On this specific case, IIRC, MinGW chokes if asmprinter is not on the
> list of components. This may be another consequence of the malfunctoning
> of llvm-config/GenLibDeps.pl on MinGW/MSYS.
This works for me without any problems on mingw32. What are the problems you're seeing?
--
WBR, Anton Korobeynikov
2008 Oct 26
4
[LLVMdev] CMake builds clang.
Hi, Oscar
> at all, it would be great if you reflect your changes on the file list
> inside the corresponding CMakeLists.txt when you add, remove or rename
a
> .cpp file.
Isn't is possible for cmake just to glob everything in the corresponding
directory?
--
WBR, Anton Korobeynikov
2008 Feb 19
1
[LLVMdev] LLVM2.2 x64 JIT trouble on VStudio build
Hello, Chuck
> I've had a look at the stubs before and I think I'm circumventing them
> in the example program since I populate the table and compile the
> functions in the order so that things never need to be done lazily, but
> I'll look further.
Well, anyway stubs are definitely wrong from windows64 and this should
be fixed, otherwise funny stuff can happen from time to
2008 Feb 19
1
[LLVMdev] cross compiling with the C backend
Hello, Kevin
> build process I described in my original message. So the difference is
> more subtle; maybe a difference in the layout of structs or something.
Also, there can be another ABI differences.
> llvmoutput.c:17976: warning: pointer targets in passing argument 1 of
> 'longjmp' differ in signedness
Hrm, are you using setjmp/longjmp stuff? They're definitely not
2008 Feb 19
1
[LLVMdev] cross compiling with the C backend
Hello, Kevin.
> Well, I already use custom includes with these options: "-nostdlib
> -nostdinc -Ipsptoolchain/psp/include
> -Ipsptoolchain/lib/gcc/psp/4.1.0/include". But that seems not enough.
> GCC has some target-specific behaviour compiled in?
Well, in general - yes. However, I'm not sure up to which margin.
--
WBR, Anton Korobeynikov
2008 Mar 18
1
[LLVMdev] GCC Merge Coming Up
Hello, Bill
> This merge should go *much* more smoothly than the last merge -- it
> could hardly be worse, right? ;-) I already did a test compile of
> llvm-test with the patch and it compiled the programs without a
> problem. Devang is currently testing it as well so that I have a
> second opinion.
One thing, which we already saw: please carefully check, that you won't
2008 Jul 27
1
[LLVMdev] Any Mercurial or Bazaar mirrors available?
Hello, Oscar
> Anyways, if there is no Mercurial or Bazaar mirrors available, I will
> try git. Recommendations on which one to use welcomed.
There is git mirror at repo.or.cz: http://repo.or.cz/w/llvm.git, llvm-gcc & clang mirrors are
available there as well. I'm updating it 'by hands' currently due to some reasons, so sometimes it
will need 2-3 days for changes in llvm
2008 Sep 02
1
[LLVMdev] LLVM build failures
Hi,
> (2) on alpha, gcc 4.2.4. The "unknown component name: alphacodegen"
> didn't use to occur.
My fault, I'll fix it. The problem is that lli wants to link in JIT
module, which does not exist for these targets.
--
WBR, Anton Korobeynikov
2008 Sep 30
1
[LLVMdev] Unwinds Gone Wild
On Mon, Sep 29, 2008 at 12:05 PM, OvermindDL1 <overminddl1 at gmail.com> wrote:
> On Mon, Sep 29, 2008 at 9:01 AM, Duncan Sands <baldrick at free.fr> wrote:
>> libgcc is also available for windows.
> Really? What license? What restrictions? Any speed impact over the
> VC runtimes?
Don't mix VC runtime and libgcc. These are totally different libraries for doing
2008 Jul 31
2
[LLVMdev] Sparc assembly syntax
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:
.text
.align 16
.globl main
.type main, #function
main:
save -96, %o6, %o6
and get a syntax error on the save instruction.
I think sparc syntax should be:
.text
.align
2008 Jul 31
0
[LLVMdev] Sparc assembly syntax
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 error on the save instruction.
>
> I think sparc syntax should be:
>
> main:
>
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
2008 Sep 15
1
[LLVMdev] Prevent a intrinsic to be reordered?
Nothing... I'll show you all the info related to:
The intrinsic: def int_soru_sre : Intrinsic<[llvm_void_ty, llvm_i32_ty],
[IntrWriteMem]>;
The lower instruction (in MIPS):
class SORUI<bits<6> op, dag outs, dag ins, string asmstr, list<dag> pattern,
InstrItinClass itin>: FI<op, outs, ins, asmstr, pattern, itin>
{
let isBarrier = 1; // or call,
2008 Sep 05
0
[LLVMdev] Intel asm
Hello, David
> Is the Intel AsmPrinter meant to produce asm that is understood by gas or
> is it only meant to satisfy NASM, etc.?
It's expected to produce assembler, which is understood by masm mainly. However, don't
expect much from this asmprinter - masm does not have many features required to emit
assembler properly.
--
WBR, Anton Korobeynikov