Re: [PATCH] libgcc: PR target/116363 Fix SFtype to UDWtype conversion

2025-02-23 Thread Jan Dubiec
On 23.02.2025 04:59, Jeff Law wrote: [...] it'll have to wait for the next development window. Meaning it probably won't get any attention for a couple months.Not a big deal. H8 has never been a popular target. /J.D.

Re: [PATCH] libgcc: PR target/116363 Fix SFtype to UDWtype conversion

2025-02-22 Thread Jeff Law
On 2/22/25 8:10 AM, Jan Dubiec wrote: This patch fixes SFtype to UDWtype (aka float to unsigned long long) conversion on targets without DFmode like e.g. H8/300H. It solely relies on SFtype->UWtype and UWtype->UDWtype conversions/casts. The existing code in line 2218 (counter = a) assigns/cast

[PATCH] libgcc: PR target/116363 Fix SFtype to UDWtype conversion

2025-02-22 Thread Jan Dubiec
This patch fixes SFtype to UDWtype (aka float to unsigned long long) conversion on targets without DFmode like e.g. H8/300H. It solely relies on SFtype->UWtype and UWtype->UDWtype conversions/casts. The existing code in line 2218 (counter = a) assigns/casts a float which is *always* not lesser tha