search for: __udivmoddi4

Displaying 20 results from an estimated 39 matches for "__udivmoddi4".

2018 Dec 03
3
The builtins library of compiler-rt is a performance HOG^WKILLER
...__muldi3 (41 instructions) performs a "long" multiplication on 16-bit "digits" JFTR: I haven't checked whether clang actually calls these SUPERFLUOUS routines listed above. IT BETTER SHOULD NOT, NEVER! __divdi3 (37 instructions) calls __udivmoddi4 (254 instructions) __moddi3 (51 instructions) calls __udivmoddi4 (254 instructions) __divmoddi4 (36 instructions) calls __divdi3 (37 instructions) which calls __udivmoddi4 (254 instructions) __udivdi3 (8 instructions) calls __udivmoddi4 (254 instructions) __umoddi3 (33...
2018 Dec 03
3
The builtins library of compiler-rt is a performance HOG^WKILLER
...ward Hinnant is NO MORE with LLVM: who is the CURRENT code owner and reviewer for the builtins library, especially for x86? I'm asking this SIMPLE question now for the 3rd time! I also have __udivmoddi3: adding the pointer to the remainder as argument and 4 more instructions will turn it into __udivmoddi4. Compiling them with MSVC is of course easy to achieve: remove the MASM/ML statements, put the assembler source inside an __asm block, and add a function definition with __declspec(naked) But then someone will have to find new filenames; I'd prefer to leave them as *.ASM, so they can be added...
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
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
This fixes a long standing issue where it was not possible to do "make usr/klibc/arch/x86_64/longjmp.o" in the kernel. The principle is that all .o files to be part of klibc are listed with klib-y. For each directory a klib.list file is made that specify all .o file and the final AR then adds all .o files to create libc.a. This patch introduce the infrastructure and converts x86_64 to
2014 Jun 09
4
How to use --once? Does it work?
On 06/09/2014 02:58 PM, H. Peter Anvin wrote: > > Actually, it looks more like this might be the problem: > > Info: Symbol __muldi3 is defined more than once > Info: Symbol __divdi3 is defined more than once > Info: Symbol __udivmoddi4 is defined more than once > Info: Symbol __ashrdi3 is defined more than once > Info: Symbol dev_stdcon_w is defined more than once > Info: Symbol __moddi3 is defined more than once > Info: Symbol __syslinux_adv_ptr is defined more than once > Info: Symbol __negdi2 is defined more tha...
2006 Apr 18
1
[patch] sparc build fix
...Has been since long in the Debian and Ubuntu klibc. diff --git a/klibc/arch/sparc/Makefile.inc b/klibc/arch/sparc/Makefile.inc index 41c23c5..d77030d 100644 --- a/klibc/arch/sparc/Makefile.inc +++ b/klibc/arch/sparc/Makefile.inc @@ -23,25 +23,33 @@ KLIBCARCHOBJS = \ libgcc/__umoddi3.o \ libgcc/__udivmoddi4.o -arch/$(KLIBCARCH)/sdiv.S: arch/$(KLIBCARCH)/divrem.m4 +arch/$(KLIBCARCH)/sdiv.o: arch/$(KLIBCARCH)/sdiv.S + +klibc/arch/$(KLIBCARCH)/sdiv.S: klibc/arch/$(KLIBCARCH)/divrem.m4 @echo 'building $@ from $^' @(echo "define(NAME,\`.div')define(OP,\`div')define(S,\`true')...
2004 Feb 22
3
ARM/Thumb updates and some other minor tweaks
...c-0.114_orig/klibc/libgcc/__udivdi3.c 2002-08-27 22:16:15.000000000 -0700 +++ klibc-0.114/klibc/libgcc/__udivdi3.c 2004-02-22 04:39:00.000000000 -0800 @@ -1,5 +1,5 @@ /* - * arch/i386/libgcc/__divdi3.c + * libgcc/__udivdi3.c */ #include <stdint.h> diff -ruN klibc-0.114_orig/klibc/libgcc/__udivmoddi4.c klibc-0.114/klibc/libgcc/__udivmoddi4.c --- klibc-0.114_orig/klibc/libgcc/__udivmoddi4.c 2002-08-27 22:16:15.000000000 -0700 +++ klibc-0.114/klibc/libgcc/__udivmoddi4.c 2004-02-22 04:39:00.000000000 -0800 @@ -1,3 +1,7 @@ +/* + * libgcc/__udivmoddi4.c + */ + #include <klibc/diverr.h> #incl...
2020 Aug 21
2
Clang is a resource hog, the installers for Windows miss quite some files, and are defect!
...asted 0.5GB and the missing clang-rt.*-i386.lib He was DEFINITELY not amused, and called the $*%@ who built this crap names. I but dared to copy clang-rt.builtins-{i386,x86-64}.lib and verified the still POOR performance, especially for 64-bit division on i386 and 128-bit division on AMD64. JFTR: __udivmoddi4 and __udivmodti4 are even slower than in LLVM 7.0.0! [...] >>> There are multiple potential equivalents to symlinks on Windows systems, >>> the one matching UNIX systems the closest is relatively new and requires >>> either Administrator rights or developer mode turned...
2005 Mar 07
0
gcc4 warnings
...-Winline CFLAGS = -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d $(OPTFLAGS) \ --- syslinux-3.07/com32/lib/libgcc/__moddi3.c.gcc4 2004-11-17 02:19:58.000000000 -0500 +++ syslinux-3.07/com32/lib/libgcc/__moddi3.c 2005-03-07 11:26:46.000000000 -0500 @@ -21,7 +21,7 @@ minus ^= 1; } - (void) __udivmoddi4(num, den, &v); + (void) __udivmoddi4(num, den, (uint64_t *)&v); if ( minus ) v = -v; --- syslinux-3.07/com32/lib/strcmp.c.gcc4 2004-11-10 17:31:50.000000000 -0500 +++ syslinux-3.07/com32/lib/strcmp.c 2005-03-07 11:26:46.000000000 -0500 @@ -6,7 +6,8 @@ int strcmp(const char *s1...
2020 Aug 21
3
Clang is a resource hog, the installers for Windows miss quite some files, and are defect!
...TELY not amused, and called the $*%@ who built this crap >> names. >> >> I but dared to copy clang-rt.builtins-{i386,x86-64}.lib and verified the >> still POOR performance, especially for 64-bit division on i386 and 128-bit >> division on AMD64. >> >> JFTR: __udivmoddi4 and __udivmodti4 are even slower than in LLVM 7.0.0! >> >> [...] >> >>>>> There are multiple potential equivalents to symlinks on Windows systems, >>>>> the one matching UNIX systems the closest is relatively new and requires >>>>> eith...
2003 Dec 08
0
[PATCH] Add some libgcc stuff to ia64's Makefile.inc
...K 41984 O -rw-rw-r-- P klibc/arch/ia64/Makefile.inc ------------------------------------------------ D13 1 I13 9 arch/$(ARCH)/pipe.o \ libgcc/__divdi3.o \ libgcc/__divsi3.o \ libgcc/__udivdi3.o \ libgcc/__udivsi3.o \ libgcc/__umodsi3.o \ libgcc/__umoddi3.o \ libgcc/__udivmodsi4.o \ libgcc/__udivmoddi4.o # Patch checksum=c61569d9 -------------- next part -------------- A non-text attachment was scrubbed... Name: klibc-libgcc-fixes.diff Type: text/x-patch Size: 1114 bytes Desc: not available Url : http://www.zytor.com/pipermail/klibc/attachments/20031208/b4d270a1/klibc-libgcc-fixes.bin
2015 Mar 06
0
[klibc:master] add-mips64-support-arch-mips32
...../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/mips/sysstub.ph b/usr/klibc/arch/mips64/sysstub.ph similarity index 96% copy from usr/klibc/arch/mips/sysstub.ph copy to usr/klibc/arch/mips64/sysstub.ph index 3689529..e8a0200 100644 --- a/usr/klibc/arch/mips/sysstub.ph +++ b/us...
2014 Jun 09
0
How to use --once? Does it work?
...perhaps the correction was > introduced for 5.00-pre8/9 but was not applied to the 6.xx branch on > time (nor since). > Actually, it looks more like this might be the problem: Info: Symbol __muldi3 is defined more than once Info: Symbol __divdi3 is defined more than once Info: Symbol __udivmoddi4 is defined more than once Info: Symbol __ashrdi3 is defined more than once Info: Symbol dev_stdcon_w is defined more than once Info: Symbol __moddi3 is defined more than once Info: Symbol __syslinux_adv_ptr is defined more than once Info: Symbol __negdi2 is defined more than once Info: Symbol __umo...
2014 Jun 10
0
How to use --once? Does it work?
...hreef H. Peter Anvin: > On 06/09/2014 02:58 PM, H. Peter Anvin wrote: > > > > Actually, it looks more like this might be the problem: > > > > Info: Symbol __muldi3 is defined more than once > > Info: Symbol __divdi3 is defined more than once > > Info: Symbol __udivmoddi4 is defined more than once > > Info: Symbol __ashrdi3 is defined more than once > > Info: Symbol dev_stdcon_w is defined more than once > > Info: Symbol __moddi3 is defined more than once > > Info: Symbol __syslinux_adv_ptr is defined more than once > > Info: Symbol __n...
2004 Jun 23
4
CRIS port of klibc
...efile.inc ../klibc-0.146-modified/klibc/arch/cris/Makefile.inc --- ./klibc/arch/cris/Makefile.inc Thu Jun 10 08:59:15 2004 +++ ../klibc-0.146-modified/klibc/arch/cris/Makefile.inc Wed Jun 23 09:45:12 2004 @@ -14,6 +14,8 @@ libgcc/__moddi3.o \ libgcc/__udivdi3.o \ libgcc/__umoddi3.o \ - libgcc/__udivmoddi4.o + libgcc/__udivmoddi4.o \ + libgcc/__negdi2.o \ + libgcc/crisarith.o archclean: diff -urN ./klibc/arch/cris/crt0.S ../klibc-0.146-modified/klibc/arch/cris/crt0.S --- ./klibc/arch/cris/crt0.S Thu Jun 10 08:59:15 2004 +++ ../klibc-0.146-modified/klibc/arch/cris/crt0.S Wed Jun 23 09:21:00 2004 @@...
2009 Feb 11
1
[PATCH 1/1] COM32 API: Add functions for directory use
...1,8 @@ LIBOBJS = \ asprintf.o vasprintf.o strlcpy.o strlcat.o \ vsscanf.o zalloc.o \ \ + opendir.o readdir.o closedir.o getcwd.o chdir.o fdopendir.o \ + \ libgcc/__ashldi3.o libgcc/__udivdi3.o \ libgcc/__negdi2.o libgcc/__ashrdi3.o libgcc/__lshrdi3.o \ libgcc/__muldi3.o libgcc/__udivmoddi4.o libgcc/__umoddi3.o \ diff --git a/com32/lib/chdir.c b/com32/lib/chdir.c new file mode 100644 index 0000000..88dceec --- /dev/null +++ b/com32/lib/chdir.c @@ -0,0 +1,13 @@ +/* + * chdir.c + */ + +#include <dirent.h> +#include <stdio.h> +#include <errno.h> + +int chdir(const char...
2008 Dec 04
0
[PATCH 1/1] COM32: Add directory functions
...1,8 @@ LIBOBJS = \ asprintf.o vasprintf.o strlcpy.o strlcat.o \ vsscanf.o zalloc.o \ \ + opendir.o readdir.o closedir.o getcwd.o chdir.o fdopendir.o \ + \ libgcc/__ashldi3.o libgcc/__udivdi3.o \ libgcc/__negdi2.o libgcc/__ashrdi3.o libgcc/__lshrdi3.o \ libgcc/__muldi3.o libgcc/__udivmoddi4.o libgcc/__umoddi3.o \ diff --git a/com32/lib/chdir.c b/com32/lib/chdir.c new file mode 100644 index 0000000..88dceec --- /dev/null +++ b/com32/lib/chdir.c @@ -0,0 +1,13 @@ +/* + * chdir.c + */ + +#include <dirent.h> +#include <stdio.h> +#include <errno.h> + +int chdir(const char...
2019 Jan 18
0
[klibc:master] arch: Remove m32r port
...x ceb2ba0..0000000 --- a/usr/klibc/arch/m32r/Kbuild +++ /dev/null @@ -1,13 +0,0 @@ -# -# klibc files for m32r -# - - -klib-y := setjmp.o syscall.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/m32r/MCONFIG b/usr/klibc/arch/m32r/MCONFIG deleted file mode 100644 index 7ca2785..0000000 --- a/usr/klibc/arch/m32r/MCONFIG +++ /dev/null @@ -1,18 +0,0 @@ -# -*- makefile -*- -# -# arch/m32r/MCONFIG -# -# Special rules for this...
2006 Jun 26
0
[klibc 26/43] m32r support for klibc
...ure. Note that this is actually +# included from the main Makefile, and that pathnames should be +# accordingly. +# + +KLIBCARCHOBJS = \ + arch/$(KLIBCARCH)/setjmp.o \ + arch/$(KLIBCARCH)/syscall.o \ + libgcc/__divdi3.o \ + libgcc/__moddi3.o \ + libgcc/__udivdi3.o \ + libgcc/__umoddi3.o \ + libgcc/__udivmoddi4.o + +archclean: diff --git a/usr/klibc/arch/m32r/crt0.S b/usr/klibc/arch/m32r/crt0.S new file mode 100644 index 0000000..568e5d8 --- /dev/null +++ b/usr/klibc/arch/m32r/crt0.S @@ -0,0 +1,24 @@ +# +# arch/m32r/crt0.S +# +# Does arch-specific initialization and invokes __libc_init +# with the appropr...
2020 Aug 21
2
Clang is a resource hog, the installers for Windows miss quite some files, and are defect!
"Michael Kruse" <llvmdev at meinersbur.de> wrote: > I think David is not referring to the capitalization of file names, but to > "DUPLICATE", "WASTING", "NOT AMUSED", "BOGUS" etc. I EMPHASIZE in the only way possible with plain text. > It should be possible to report problems in a professional manner. It should also be possible