Displaying 9 results from an estimated 9 matches for "__exp_finite".
2018 Mar 23
2
LLVM gold plugin do not add llvm instrinsics symbols to the linker symbol table
Hello Teresa,
> Without -flto, a.o ends up with a reference to __exp_finite,
That’s correct.
> which also would not be satifisfied out of libexp.a.
That’s not correct. Even if libexp.a would have __exp_finite, it wouldn’t be resolved from libexp.a, because of the behavior described in my first message.
> Do you also have an implementation of __exp_finite in your li...
2018 Mar 23
0
LLVM gold plugin do not add llvm instrinsics symbols to the linker symbol table
+pcc for thoughts
On Fri, Mar 23, 2018 at 9:37 AM, Bakhvalov, Denis <denis.bakhvalov at intel.com
> wrote:
> Hello Teresa,
>
>
>
> > Without -flto, a.o ends up with a reference to __exp_finite,
>
> That’s correct.
>
>
>
> > which also would not be satifisfied out of libexp.a.
>
> That’s not correct. Even if libexp.a would have __exp_finite, it wouldn’t
> be resolved from libexp.a, because of the behavior described in my first
> message.
>
I'm aski...
2018 Mar 23
0
LLVM gold plugin do not add llvm instrinsics symbols to the linker symbol table
A couple questions/notes so I can understand better:
Without -flto, a.o ends up with a reference to __exp_finite, which also
would not be satifisfied out of libexp.a. Do you also have an
implementation of __exp_finite in your libexp.a?
Can you build with -fno-builtin, or -fno-builtin-exp etc? That results in a
reference to __exp_finite in the .o bitcode (which of course has the same
issue I mentioned above,...
2018 Mar 23
2
LLVM gold plugin do not add llvm instrinsics symbols to the linker symbol table
...libm dynamically (as a fallback option):
$ clang -O0 -ffast-math -flto a.o -L. -Wl,-Bstatic -lexp -Wl,-Bdynamic -lm
$ nm -S a.out | grep exp
U exp@@GLIBC_2.2.5
So, exp symbol was taken from libm, not from my static library. Notice, that 'llvm.exp.f64' should be lowered into __exp_finite (see https://bugs.llvm.org/show_bug.cgi?id=35672#c9 ).
To understand why this happened I traced 'exp' symbol:
$ clang -O0 -ffast-math -flto a.o -L. -Wl,-Bstatic -lexp -Wl,-Bdynamic -lm -Wl,--trace-symbol=exp
/usr/lib64/libm.so: definition of exp
/tmp/lto-llvm-8f9b9a.o: reference to exp...
2017 Mar 20
2
-ffast-math optimizations impacted by symbol renaming in header files
...ath.h header file with the __FINITE_MATH_ONLY__ macro set to 1. In this case, the Linux header files are redirecting several math functions using the __asm__ extension to rename the symbol. An example of what the header files contains is:
extern double exp (double) __asm__ ("" "__exp_finite") __attribute__ ((__nothrow__ ));
In effect, ‘exp’ gets converted to be ‘__exp_finite’ in the IR. Because some of the optimizations like constant folding or vectorization are looking for the original function name, those optimizations do not get triggered under –ffast-math due to these altern...
2018 Mar 26
1
LLVM gold plugin do not add llvm instrinsics symbols to the linker symbol table
...> Right, which is why I am suggesting that it might be appropriate to build with -fno-builtin (or -fno-builtin-exp) here –
> this solves the LTO issue as there will no longer be an llvm intrinsic in the bitcode
Yes, I just tested it and -fno-builtin helps in this case. I added definition of __exp_finite to libexp.a and now it was resolved from libexp.a (because no llvm intrinsics).
Best regards,
Denis Bakhvalov.
--------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gos...
2014 Nov 25
1
[Profiling][FFT][AArch64] FFT Profiling data on AArch64
Hi everyone,
I have profiled Opus on AArch64. I just run opus_demo with some pcm files.
Following is time proportion of FFT with different bitrate.
Bitrate | Time cost by FFT/iFFT
24kb/s | 15%
48kb/s | 15%
96kb/s | 13%
Any comment? I want some data close to real application, any suggestion?
Thanks,
Phil Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2017 Aug 01
2
[RFC] Profile guided section layout
...3lld3elf19createCommonSectionIN4llvm6object7ELFTypeILNS2_7support10endiannessE1ELb1EEEEEPNS0_12InputSectionEv _ZdlPvRKSt9nothrow_t
1 _ZN3lld3elf22SymbolTableBaseSection17postThunkContentsEv _ZdlPvRKSt9nothrow_t
1 generic_start_main __pow_finite
1 generic_start_main __log_finite
1 generic_start_main __exp_finite
1 generic_start_main __atan2_finite
1 generic_start_main __asin_finite
1 generic_start_main __acos_finite
1 generic_start_main tan
1 generic_start_main __sin
1 generic_start_main __cos
1 generic_start_main __floor
1 generic_start_main __ceil
1 generic_start_main atan
1 __libc_csu_init _GLOBAL__sub_...
2017 Jul 31
2
[RFC] Profile guided section layout
A rebased version of the lld patch is attached.
Cheers,
Rafael
On 31 July 2017 at 15:11, Rafael Avila de Espindola
<rafael.espindola at gmail.com> wrote:
> Tobias Edler von Koch <tobias at codeaurora.org> writes:
>
>> Hi Rafael,
>>
>> On 07/31/2017 04:20 PM, Rafael Avila de Espindola via llvm-dev wrote:
>>> However, do we need to start with