On 11/24/20 8:40 AM, Stefan Kanthak wrote: > Andreas Schwab wrote: > >> On Nov 24 2020, Stefan Kanthak wrote: >> >>> 'nuff said >> What's your point? > Pinpoint deficiencies and bugs in GCC and libgcc, plus a counter > example to your "argument"! > I recommend careful reading. Umm, you should broaden your horizons. The world is not an x86. I'm pretty sure Andreas was referring to non-x86 targets. As Jakub has already indicated, your change will result in infinite recursion on avr. I happened to have a cr16 handy and it looks like it'd generate infinite recursion there too. On other targets the routines you're changing won't be used because they either have 64 bit shifts or the compiler can synthesize them from other primitives that are available. It's pointless to keep arguing on the shift stuff. What you've submitted is fundamentally wrong in the context of gcc's libgcc2 routines. It's that simple. If you keep arguing about it you're likely just going to annoy those who can help you to the point where they won't bother. I think the bswapsi2 change will go forward, but it needs to be tested. jeff
- Re: [PATCH] Better __ashlDI... Jakub Jelinek via Gcc-patches
- Re: [PATCH] Better __a... Jeff Law via Gcc-patches
- Re: [PATCH] Better __ashlDI... Jeff Law via Gcc-patches
- Re: [PATCH] Better __ashlDI3, _... Jeff Law via Gcc-patches
- Re: [PATCH] Better __ashlDI3, __ash... Jeff Law via Gcc-patches
- Re: [PATCH] Better __ashlDI3, __ash... Andreas Schwab
- Re: [PATCH] Better __ashlDI3, _... Stefan Kanthak
- Re: [PATCH] Better __ashlDI... Andreas Schwab
- Re: [PATCH] Better __a... Stefan Kanthak
- Re: [PATCH] Better... Andreas Schwab
- Re: [PATCH] Better... Jeff Law via Gcc-patches
- Re: [PATCH] Better... Stefan Kanthak
- Re: [PATCH] Better... Jakub Jelinek via Gcc-patches
- Re: [PATCH] Better... Stefan Kanthak
- Re: [PATCH] Better... Jeff Law via Gcc-patches
- Re: [PATCH] Better... Stefan Kanthak
- Re: [PATCH] Better... Jeff Law via Gcc-patches
- Re: [PATCH] Better __ashlDI3, __ashrDI3 and ... Jakub Jelinek via Gcc-patches
- Re: [PATCH] Better __ashlDI3, __ashrDI3... Jeff Law via Gcc-patches
- Re: [PATCH] Better __ashlDI3, __ashrDI3 and ... Jakub Jelinek via Gcc-patches
- Re: [PATCH] Better __ashlDI3, __ashrDI3 and ... Jeff Law via Gcc-patches