Displaying 6 results from an estimated 6 matches for "__aeabi_d2f".
Did you mean:
__aeabi_d2iz
2013 Nov 15
3
[LLVMdev] Android JIT patch
...ich is quite ugly.
>>
>> What do you think of this?
>>
>> #define EXPOSE_STATIC_FUNCTION (fn) if (Name == #fn) return
>> (uint64_t)&fn;
>>
>> And then inside getSymbolAddress:
>>
>> #if ... conditions ...
>> EXPOSE_STATIC_FUNCTION(__aeabi_d2f);
>> EXPOSE_STATIC_FUNCTION(__aeabi_d2iz);
>> EXPOSE_STATIC_FUNCTION(__aeabi_d2lz);
>> etc.
>> #endif
>>
>> -Andy
>>
>> -----Original Message-----
>> From: James Lyon [mailto:jameslyon0 at gmail.com]
>> Sent: Thursday, November...
2013 Nov 14
2
[LLVMdev] Android JIT patch
...;) return (uint64_t)&foo;' pattern, which is quite ugly.
>
> What do you think of this?
>
> #define EXPOSE_STATIC_FUNCTION (fn) if (Name == #fn) return (uint64_t)&fn;
>
> And then inside getSymbolAddress:
>
> #if ... conditions ...
> EXPOSE_STATIC_FUNCTION(__aeabi_d2f);
> EXPOSE_STATIC_FUNCTION(__aeabi_d2iz);
> EXPOSE_STATIC_FUNCTION(__aeabi_d2lz);
> etc.
> #endif
>
> -Andy
>
> -----Original Message-----
> From: James Lyon [mailto:jameslyon0 at gmail.com]
> Sent: Thursday, November 14, 2013 1:25 PM
> To: Kaylor, Andrew;...
2013 Nov 14
0
[LLVMdev] Android JIT patch
...rapped the 'if (Name == "foo") return (uint64_t)&foo;' pattern, which is quite ugly.
What do you think of this?
#define EXPOSE_STATIC_FUNCTION (fn) if (Name == #fn) return (uint64_t)&fn;
And then inside getSymbolAddress:
#if ... conditions ...
EXPOSE_STATIC_FUNCTION(__aeabi_d2f);
EXPOSE_STATIC_FUNCTION(__aeabi_d2iz);
EXPOSE_STATIC_FUNCTION(__aeabi_d2lz);
etc.
#endif
-Andy
-----Original Message-----
From: James Lyon [mailto:jameslyon0 at gmail.com]
Sent: Thursday, November 14, 2013 1:25 PM
To: Kaylor, Andrew; LLVM Dev
Subject: Re: [LLVMdev] Android JIT patch
Well...
2013 Nov 14
0
[LLVMdev] Android JIT patch
...urn (uint64_t)&foo;' pattern, which is quite ugly.
>
> What do you think of this?
>
> #define EXPOSE_STATIC_FUNCTION (fn) if (Name == #fn) return
> (uint64_t)&fn;
>
> And then inside getSymbolAddress:
>
> #if ... conditions ...
> EXPOSE_STATIC_FUNCTION(__aeabi_d2f);
> EXPOSE_STATIC_FUNCTION(__aeabi_d2iz);
> EXPOSE_STATIC_FUNCTION(__aeabi_d2lz);
> etc.
> #endif
>
> -Andy
>
> -----Original Message-----
> From: James Lyon [mailto:jameslyon0 at gmail.com]
> Sent: Thursday, November 14, 2013 1:25 PM
> To: Kaylor, Andrew;...
2013 Nov 15
0
[LLVMdev] Android JIT patch
...ch is quite ugly.
>>
>> What do you think of this?
>>
>> #define EXPOSE_STATIC_FUNCTION (fn) if (Name == #fn) return
>> (uint64_t)&fn;
>>
>> And then inside getSymbolAddress:
>>
>> #if ... conditions ...
>> EXPOSE_STATIC_FUNCTION(__aeabi_d2f);
>> EXPOSE_STATIC_FUNCTION(__aeabi_d2iz);
>> EXPOSE_STATIC_FUNCTION(__aeabi_d2lz);
>> etc.
>> #endif
>>
>> -Andy
>>
>> -----Original Message-----
>> From: James Lyon [mailto:jameslyon0 at gmail.com]
>> Sent: Thursday, November...
2013 Nov 14
3
[LLVMdev] Android JIT patch
Well, is the attached version better? I've extended the
RTDyldMemoryManager hooks instead to pick up the ARM math functions
statically, and left JITMemoryManager alone except for changing the
conditional so that it will build with non-glibc libraries.
I've also split the original patch up into two parts, to separate the
math function fixes from setLastModificationAndAccessTime. The