Displaying 20 results from an estimated 1315 matches for "libms".
Did you mean:
libm
2013 Nov 10
2
[LLVMdev] [RFC] How to fix sqrt vs llvm.sqrt optimization asymmetry
Hello everyone,
The particular motivation for this e-mail is my desire for feedback on how to fix PR17758; but there is a core design issue here, so I'd like a wide audience.
The underlying issue is that, because the semantics of llvm.sqrt are purposefully defined to be different from libm sqrt (unlike all of the other llvm.<libm function> intrinsics) (*), and because autovectorization
2013 Nov 11
0
[LLVMdev] [RFC] How to fix sqrt vs llvm.sqrt optimization asymmetry
Hi Hal, all.
I'm not sure why llvm.sqrt is 'special'. Maybe because there is a SSE
packed sqrt instruction (SQRTPS) but not e.g. a packed sin instruction
AFAIK.
As mentioned in a recent mail to this list, I would like llvm.sqrt to be
defined as NaN for argument x < 0. I believe this would bring it more
into line with the other intrinsics, and with the libm result, which is
2017 Oct 03
2
Trouble when suppressing a portion of fast-math-transformations
>>> I'd like to emphasise in the latter one: "This option also relaxes the precision of
>>> commonly used math functions."
>>
>> Isn't this the "libm" flag that is proposed in this thread?
>
> I don't know. I didn't see any definition of it.
>
> In my case I'm talking about allowing the use of lower precision but
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
>
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
2017 Oct 04
2
Trouble when suppressing a portion of fast-math-transformations
> It might be clearer, instead of using 'libm', to use something like 'trans' (for transcendental functions).
That does seem clearer. ‘trans’ is definitely good with me.
-Warren
From: Hal Finkel [mailto:hfinkel at anl.gov]
Sent: Tuesday, October 3, 2017 5:13 PM
To: Ristow, Warren; Bruce Hoult
Cc: llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] Trouble when suppressing a
2013 Nov 23
2
[LLVMdev] [RFC] Identifying access to errno
Hello,
On some systems (Linux/glibc, for example), some libm math functions (like cos(double)) might set errno. It is important that we model this, in general, to prevent miscompilation (we would not, for example, want to reorder a call to cos in between a call to open and a call to perror). However, almost no code in the wild checks errno after calls to libm math functions, and this
2013 Nov 12
3
[LLVMdev] [RFC] How to fix sqrt vs llvm.sqrt optimization asymmetry
----- Original Message -----
> Hi Hal, all.
>
> I'm not sure why llvm.sqrt is 'special'. Maybe because there is a
> SSE
> packed sqrt instruction (SQRTPS) but not e.g. a packed sin
> instruction
> AFAIK.
This seems relevant: http://lists.cs.uiuc.edu/pipermail/llvmdev/2007-August/010248.html
Chris, et al., does the decision on how to treat sqrt predate our
2013 Nov 23
2
[LLVMdev] [RFC] Identifying access to errno
----- Original Message -----
> From: "Renato Golin" <renato.golin at linaro.org>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: "LLVM" <llvmdev at cs.uiuc.edu>
> Sent: Saturday, November 23, 2013 10:53:09 AM
> Subject: Re: [LLVMdev] [RFC] Identifying access to errno
>
>
>
>
> On 23 November 2013 14:14, Hal Finkel <
2013 Nov 23
0
[LLVMdev] [RFC] Identifying access to errno
On 23 November 2013 14:14, Hal Finkel <hfinkel at anl.gov> wrote:
> On some systems (Linux/glibc, for example), some libm math functions (like
> cos(double)) might set errno. It is important that we model this, in
> general, to prevent miscompilation (we would not, for example, want to
> reorder a call to cos in between a call to open and a call to perror).
> However, almost
2013 Nov 12
3
[LLVMdev] [RFC] How to fix sqrt vs llvm.sqrt optimization asymmetry
----- Original Message -----
>
> On Nov 11, 2013, at 9:30 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>
> > ----- Original Message -----
> >> Hi Hal, all.
> >>
> >> I'm not sure why llvm.sqrt is 'special'. Maybe because there is a
> >> SSE
> >> packed sqrt instruction (SQRTPS) but not e.g. a packed sin
> >>
2016 Jun 07
3
llvm intrinsics/libc/libm question
I'm trying to figure out exactly how the intrinsics/libc/libm work in llvm.
For example, this code return user defined function:
float acos(float x, float y)
{
return x+y;
}
float a;
void foo(float b, float c)
{
a = acos(b, c);
}
But this code returns llvm.intrinsic:
float acos(float, float);
float a;
void foo(float b, float c)
{
a = acos(b, c);
}
float acos(float x, float y)
{
2013 Nov 23
3
[LLVMdev] [RFC] Identifying access to errno
Oh, and I forgot a third "_doserrno" for which no amount of documentation
lends itself to a consistent description of its behavior.
On Sat, Nov 23, 2013 at 12:28 PM, David Majnemer
<david.majnemer at gmail.com>wrote:
> On Sat, Nov 23, 2013 at 9:59 AM, Hal Finkel <hfinkel at anl.gov> wrote:
>
>> ----- Original Message -----
>> > From: "Renato
2001 Oct 17
3
libraries Problem
Hi all
l'm new linux and wine user and wanted to use wine several times but
everytime l've had some problems.This time l wanted to install wine from rpm
but some libraries is needed by wine
l think that l have them but wine isn't working well
my system is
RedHat 7.1 on an i686 kernel 2-4-2.2
wine need tose l have them those path
library folder
ld-linux.so.2
2013 Nov 23
0
[LLVMdev] [RFC] Identifying access to errno
On Sat, Nov 23, 2013 at 9:59 AM, Hal Finkel <hfinkel at anl.gov> wrote:
> ----- Original Message -----
> > From: "Renato Golin" <renato.golin at linaro.org>
> > To: "Hal Finkel" <hfinkel at anl.gov>
> > Cc: "LLVM" <llvmdev at cs.uiuc.edu>
> > Sent: Saturday, November 23, 2013 10:53:09 AM
> > Subject: Re:
2002 Jul 17
1
R/C interface
Hi,
I am trying to use the R/C interface on a Unix system that unfortunately does
not have the gnu C compiler and am having trouble accessing the math functions
from math.h.
To compile a C program with math functions on this system, the following
command is used (and the order is important: the /usr/lib/libm.a statement must
come at the end of the command):
"cc program.c
2018 Mar 23
2
LLVM gold plugin do not add llvm instrinsics symbols to the linker symbol table
Dear community,
Recently I discovered that llvm gold linker plugin (LLVMgold.so) doesn't add llvm instrinsics symbols to the linker symbol table. I do not claim that something is necessary wrong, just want to share my observations with the community.
Brief summary
If I create a static library with a custom version of 'exp()' math function and link it as follows:
$
2020 Nov 10
2
Targeting old glibc
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:
CLANG_LDFLAGS="-fuse-ld=lld -static-libstdc++ -static-libgcc
-fvisibility=hidden -fdata-sections -ffunction-sections"
CLANG_LDFLAGS="$CLANG_LDFLAGS
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
2013 Nov 24
0
[LLVMdev] [RFC] Identifying access to errno
----- Original Message -----
> From: "David Majnemer" <david.majnemer at gmail.com>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: "Renato Golin" <renato.golin at linaro.org>, "LLVM" <llvmdev at cs.uiuc.edu>
> Sent: Saturday, November 23, 2013 2:37:52 PM
> Subject: Re: [LLVMdev] [RFC] Identifying access to errno
>