New Template

2018-12-04 Thread F&B Magazine
Food&Beverage Newsletter

Re: Bug in divmodhi4(), plus poor inperformant code

2018-12-04 Thread Stefan Kanthak
"Paul Koning" wrote: > Yes, that's a rather nasty cut & paste error I made. I suspected that. Replacing !(den & (1L<<31)) with (signed short) den >= 0 avoids this type of error: there's no need for a constant here! JFTR: of course the 1L should be just a 1, without suffix. > But if the

Re: Bug in divmodhi4(), plus poor inperformant code

2018-12-04 Thread Paul Koning
Yes, that's a rather nasty cut & paste error I made. But if the 31 is changed to a 15, is the code correct? I would think so. For optimization I'd think that an assembly language version would make more sense, and a few targets do that. paul > On Dec 4, 2018, at 5:51 PM, Stefan Kant

Bug in divmodhi4(), plus poor inperformant code

2018-12-04 Thread Stefan Kanthak
Hi @ll, libgcc's divmodhi4() function has an obvious bug; additionally it shows rather poor inperformant code: two of the three conditions tested in the first loop should clearly moved outside the loop! divmodsi4() shows this inperformant code too! regards Stefan Kanthak --- divmodhi4.c --- un

Re : North American Farm & Power Show - Attendees Info

2018-12-04 Thread Daniel Jones
Hi, I hope you are the right person to discuss about North American Farm & Power Show Attendees Email info? North American Farm & Power Show of 2,000+ attendees with complete details and verified e-addresses. List will be provided for unlimited usage. Interested? Email me back, I'd love to pr

Re: returning struct or union with just double on Win32/x86

2018-12-04 Thread Jonathan Wakely
On Tue, 4 Dec 2018 at 10:19, Jay K wrote: > Seems like a bug? Then it should be reported to Bugzilla, not this mailing list. See https://gcc.gnu.org/bugs/

returning struct or union with just double on Win32/x86

2018-12-04 Thread Jay K
typedef struct { double d; } Struct; Struct f1 () { Struct res = {3.0}; return res; } typedef union { double d; } Union; Union f2 () { Union res = {3.0}; return res; } x86 mingw 7.3.0 The first returns in ST0, the  second in edx:eax. Msvc returns first in edx:eax. Seems like a bug? Thank

Re: Bug 84762 - GCC for PowerPC32 violates the SysV ABI spec for small struct returns

2018-12-04 Thread Franz Sirl
Am 2018-12-04 um 08:14 schrieb Lokesh Janghel: Thank you Sirl, -msvr4-struct-return=standard and -msvr4-struct-return=gnu (which would be the default (-msvr4-struct-return=standard) by default, you mean using registers to return? Hi Lokesh, both return small structs in registers. The quest

Re: GCC 7.4 Release Candidate available from gcc.gnu.org

2018-12-04 Thread Iain Sandoe
> On 29 Nov 2018, at 22:53, Bill Seurer wrote: > > On 11/29/18 04:24, Richard Biener wrote: >> A release candidate for GCC 7.4 is available from >> ftp://gcc.gnu.org/pub/gcc/snapshots/7.4.0-RC-20181129/ >> and shortly its mirrors. It has been generated from SVN revision 266611. >> I have so fa