search for: ldexp

Displaying 16 results from an estimated 16 matches for "ldexp".

2013 Jun 25
1
[LLVMdev] ldexp constant propagation
...ever the mathematical expression inside these copies fails to resolve to a fixed number and propagate. So for the first copy, with j=1, I get the following llvm code: LLVM code: ========= define void @ControlledRotationPiMinus_1(i32 %target, i32 %control, i32 %j) { entry.: %exp2. = call double @ldexp(double 1.000000e+00, i32 1) nounwind %mul. = fmul double %exp2., 2.000000e+00 %div. = fdiv double -3.141590e+00, %mul. call void @ControlledPhase(i32 %target, i32 %control, double %div.) ret void } I want to get a constant 3rd argument in the last call instruction (ControlledPhase), but it...
2004 Dec 13
0
1.0-test57 LDAP dovecot-auth SIGABRT
...in kill () from /lib/libc.so.5 (gdb) bt full #0 0x1826e1d7 in kill () from /lib/libc.so.5 No symbol table info available. #1 0x1826327e in raise () from /lib/libc.so.5 No symbol table info available. #2 0x182d5627 in abort () from /lib/libc.so.5 No symbol table info available. #3 0x18279389 in ldexp () from /lib/libc.so.5 No symbol table info available. #4 0x182793cd in ldexp () from /lib/libc.so.5 No symbol table info available. #5 0x1827a2c1 in ldexp () from /lib/libc.so.5 No symbol table info available. #6 0x1827a513 in ldexp () from /lib/libc.so.5 No symbol table info available. #7 0x1...
2007 Oct 22
2
problems building libvorbis-1.2.0 on Solaris 10 (sparc)
...math -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H -o .libs/decoder_example decoder_example.o ../lib/.libs/libvorbis.so -L/afs/cad/solaris/ogg-1.1.3/lib /afs/cad/solaris/ogg-1.1.3/lib/libogg.so -lm -Wl,--rpath -Wl,/afs/cad/solaris/ogg-1.1.3/lib ../lib/.libs/libvorbis.so: undefined reference to `ldexp@SYSVABI_1.3' ../lib/.libs/libvorbis.so: undefined reference to `frexp@SYSVABI_1.3' collect2: ld returned 1 exit status gmake[2]: *** [decoder_example] Error 1 gmake[2]: Leaving directory `/afs/cad.njit.edu/u/a/n/andym/ftp/freeware/multimedia/ogg/libvorbis-1.2.0/examples' gmake[1]: *** [...
2014 Oct 20
1
[PATCH] missing -lm in drivers/Makefile
Hi all, I couldn't cross-compile NUT for uClibc x86_64 with shared libm, but the problem may show up with any other target as well. ldexp() requires "-lm" and most toolchains are happy without it, but picky ones aren't. This is a trivial patch to keep all linkers happy. Regards, diff -Naubr nut-2.7.2.old/drivers/Makefile.am nut-2.7.2.new/drivers/Makefile.am --- nut-2.7.2.old/drivers/Makefile.am 2014-02-27 22:17:32.0000...
2018 Mar 06
0
how to simplify FP ops with an undef operand?
...or integers was specific problems with C bitfields: when initializing a mem2reg’d bitfield, you end up doing or’s into undef values, and those bits have to be defined. > > I’m not aware of a similar concept that makes sense for fp values. We could choose to do fine grain tracking (e.g. so ldexp and friends would work to set the exponent??) but I don’t see any practical reason for doing so. I agree. Tracking the signbit might be interesting sometimes, but it’s a second-order effect. – Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.l...
2018 Mar 06
2
how to simplify FP ops with an undef operand?
...concept for integers was specific problems with C bitfields: when initializing a mem2reg’d bitfield, you end up doing or’s into undef values, and those bits have to be defined. I’m not aware of a similar concept that makes sense for fp values. We could choose to do fine grain tracking (e.g. so ldexp and friends would work to set the exponent??) but I don’t see any practical reason for doing so. -Chris > > On Mon, Mar 5, 2018 at 2:02 PM, Nicolai Hähnle via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > On 05.03.2018 19:27, Sanjay Pate...
2002 Jun 24
1
Date: Tue, 25 Jun 2002 00:06:12 +0300
...error LNK2005: _memmove already defined in LIBCD.lib(memmove.obj) MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _realloc already defined in LIBCD.lib(dbgheap.obj) MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _calloc already defined in LIBCD.lib(dbgheap.obj) MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _ldexp already defined in LIBCD.lib(ldexp.obj) MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _fclose already defined in LIBCD.lib(fclose.obj) MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _fprintf already defined in LIBCD.lib(fprintf.obj) MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _sprintf already defined in...
2001 Jan 13
4
Oggenc bug & other
...r... 4. a small modification in sharedbook.c: float _float32_unpack(long val){ long exp =(val&0x7fe00000)>>VQ_FMAN; // this have to be long, not float (or not?) float mant=(float)(val&0x1fffff); if(val&0x80000000) // sign mant= -mant; return((float)ldexp(mant,exp-(VQ_FMAN-1)-VQ_FEXP_BIAS)); } that's all regards Attila Padar --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the wor...
2018 Feb 06
2
libc++ cross-compile linux-armv7 and math function problems
...rror: '::frexpl' has not been declared inline _LIBCPP_INLINE_VISIBILITY long double frexp(long double __lcpp_x, int* __lcpp_e) _NOEXCEPT {return ::frexpl(__lcpp_x, __lcpp_e);} ^~ ../projects/libcxx/include/math.h: In function 'long double ldexp(long double, int)': ../projects/libcxx/include/math.h:915:106: error: '::ldexpl' has not been declared inline _LIBCPP_INLINE_VISIBILITY long double ldexp(long double __lcpp_x, int __lcpp_e) _NOEXCEPT {return ::ldexpl(__lcpp_x, __lcpp_e);}...
2018 Feb 06
0
libc++ cross-compile linux-armv7 and math function problems
..._VISIBILITY long double frexp(long double __lcpp_x, int* __lcpp_e) _NOEXCEPT {return ::frexpl(__lcpp_x, __lcpp_e);} > ^~ > ../projects/libcxx/include/math.h: In function 'long double ldexp(long double, int)': > ../projects/libcxx/include/math.h:915:106: error: '::ldexpl' has not been declared > inline _LIBCPP_INLINE_VISIBILITY long double ldexp(long double __lcpp_x, int __lcpp_e) _NOEXCEPT {return ::ldexpl(__lcpp_x, __lcpp_e);} >...
2018 Feb 06
1
libc++ cross-compile linux-armv7 and math function problems
...t > been declared > > inline _LIBCPP_INLINE_VISIBILITY long double frexp(long double > __lcpp_x, int* __lcpp_e) _NOEXCEPT {return ::frexpl(__lcpp_x, __lcpp_e);} > > > ^~ > > ../projects/libcxx/include/math.h: In function 'long double ldexp(long > double, int)': > > ../projects/libcxx/include/math.h:915:106: error: '::ldexpl' has not > been declared > > inline _LIBCPP_INLINE_VISIBILITY long double ldexp(long double > __lcpp_x, int __lcpp_e) _NOEXCEPT {return ::ldexpl(__lcpp_x, __lcpp_e);} > > &g...
2018 Feb 05
0
Cross-compiling libc++ to linux-armv7hf gives undefined symbols in cmath / math.h
...;: ../projects/libcxx/include/math.h:903:107: error: '::frexpl' has not been declared inline _LIBCPP_INLINE_VISIBILITY long double frexp(long double __lcpp_x, int* __lcpp_e) _NOEXCEPT {return ::frexpl(__lcpp_x, __lcpp_e);} ^~ ../projects/libcxx/include/math.h: In function 'long double ldexp(long double, int)': ../projects/libcxx/include/math.h:915:106: error: '::ldexpl' has not been declared inline _LIBCPP_INLINE_VISIBILITY long double ldexp(long double __lcpp_x, int __lcpp_e) _NOEXCEPT {return ::ldexpl(__lcpp_x, __lcpp_e);} ^~ ../projects/libcxx/include/math.h: In funct...
2018 Mar 06
0
how to simplify FP ops with an undef operand?
I need to review the last thread about undef/poison (or someone who knows current status of that can reply), but this would seem to come down to whether undef applies to the entire value or the individual bits? Ie, in your example the sign bit will never be set unless all of the exponent bits are also set. Each bit individually is unknown, but taken together we know that some sequences are
2018 Mar 05
2
how to simplify FP ops with an undef operand?
On 05.03.2018 19:27, Sanjay Patel via llvm-dev wrote: > 3. fadd C, undef --> undef (where C is not NaN or Inf) > In the general constant case, the result could be anything as long as > constant operand C is not NaN or Inf. If C is the largest finite positive number, then (fadd C, X) cannot be a finite negative number. So doesn't folding (fadd C, undef) --> undef break the
2018 Sep 14
0
Wine release 3.16
...since 3.15: Alex Henrie (6): ws2_32/tests: Mark the IPX-not-supported error code test as todo. opengl/tests: Don't run Pbuffer tests if no Pbuffer can be created. shell32/tests: Mark a shell dispatch test as todo on x64 and ARM. msvcrt: Don't report an underflow for ldexp(0, x) or _scalb(0, x). wine.inf: Add TCP/IP DataBasePath value. ntdll/tests: Handle case where process doesn't have its own DEP policy. Alexandre Julliard (7): gdi32: Don't return screen resolution on printer devices. shell32: Assume that system directory always con...
2014 Oct 03
2
[LLVMdev] Weird problems with cos (was Re: [PATCH v3 2/3] R600: Add carry and borrow instructions. Use them to implement UADDO/USUBO)
...ions(-) > > diff --git a/lib/Target/R600/AMDGPUISelLowering.h b/lib/Target/R600/AMDGPUISelLowering.h > index 911576b..6eaf001 100644 > --- a/lib/Target/R600/AMDGPUISelLowering.h > +++ b/lib/Target/R600/AMDGPUISelLowering.h > @@ -205,6 +205,8 @@ enum { > RSQ_CLAMPED, > LDEXP, > DOT4, > + CARRY, > + BORROW, > BFE_U32, // Extract range of bits with zero extension to 32-bits. > BFE_I32, // Extract range of bits with sign extension to 32-bits. > BFI, // (src0 & src1) | (~src0 & src2) > diff --git a/lib/Target/R600/AMDGPUInstrInfo....