Displaying 20 results from an estimated 400 matches similar to: "[LLVMdev] emitting function stub for mips16 floating point patch"
2014 Feb 04
2
[LLVMdev] emitting function stub for mips16 floating point patch
How is alignment set?
On 02/04/2014 08:48 AM, Rafael Espíndola wrote:
> On 31 January 2014 18:59, reed kotler <rkotler at mips.com> wrote:
>> I'm rewriting this patch for the stubs to not use outputing of raw text.
>>
>> Generating the instructions is very straightforward and that part is done.
> awesome!
>
>> I'm translating the actual function
2014 Jan 29
3
[LLVMdev] making emitInlineAsm protected
On 01/28/2014 06:29 PM, Eric Christopher wrote:
> Uhhhh...
>
> -eric
>
> On Tue, Jan 28, 2014 at 4:56 PM, reed kotler <rkotler at mips.com> wrote:
>> I would like to make the following member of AsmPrinter be protected
>>
>>
>> void EmitInlineAsm(StringRef Str, const MDNode *LocMDNode = 0,
>> InlineAsm::AsmDialect
2014 Feb 04
2
[LLVMdev] emitting function stub for mips16 floating point patch
On 02/04/2014 09:49 AM, Rafael Espíndola wrote:
> On 4 February 2014 12:37, reed kotler <rkotler at mips.com> wrote:
>> How is alignment set?
> Of a symbol? EmitValueToAlignment.
>
> A tip on how to find this is to look at what clang prints
> (".align...") and grep for it "git grep '\.align'").
>
> Cheers,
> Rafael
Not on a symbol but
2014 Feb 04
3
[LLVMdev] emitting function stub for mips16 floating point patch
On 02/04/2014 09:58 AM, Rafael Espíndola wrote:
>> .align
>
> So yes, EmitValueToAlignment.
>
> Cheers,
> Rafael
>
One more:::
OutStreamer.EmitRawText("\t.size __call_stub_fp_" + Twine(Symbol) +
", .-__call_stub_fp_" + Twine(Symbol));
You have to make an expression????
i.e.
.size __call_stub_fp___floatdidf,
2010 May 06
2
[LLVMdev] Win32 COFF Support
...
> Thanks, applied in r103150! llvm-mc -filetype=obj probably needs a similar
> patch.
>
>
cool!, I will make that change and submit it too.
> ...
> Yes probably, I don't know what the .def and .scl directives "do" :)
>
>
I think I can figure out the right thing to do here.
> Also, w.r.t. section handling stuff, there is this fixme in the asmprinter:
2010 May 07
2
[LLVMdev] AsmPrinter behavior
On May 7, 2010, at 11:42 AM, Nathan Jeffords wrote:
>> $ llc t.ll -o - -mtriple=i386-apple-darwin10
>> .section __TEXT,__text,regular,pure_instructions
>> .zerofill __DATA,__bss,_tst1,4,0 ## @tst1
>> .section __DATA,__data
>> _tst2: ## @tst2
>> .ascii "\000\001\002\003"
>>
>> I think we should
2010 May 07
0
[LLVMdev] AsmPrinter behavior
On Fri, May 7, 2010 at 10:14 AM, Chris Lattner <clattner at apple.com> wrote:
>
> On May 7, 2010, at 10:02 AM, Aaron Gray wrote:
>
> On 7 May 2010 17:53, Chris Lattner <clattner at apple.com> wrote:
>
>>
>> On May 7, 2010, at 9:51 AM, Nathan Jeffords wrote:
>>
>> This seems counter intuitive to me, I can understand that C assigned that
2010 May 07
0
[LLVMdev] AsmPrinter behavior
On Fri, May 7, 2010 at 12:58 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On May 7, 2010, at 11:42 AM, Nathan Jeffords wrote:
>
> $ llc t.ll -o - -mtriple=i386-apple-darwin10
>>> .section __TEXT,__text,regular,pure_instructions
>>> .zerofill __DATA,__bss,_tst1,4,0 ## @tst1
>>> .section __DATA,__data
>>> _tst2:
2014 Feb 04
2
[LLVMdev] emitting function stub for mips16 floating point patch
On 02/04/2014 09:55 AM, Rafael Espíndola wrote:
>> Not on a symbol but in a section to set the current value.
> If I remember correctly a section is as aligned as its most aligned
> symbol. What directive does gcc use?
>
> Cheers,
> Rafael
.align
2013 May 06
3
[LLVMdev] #APP/#NOAPP
Hi Hal,
I think that it's perfectly valid to generate inline assembler and it
looks 1000 times cleaner than if I tried to do this same work with
selection DAG.
> I hope you don't mind if I play devil's advocate here...
>
> Why is this so complicated that it would be messy to do, at least in part, at a lower level? I can understand needing IR-level analysis for some kinds of
2013 May 06
0
[LLVMdev] #APP/#NOAPP
On Mon, May 6, 2013 at 3:08 PM, reed kotler <rkotler at mips.com> wrote:
> Hi Hal,
>
>
> I think that it's perfectly valid to generate inline assembler and it
> looks 1000 times cleaner than if I tried to do this same work with
> selection DAG.
>
I'm pretty sure you're the only one who thinks this. What's so
complicated about doing this either at
2013 May 06
4
[LLVMdev] #APP/#NOAPP
On 05/06/2013 07:52 AM, Rafael Espíndola wrote:
> On 6 May 2013 10:29, reed kotler <rkotler at mips.com> wrote:
>> I want to disable the #APP/#NOAPP for compiler generated inline asm.
>>
>> Unfortunately, you can change the string APP,NOAPP, but it still will put
>> the "#" there and create
>> a line.
>>
>> In the comments it said that
2013 May 07
2
[LLVMdev] #APP/#NOAPP
On 05/06/2013 04:23 PM, Eric Christopher wrote:
> On Mon, May 6, 2013 at 3:08 PM, reed kotler <rkotler at mips.com> wrote:
>> Hi Hal,
>>
>>
>> I think that it's perfectly valid to generate inline assembler and it
>> looks 1000 times cleaner than if I tried to do this same work with
>> selection DAG.
>>
> I'm pretty sure you're the
2013 May 06
0
[LLVMdev] #APP/#NOAPP
----- Original Message -----
> On 05/06/2013 07:52 AM, Rafael Espíndola wrote:
> > On 6 May 2013 10:29, reed kotler <rkotler at mips.com> wrote:
> >> I want to disable the #APP/#NOAPP for compiler generated inline
> >> asm.
> >>
> >> Unfortunately, you can change the string APP,NOAPP, but it still
> >> will put
> >> the
2011 Feb 25
0
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On Fri, Feb 25, 2011 at 12:16 PM, Siarhei Siamashka
<siarhei.siamashka at gmail.com> wrote:
> On Thursday 03 February 2011 14:14:28 Renato Golin wrote:
>> On 3 February 2011 10:25, Siarhei Siamashka <siarhei.siamashka at gmail.com>
> wrote:
>> > I have submitted a bug some time ago to LLVM bugtracker:
>> > http://llvm.org/bugs/show_bug.cgi?id=8931
>>
2010 May 07
4
[LLVMdev] AsmPrinter behavior
On May 7, 2010, at 10:02 AM, Aaron Gray wrote:
> On 7 May 2010 17:53, Chris Lattner <clattner at apple.com> wrote:
>
> On May 7, 2010, at 9:51 AM, Nathan Jeffords wrote:
>
>>> This seems counter intuitive to me, I can understand that C assigned that behavior somewhat arbitrarily to uninitialized global variables, but in LLVM there is explicitly a common linkage
2011 Feb 25
2
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On Thursday 03 February 2011 14:14:28 Renato Golin wrote:
> On 3 February 2011 10:25, Siarhei Siamashka <siarhei.siamashka at gmail.com>
wrote:
> > I have submitted a bug some time ago to LLVM bugtracker:
> > http://llvm.org/bugs/show_bug.cgi?id=8931
>
> Hi Siarhei,
>
> This is a really silly bug with a simple fix.
>
> We have a similar patch here
2013 May 09
0
[LLVMdev] #APP/#NOAPP
That code looks a little odd but not too awful. I still don't
understand what's so wrong/complicated about this. You seem to be of
the opinion that injecting asm into a stream ala gcc is a good idea in
clang, it really isn't.
-eric
On Mon, May 6, 2013 at 5:45 PM, reed kotler <rkotler at mips.com> wrote:
> On 05/06/2013 04:23 PM, Eric Christopher wrote:
>>
>> On
2011 Jun 17
2
[LLVMdev] Simple clang + llc crash on Windows 7
Hello,
I'm eager to get to know Clang+LLVM but I'm having some problems generating debug information that force llc.exe to crash.
I'm running from the command-line on Windows 7 with clang+llvm versions 2.9 downloaded from the website. The input file is main.c:
void mainCRTStartup()
{
}
This is compiled to intermediate with debug symbols using:
clang -g -O0 -c
2010 May 06
0
[LLVMdev] Win32 COFF Support
On May 5, 2010, at 6:44 PM, Nathan Jeffords wrote:
> ...
> Thanks, applied in r103150! llvm-mc -filetype=obj probably needs a similar patch.
>
>
> cool!, I will make that change and submit it too.
Thanks!
> Also, w.r.t. section handling stuff, there is this fixme in the asmprinter:
>
> } else if (const char *LinkOnce = MAI->getLinkOnceDirective()) {
>