search for: biqu

Displaying 20 results from an estimated 29 matches for "biqu".

Did you mean: bique
2020 Sep 01
3
Vectorization of math function failed?
Hi, > On Sep 1, 2020, at 10:26, Venkataramanan Kumar via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi Alexandre, > > On Tue, 1 Sep, 2020, 2:21 pm Alexandre Bique, <bique.alexandre at gmail.com <mailto:bique.alexandre at gmail.com>> wrote: > On Tue, Sep 1, 2020 at 9:07 AM Venkataramanan Kumar > <venkataramanan.kumar.llvm at gmail.com <mailto:venkataramanan.kumar.llvm at gmail.com>> wrote: > > Hi Alexandre, > > Hi...
2020 Nov 11
2
Targeting old glibc
..._2.14 0x06969197 0x00 10 GLIBC_2.17 required from ld-linux-x86-64.so.2: 0x0d696913 0x00 20 GLIBC_2.3 So there are still some references to GLIBC_2.29 from libm. It is in the VERSION_NEED or something similar I think. Could llvm-strip figure that it can get rid of it? Regards, Alexandre Bique On Wed, Nov 11, 2020 at 2:25 PM Alexandre Bique <bique.alexandre at gmail.com> wrote: > > This did the job: > > patchelf --clear-symbol-version log Podolski.64.so > > Alexandre Bique > > On Wed, Nov 11, 2020 at 2:19 PM Alexandre Bique > <bique.alexandre at gmai...
2020 Sep 01
2
Vectorization of math function failed?
...t sure if we can generate vector calls to GlibC libmvec. Is the support for libmvec on the roadmap? If not how to add it? > ./clang --autocomplete=-fveclib= This is amazing, thank you! I think it should be documented in clang auto vectorization documentation. Thank you very much, -- Alexandre BIQUE
2020 Sep 15
2
Vectorization of math function failed?
Hi Venkat., Did you make progress with libmvec? Is there a chance that it lands into clang 11? Regards, Alexandre Bique On Tue, Sep 1, 2020 at 11:50 AM Venkataramanan Kumar <venkataramanan.kumar.llvm at gmail.com> wrote: > > Hi Florian, > > On Tue, 1 Sep, 2020, 3:11 pm Florian Hahn, <florian_hahn at apple.com> wrote: >> >> Hi, >> >> On Sep 1, 2020, at 10:26, Venkatar...
2020 Oct 28
2
Targeting old glibc
On Wed, Oct 28, 2020 at 6:07 PM Fangrui Song <maskray at google.com> wrote: > > On 2020-10-28, Alexandre Bique via llvm-dev wrote: > >Hi, > > > >I wonder what is the right way to target an old glibc? > > > >I have a machine which is up to date (glibc 2.32 and clang+lld 10.0.1). > > > >So far I've been able to target older glibc by having a C file containing: &g...
2020 Sep 01
2
Should llvm optimize 1.0 / x ?
...%xmm1,%xmm1,%xmm0 157: c3 retq 158: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 15f: 00 0000000000000160 <_Z4fct5Dv4_f>: 160: c5 f8 53 c0 vrcpps %xmm0,%xmm0 164: c3 retq As you can see, fct4 is not equivalent to fct5. Regards, Alexandre Bique On Tue, Sep 1, 2020 at 12:59 AM Quentin Colombet <qcolombet at apple.com> wrote: > > Hi Alexandre, > > Have you tried to compile this with fast-math enabled (`-ffast-math` https://clang.llvm.org/docs/UsersManual.html#controlling-floating-point-behavior)? > > I would expect...
2020 Nov 09
2
Targeting old glibc
On Mon, Nov 9, 2020 at 9:39 AM Alexandre Bique <bique.alexandre at gmail.com> wrote: > > Hi, > > So I managed to install llvm 11 on the server and got more information > thank to your help: > > Projects/Podolski/CMakeFiles/Podolski.dir/__/__/AudioModulesFrame/AM_WavLoader.cpp.o: > reference to exp > Projects/Po...
2020 Nov 11
0
Targeting old glibc
On 2020-11-11, Alexandre Bique wrote: >It did partially fix the issue but there is still one problem: > >llvm-objdump -sx gives: > >Version References: > required from libpthread.so.0: > 0x09691a75 0x00 05 GLIBC_2.2.5 > 0x09691972 0x00 09 GLIBC_2.3.2 > 0x09691973 0x00 07 GLIBC_2.3.3 >...
2020 Nov 09
2
Targeting old glibc
No. A shared object is needed if it is linked in (1)--no-as-needed mode or (2) after --gc-sections, a symbol referenced by a live input section is defined by the shared object. You'll need to check whether a symbol is defined by libmvec.so.1 On Mon, Nov 9, 2020 at 9:57 AM Alexandre Bique <bique.alexandre at gmail.com> wrote: > > On Mon, Nov 9, 2020 at 6:52 PM Fāng-ruì Sòng <maskray at google.com> wrote: > > Recent libm.a and libm.so are actually linker scripts > > > > % cat /usr/lib/x86_64-linux-gnu/libm.a > > /* GNU ld script > > */...
2020 Aug 31
2
Should llvm optimize 1.0 / x ?
...retq e: 66 90 xchg %ax,%ax 0000000000000010 <_Z4fct2Dv4_f>: 10: c5 f8 53 c0 vrcpps %xmm0,%xmm0 14: c3 retq As you can see, 1.0 / x is not turned into vrcpps. Is it because of precision or a missing optimization? Regards, -- Alexandre Bique
2020 Nov 11
2
Targeting old glibc
On Tue, Nov 10, 2020 at 7:01 PM Fāng-ruì Sòng <maskray at google.com> wrote: > > How to find what is pulling libmvec? > > If you build a -DCMAKE_BUILD_TYPE=Debug lld, you can set a breakpoint > on lld/ELF/MarkLive.cpp:114 (ss->getFile().isNeeded) and check which > symbol makes > libmvec.so needed. I'm afraid this is going to far for me :) > > On the other
2020 Nov 12
1
Targeting old glibc
...e dlopen() but when used something goes wrong and the plugin aborts. I'm not certain about continuing in this direction because it is getting very involved and if anything goes wrong difficult to support. Thank you so much Fāng-ruì Sòng for all your help and patience. Best regards, Alexandre BIQUE
2020 Nov 10
2
Targeting old glibc
...r hand, I don't understand why I have to specify that I want exp from glibc 2.2 or 2.29, I just want the exp symbol, and if possible the latest version available on the system. Because I don't have a high precision requirement so they would all be fine. Is that possible? Regards, Alexandre Bique On Mon, Nov 9, 2020 at 7:06 PM Fāng-ruì Sòng <maskray at google.com> wrote: > > On Mon, Nov 9, 2020 at 10:04 AM Fāng-ruì Sòng <maskray at google.com> wrote: > > > > No. A shared object is needed if it is linked in (1)--no-as-needed > > mode or (2) after --gc-se...
2020 Nov 10
0
Targeting old glibc
On Tue, Nov 10, 2020 at 12:27 AM Alexandre Bique <bique.alexandre at gmail.com> wrote: > > Thank you very much for your help Fāng-ruì Sòng. > > I've tried various things like linking directly to libm-2.32 but it > didn't work, it seems that libm-2.32 still pulls libmvec. > > I have the following linker flags: &...
2020 Aug 20
2
Question about llvm vectors
...t or it depends on the CPU? I believe that those questions are best answered by the compiler. Then some side-notes regarding clang documentation __builtin_shufflevector is not referenced there https://clang.llvm.org/docs/LanguageExtensions.html#vectors-and-extended-vectors Best regards, Alexandre Bique On Wed, Aug 19, 2020 at 8:34 PM Craig Topper <craig.topper at gmail.com> wrote: > I'm not sure everyone would agree that the behavior of a > __builtin_vector_hadd should do what the X86 instruction does. It takes two > vectors and produces a result with elements from both vec...
2020 Sep 01
2
Vector evolution?
...d correct version of it, why not? > (Those kinds of issues are better to discuss on https://bugs.llvm.org/ IMO, because it is easier to keep track of the progress on the issue). That is noted, but I can't think of it as a bug unless I understand the issue. Thank you Florian, -- Alexandre BIQUE
2020 Sep 01
2
Vectorization of math function failed?
...march=native -mtune=native \ -Rpass=loop-vectorize,slp-vectorize -Rpass-missed=loop-vectorize,slp-vectorize -Rpass-analysis=loop-vectorize,slp-vectorize \ -ffast-math -ffp-model=fast -ffp-exception-behavior=ignore -ffp-contract=fast \ -c -o vec.o vec.cc But I've got no feedback. -- Alexandre Bique
2020 Nov 09
0
Targeting old glibc
...07f2760d22000) /usr/lib64/ld-linux-x86-64.so.2 (0x00007f2761e3e000) [jenkins at archear build-clang.64]$ I even recompiled with -fveclib=none but it did not change anything. And I believe that -fveclib=mvec will start working with LLVM-12. I have no idea what pulls libmvec in. Regards, Alexandre Bique On Wed, Oct 28, 2020 at 6:23 PM Alexandre Bique <bique.alexandre at gmail.com> wrote: > > On Wed, Oct 28, 2020 at 6:07 PM Fangrui Song <maskray at google.com> wrote: > > > > On 2020-10-28, Alexandre Bique via llvm-dev wrote: > > >Hi, > > > > >...
2020 Oct 28
4
Targeting old glibc
...ot;.symver exp,exp at GLIBC_2.2.5"); __asm__(".symver exp2,exp2 at GLIBC_2.2.5"); __asm__(".symver pow,pow at GLIBC_2.2.5"); But after updating clang and re-creating the cmake build directory it does not work anymore and I have dependencies toward glibc 2.29: nm -D /home/abique/.u-he/Zebra2/Zebra2.64.so | grep GLIBC.*29 U exp@@GLIBC_2.29 U exp2@@GLIBC_2.29 U log@@GLIBC_2.29 U pow@@GLIBC_2.29 At first I thought that it was due to LTO, but even after disabling LTO the problem still occurs. How to solve...
2020 Nov 11
0
Targeting old glibc
This did the job: patchelf --clear-symbol-version log Podolski.64.so Alexandre Bique On Wed, Nov 11, 2020 at 2:19 PM Alexandre Bique <bique.alexandre at gmail.com> wrote: > > On Tue, Nov 10, 2020 at 7:01 PM Fāng-ruì Sòng <maskray at google.com> wrote: > > > How to find what is pulling libmvec? > > > > If you build a -DCMAKE_BUILD_TYPE=Debug...