[LLVMdev] emitting function stub for mips16 floating point patch
reed kotler
rkotler at mips.com
Tue Feb 4 14:25:51 PST 2014
On 02/04/2014 01:47 PM, Rafael EspĂndola wrote:
> On 4 February 2014 16:05, Reed Kotler <rkotler at mips.com> wrote:
>> 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, .-__call_stub_fp___floatdidf
> EmitELFSize takes a MCExpr, so yes.
>
> Cheers,
> Rafael
I'm able get this almost.
.size __call_stub_fp___floatdidf, ($tmp6)+(-__call_stub_fp___floatdidf)
is there a way to get a binary minus?
More information about the llvm-dev
mailing list