[LLVMdev] emitting function stub for mips16 floating point patch
reed kotler
rkotler at mips.com
Tue Feb 4 09:37:54 PST 2014
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 now.
>>
>> How do you emit an .ent
> emitDirectiveEnt in the mips target streamer.
>
>> or .globl
> EmitSymbolAttribute with MCSA_Global
>
>> from asm printer?
>> .type ?
> EmitSymbolAttribute with MCSA_ELF_Type*
>
>> .end ??
> emitDirectiveEnd on the mips target streamer
>
>> .section ???
> SwitchSection
>
>> I'm studying the classes now but it should be simple to do so if you know,
>> you can save me some time
>> because this is another maze of llvm data abstraction.
> The rule of the thumb is that each line in assembly is a method in the
> streamer or target streamer.
>
>> Tia.
>>
>> Reed
> Cheers,
> Rafael
More information about the llvm-dev
mailing list