search for: __ashldi3

Displaying 20 results from an estimated 37 matches for "__ashldi3".

2008 Oct 31
3
[LLVMdev] Default implementations for __ashldi3, __ashrdi3, __divdi3, __udivdi3, etc?
Are there existing "generic" implementations for these functions under the same license as LLVM? By generic I mean C or IR that doesn't use any particular HW intrinsics. I read up on divides in Knuth's Seminumerical book, but decided to use base-2 long division on the first go-around for simplicity. I know it's not very efficient and I'm looking for shortcuts to
2008 Oct 31
0
[LLVMdev] Default implementations for __ashldi3, __ashrdi3, __divdi3, __udivdi3, etc?
On Oct 31, 2008, at 10:13 AM, Daniel M Gessel wrote: > Are there existing "generic" implementations for these functions under > the same license as LLVM? By generic I mean C or IR that doesn't use > any particular HW intrinsics. Hi Daniel, We're working on a complete ground-up implementation of the API vended by libgcc, including these routines, under the LLVM
2009 Jun 04
1
[LLVMdev] endian issue of llvm-gcc and llvm backend
...is the fragment of this function: little endian: ============================================= ...... target datalayout = "e-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64" target triple = "nds32le-linux" define i64 @__ashldi3(i64 %u, i32 %b) nounwind readnone { entry: %0 = icmp eq i32 %b, 0 ; <i1> [#uses=1] br i1 %0, label %bb5, label %bb1 bb1: ; preds = %entry %1 = trunc i64 %u to i32 ; <i32> [#uses=3] %2 = sub i32 32, %b ; <...
2009 Jun 05
0
[LLVMdev] endian issue of llvm-gcc and llvm backend
...; little endian: > ============================================= > ...... > target datalayout = > "e-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64" > target triple = "nds32le-linux" > > define i64 @__ashldi3(i64 %u, i32 %b) nounwind readnone { > entry: > %0 = icmp eq i32 %b, 0 ; <i1> [#uses=1] > br i1 %0, label %bb5, label %bb1 > > bb1: ; preds = %entry > %1 = trunc i64 %u to i32 ; <i32> [#uses=3] > %2 = sub...
2006 Jun 26
0
[klibc 24/43] i386 support for klibc
...| 127 ++++++++++++++++++++++++++++++ usr/include/arch/i386/sys/vm86.h | 40 +++++++++ usr/klibc/arch/i386/MCONFIG | 33 ++++++++ usr/klibc/arch/i386/Makefile.inc | 30 +++++++ usr/klibc/arch/i386/crt0.S | 31 +++++++ usr/klibc/arch/i386/libgcc/__ashldi3.S | 29 +++++++ usr/klibc/arch/i386/libgcc/__ashrdi3.S | 29 +++++++ usr/klibc/arch/i386/libgcc/__lshrdi3.S | 29 +++++++ usr/klibc/arch/i386/libgcc/__muldi3.S | 34 ++++++++ usr/klibc/arch/i386/libgcc/__negdi2.S | 21 +++++ usr/klibc/arch/i386/open.S | 29 ++++...
2014 Jun 09
3
How to use --once? Does it work?
> On 06/08/2014 02:58 PM, Ady wrote: > >> > >> To be clear, I am not saying there is no bug - there might be. > >> > > > > I performed the following test with several versions of Syslinux: > > > > 1_ Execute: > > 'extlinux --once=non_default_label --install /mnt/sda1' ; > > 2_ In first reboot, the
2019 Aug 15
2
Slow XCHG in arch/i386/libgcc/__ashrdi3.S and arch/i386/libgcc/__lshrdi3.S
Hi, both https://git.kernel.org/pub/scm/libs/klibc/klibc.git/plain/usr/klibc/arch/i386/libgcc/__ashldi3.S and https://git.kernel.org/pub/scm/libs/klibc/klibc.git/plain/usr/klibc/arch/i386/libgcc/__lshrdi3.S use the following code sequences for shift counts greater 31: 1: 1: xorl %edx,%edx shrl %cl,%edx shl %cl,%eax xorl %eax,%eax...
2014 Jun 09
4
How to use --once? Does it work?
...once > Info: Symbol __umoddi3 is defined more than once > Info: Symbol __lshrdi3 is defined more than once > Info: Symbol __dtors_end is defined more than once > Info: Symbol __dtors_start is defined more than once > Info: Symbol dev_null_r is defined more than once > Info: Symbol __ashldi3 is defined more than once > Info: Symbol __udivdi3 is defined more than once > Info: Symbol __syslinux_adv_size is defined more than once > Info: Symbol __ctors_end is defined more than once > Info: Symbol __ctors_start is defined more than once > And, indeed, so it was. Someone w...
2008 Jun 05
1
[LLVMdev] lli/JIT missing libgcc symbols on Mingw32/x86
...============================================ --- lib/System/Win32/DynamicLibrary.inc (revision 51993) +++ lib/System/Win32/DynamicLibrary.inc (working copy) @@ -134,6 +134,21 @@ #if defined(__MINGW32__) EXPLICIT_SYMBOL_DEF(_alloca); EXPLICIT_SYMBOL_DEF(__main); + EXPLICIT_SYMBOL_DEF(__ashldi3); + EXPLICIT_SYMBOL_DEF(__ashrdi3); + EXPLICIT_SYMBOL_DEF(__cmpdi2); + EXPLICIT_SYMBOL_DEF(__divdi3); + EXPLICIT_SYMBOL_DEF(__eprintf); + EXPLICIT_SYMBOL_DEF(__fixdfdi); + EXPLICIT_SYMBOL_DEF(__fixsfdi); + EXPLICIT_SYMBOL_DEF(__fixunsdfdi); + EXPLICIT_SYMBOL_DEF(__fixunssfdi...
2019 Aug 20
1
Slow XCHG in arch/i386/libgcc/__ashrdi3.S and arch/i386/libgcc/__lshrdi3.S
"H. Peter Anvin" <hpa at zytor.com> wrote August 20, 2019 12:51 AM: > On 8/14/19 9:42 PM, Stefan Kanthak wrote: >> Hi, >> >> both >> https://git.kernel.org/pub/scm/libs/klibc/klibc.git/plain/usr/klibc/arch/i386/libgcc/__ashldi3.S >> and >> https://git.kernel.org/pub/scm/libs/klibc/klibc.git/plain/usr/klibc/arch/i386/libgcc/__lshrdi3.S >> use the following code sequences for shift counts greater 31: >> >> 1: 1: >> xorl %edx,%edx shrl %cl,%edx &g...
2010 Feb 02
2
[LLVMdev] __fixunsdfdi and etc with Visual Studio JIT?
Hello > The bitcode was generated by llvm-gcc v2.6 for Mingw32/x86, which is > available for download at the llvm site. > Please let me know, if i should tell more. Well, the answer is pretty obvious then. These calls are not generated by JIT. They are already in your bitcode - they are generated by llvm-gcc. The purpose of these calls were alreade explained by Eli. You should either
2019 Aug 19
0
Slow XCHG in arch/i386/libgcc/__ashrdi3.S and arch/i386/libgcc/__lshrdi3.S
On 8/14/19 9:42 PM, Stefan Kanthak wrote: > Hi, > > both > https://git.kernel.org/pub/scm/libs/klibc/klibc.git/plain/usr/klibc/arch/i386/libgcc/__ashldi3.S > and > https://git.kernel.org/pub/scm/libs/klibc/klibc.git/plain/usr/klibc/arch/i386/libgcc/__lshrdi3.S > use the following code sequences for shift counts greater 31: > > 1: 1: > xorl %edx,%edx shrl %cl,%edx > shl %cl,%eax...
2015 Mar 06
0
[klibc:master] add-mips64-support-arch-mips32
.../klibc/arch/mips64/Kbuild index 970c0f8..6fe3b53 100644 --- a/usr/klibc/arch/mips64/Kbuild +++ b/usr/klibc/arch/mips64/Kbuild @@ -1,3 +1,14 @@ # # klibc files for mips64 # + +klib-y := ../mips/pipe.o ../mips/vfork.o setjmp.o ../mips/syscall.o + +klib-y += ../../libgcc/__clzsi2.o ../../libgcc/__ashldi3.o +klib-y += ../../libgcc/__ashrdi3.o ../../libgcc/__lshrdi3.o +klib-y += ../../libgcc/__divdi3.o ../../libgcc/__moddi3.o +klib-y += ../../libgcc/__udivdi3.o ../../libgcc/__umoddi3.o +klib-y += ../../libgcc/__udivmoddi4.o + +always := crt0.o +targets := crt0.o diff --git a/usr/klibc/arch...
2014 Jun 09
0
How to use --once? Does it work?
...__negdi2 is defined more than once Info: Symbol __umoddi3 is defined more than once Info: Symbol __lshrdi3 is defined more than once Info: Symbol __dtors_end is defined more than once Info: Symbol __dtors_start is defined more than once Info: Symbol dev_null_r is defined more than once Info: Symbol __ashldi3 is defined more than once Info: Symbol __udivdi3 is defined more than once Info: Symbol __syslinux_adv_size is defined more than once Info: Symbol __ctors_end is defined more than once Info: Symbol __ctors_start is defined more than once -hpa
2014 Jun 10
0
How to use --once? Does it work?
...umoddi3 is defined more than once > > Info: Symbol __lshrdi3 is defined more than once > > Info: Symbol __dtors_end is defined more than once > > Info: Symbol __dtors_start is defined more than once > > Info: Symbol dev_null_r is defined more than once > > Info: Symbol __ashldi3 is defined more than once > > Info: Symbol __udivdi3 is defined more than once > > Info: Symbol __syslinux_adv_size is defined more than once > > Info: Symbol __ctors_end is defined more than once > > Info: Symbol __ctors_start is defined more than once > > > >...
2007 Apr 26
2
fail to build ssh
...c:527: undefined reference to `__muldi3' readconf.o(.text+0x1028):/usr/src/SparcV8Linux/openssh-4.6p1/readconf.c:529: undefined reference to `__divdi3' ./libssh.a(packet.o)(.text+0xab4): In function `set_newkeys': /usr/src/SparcV8Linux/openssh-4.6p1/packet.c:670: undefined reference to `__ashldi3' /opt/sparc-linux/lib/libcrypto.a(bn_div.o)(.text+0x264): In function `BN_div': : undefined reference to `__udivdi3' /opt/sparc-linux/lib/libcrypto.a(bn_word.o)(.text+0x264): In function `BN_mod_word': : undefined reference to `__umoddi3' /opt/sparc-linux/lib/libcrypto.a(b_print...
2008 Aug 16
1
Minimal COM32 Root Module
...o be present in the root module. If you consider 25K an acceptable size for the root module, those objects, of course, don't need to be removed. LIBENTRY_OBJS = \ sys/farcall.o sys/cfarcall.o sys/zeroregs.o \ sys/argv.o \ sys/ftell.o \ sys/isatty.o sys/fstat.o LIBGCC_OBJS = \ libgcc/__ashldi3.o \ libgcc/__negdi2.o libgcc/__ashrdi3.o libgcc/__lshrdi3.o \ libgcc/__muldi3.o \ libgcc/__divdi3.o libgcc/__moddi3.o LIBCONSOLE_OBJS = \ sys/colortable.o sys/screensize.o \ \ sys/rawcon_write.o \ sys/null_read.o sys/null_write.o sys/serial_write.o \ \ sys/xserial_write.o...
2012 Sep 04
0
[PATCH] console: Close stdin, stdout, stderr on ldlinux.c32 unload
...ntf.o strlcat.o strchr.o strlcpy.o strncasecmp.o ctypes.o \ fputs.o fwrite2.o fwrite.o fgetc.o fclose.o errno.o lmalloc.o \ sys/err_read.o sys/err_write.o sys/null_read.o \ - sys/stdcon_write.o sys/openconsole.o \ + sys/stdcon_write.o \ syslinux/memscan.o strrchr.o \ libgcc/__ashldi3.o libgcc/__udivdi3.o \ libgcc/__negdi2.o libgcc/__ashrdi3.o libgcc/__lshrdi3.o \ diff --git a/core/extern.inc b/core/extern.inc index 3cde286..953be42 100644 --- a/core/extern.inc +++ b/core/extern.inc @@ -27,8 +27,6 @@ extern hexdump, mydump - extern printf_init - extern mem_init...
2015 Nov 05
0
[klibc:master] Inline __arch_libcinit()
...3c 100644 --- a/usr/klibc/arch/i386/Kbuild +++ b/usr/klibc/arch/i386/Kbuild @@ -2,7 +2,7 @@ # klibc .o files for i386 # -klib-y := archinit.o socketcall.o setjmp.o syscall.o varsyscall.o +klib-y := socketcall.o setjmp.o syscall.o varsyscall.o klib-y += open.o openat.o vfork.o klib-y += libgcc/__ashldi3.o libgcc/__ashrdi3.o libgcc/__lshrdi3.o klib-y += libgcc/__muldi3.o libgcc/__negdi2.o diff --git a/usr/klibc/libc_init.c b/usr/klibc/libc_init.c index c54d022..c5b9bab 100644 --- a/usr/klibc/libc_init.c +++ b/usr/klibc/libc_init.c @@ -28,6 +28,12 @@ #include <klibc/sysconfig.h> #include &...
2014 Apr 09
0
[klibc:master] Move architecture-specific initialization to arch/
...74 100644 --- a/usr/klibc/arch/i386/Kbuild +++ b/usr/klibc/arch/i386/Kbuild @@ -2,7 +2,7 @@ # klibc .o files for i386 # -klib-y := socketcall.o setjmp.o syscall.o varsyscall.o +klib-y := archinit.o socketcall.o setjmp.o syscall.o varsyscall.o klib-y += open.o openat.o vfork.o klib-y += libgcc/__ashldi3.o libgcc/__ashrdi3.o libgcc/__lshrdi3.o klib-y += libgcc/__muldi3.o libgcc/__negdi2.o diff --git a/usr/klibc/arch/i386/archinit.c b/usr/klibc/arch/i386/archinit.c new file mode 100644 index 0000000..111d130 --- /dev/null +++ b/usr/klibc/arch/i386/archinit.c @@ -0,0 +1,18 @@ +/* + * arch/i386/arch...