Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-29 Thread Stefan Roese
Hi Bin, On 29.11.2017 13:31, Bin Meng wrote: Hi Stefan, On Wed, Nov 29, 2017 at 6:01 PM, Stefan Roese wrote: Hi Bin, On 29.11.2017 10:23, Bin Meng wrote: On Wed, Nov 29, 2017 at 4:42 PM, Stefan Roese wrote: Hi Bin, On 29.11.2017 09:30, Bin Meng wrote: I wrote some codes soemthing

Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-29 Thread Bin Meng
Hi Stefan, On Wed, Nov 29, 2017 at 6:01 PM, Stefan Roese wrote: > Hi Bin, > > > On 29.11.2017 10:23, Bin Meng wrote: >> >> On Wed, Nov 29, 2017 at 4:42 PM, Stefan Roese wrote: >>> >>> Hi Bin, >>> >>> On 29.11.2017 09:30, Bin Meng wrote: >>> >>> >>> >> I wrote some codes soemthing like:

Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-29 Thread Stefan Roese
Hi Bin, On 29.11.2017 10:23, Bin Meng wrote: On Wed, Nov 29, 2017 at 4:42 PM, Stefan Roese wrote: Hi Bin, On 29.11.2017 09:30, Bin Meng wrote: I wrote some codes soemthing like: s64 a, b, c; c = a/b; The compiler will generate codes to call __divdi3. This works before your patch. Ye

Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-29 Thread Bin Meng
Hi Stefan, On Wed, Nov 29, 2017 at 4:42 PM, Stefan Roese wrote: > Hi Bin, > > On 29.11.2017 09:30, Bin Meng wrote: > > > I wrote some codes soemthing like: s64 a, b, c; c = a/b; The compiler will generate codes to call __divdi3. This works before your patc

Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-29 Thread Stefan Roese
Hi Bin, On 29.11.2017 09:30, Bin Meng wrote: I wrote some codes soemthing like: s64 a, b, c; c = a/b; The compiler will generate codes to call __divdi3. This works before your patch. Yes, I understand this. But right now, we don't have any code generating this error. And if this will hap

Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-29 Thread Bin Meng
Hi Stefan, On Tue, Nov 28, 2017 at 12:34 AM, Stefan Roese wrote: > Hi Bin, > > > On 27.11.2017 10:46, Bin Meng wrote: >> >> On Fri, Nov 24, 2017 at 5:29 PM, Stefan Roese wrote: >>> >>> Hi Bin, >>> >>> >>> On 24.11.2017 09:29, Bin Meng wrote: On Mon, Nov 20, 2017 at 6:43 PM, Stefan

Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-27 Thread Stefan Roese
Hi Bin, On 27.11.2017 10:46, Bin Meng wrote: On Fri, Nov 24, 2017 at 5:29 PM, Stefan Roese wrote: Hi Bin, On 24.11.2017 09:29, Bin Meng wrote: On Mon, Nov 20, 2017 at 6:43 PM, Stefan Roese wrote: Hi Bin, On 20.11.2017 08:24, Bin Meng wrote: On Fri, Nov 17, 2017 at 2:02 PM, Stefan R

Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-27 Thread Bin Meng
Hi Stefan, On Fri, Nov 24, 2017 at 5:29 PM, Stefan Roese wrote: > Hi Bin, > > > On 24.11.2017 09:29, Bin Meng wrote: >> >> On Mon, Nov 20, 2017 at 6:43 PM, Stefan Roese wrote: >>> >>> Hi Bin, >>> >>> >>> On 20.11.2017 08:24, Bin Meng wrote: On Fri, Nov 17, 2017 at 2:02 PM, Stefan

Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-24 Thread Stefan Roese
Hi Bin, On 24.11.2017 09:29, Bin Meng wrote: On Mon, Nov 20, 2017 at 6:43 PM, Stefan Roese wrote: Hi Bin, On 20.11.2017 08:24, Bin Meng wrote: On Fri, Nov 17, 2017 at 2:02 PM, Stefan Roese wrote: This patch removes the inclusion of the libgcc math functions and replaces them by function

Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-24 Thread Bin Meng
Hi Stefan, On Mon, Nov 20, 2017 at 6:43 PM, Stefan Roese wrote: > Hi Bin, > > > On 20.11.2017 08:24, Bin Meng wrote: >> >> On Fri, Nov 17, 2017 at 2:02 PM, Stefan Roese wrote: >>> >>> This patch removes the inclusion of the libgcc math functions and >>> replaces them by functions coded in C, tak

Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-20 Thread Stefan Roese
Hi Bin, On 20.11.2017 08:24, Bin Meng wrote: On Fri, Nov 17, 2017 at 2:02 PM, Stefan Roese wrote: This patch removes the inclusion of the libgcc math functions and replaces them by functions coded in C, taken from the coreboot project. This makes U-Boot building more independent from the toolc

Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-19 Thread Bin Meng
Hi Stefan, On Fri, Nov 17, 2017 at 2:02 PM, Stefan Roese wrote: > This patch removes the inclusion of the libgcc math functions and > replaces them by functions coded in C, taken from the coreboot > project. This makes U-Boot building more independent from the toolchain > installed / available on

[U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-16 Thread Stefan Roese
This patch removes the inclusion of the libgcc math functions and replaces them by functions coded in C, taken from the coreboot project. This makes U-Boot building more independent from the toolchain installed / available on the build system. The code taken from coreboot is authored from Vadim Be