On Tue, Sep 2, 2025 at 1:39 PM Joseph Myers wrote:
>
> On Wed, 28 May 2025, Trevor Gross wrote:
>
> > Documentation for `__cmpsf2` and similar functions currently indicate a
> > return type of `int`. This is not correct however; the `libgcc`
> > functions return `CMP
On Thu, Sep 11, 2025 at 1:09 PM Trevor Gross wrote:
> (Returning i128 indirectly and f128 in xmm0 would also match the SysV
> return ABI.)
Slight clarification here the SysV ABI says that i128 can be
represented as a 16-aligned struct:
typedef struct {
long low, high;
} __
On Wed Sep 10, 2025 at 2:41 AM EDT, LIU Hao wrote:
> 在 2025-9-10 13:41, Trevor Gross 写道:
>> Just following up here, how would you like me to proceed LH?
>>
>
> I agree that `_Float16` should be passed in a vector register, because the
> hardware expects it, like in
>
On Mon Sep 1, 2025 at 2:30 AM CDT, Trevor Gross wrote:
> Thanks for taking a look so fast LH and Jonathan.
>
> On Sun Aug 31, 2025 at 11:09 PM CDT, LIU Hao wrote:
>> 在 2025-9-1 11:12, Jonathan Yong 写道:
>>> On 8/31/25 9:58 PM, Trevor Gross wrote:
>>>> For MinGW
Thanks for taking a look so fast LH and Jonathan.
On Sun Aug 31, 2025 at 11:09 PM CDT, LIU Hao wrote:
> 在 2025-9-1 11:12, Jonathan Yong 写道:
>> On 8/31/25 9:58 PM, Trevor Gross wrote:
>>> For MinGW on x86-64, GCC currently passes and returns `_Float16` in
>>> GPRs. Mi
) {
*dst = (_Float16)*x;
}
/* Float varargs should be in vregs with a zeroed shadow GPR */
void va(_Float16, ...);
void va_f16() {
va(1.0f16, 2.0f16, 3.0f16, 4.0f16, 5.0f16);
}
2025-08-31 Trevor Gross
gcc/:
PR target/115054
* gcc/config/i386
Introduce a test that exercises various ABI aspects of C23 float types.
This is based on existing tests such as `float16-basic.c`.
2025-08-31 Trevor Gross
gcc/testsuite/
* gcc.dg/torture/float128-abi.c: New test.
* gcc.dg/torture/float128x-abi.c: New test.
* gcc.dg
Hi all,
Ping for a review/commit of the following:
On Tue May 27, 2025 at 9:35 PM CDT, Trevor Gross wrote:
> Documentation for `__cmpsf2` and similar functions currently indicate a
> return type of `int`. This is not correct however; the `libgcc`
> functions return `CMPtype`, the size
On Tue May 27, 2025 at 9:35 PM CDT, Trevor Gross wrote:
> Documentation for `__cmpsf2` and similar functions currently indicate a
> return type of `int`. This is not correct however; the `libgcc`
> functions return `CMPtype`, the size of which is determined by the
> `libgcc_cmp_
On Tue, May 27, 2025 at 3:39 PM Joseph Myers wrote:
>
> On Fri, 23 May 2025, Trevor Gross wrote:
>
> > +Comparison functions return a CMPtype which is a signed integer of
> > +target-depdent size. Typically CMPtype will be word-sized, but other
> > backends
>
target-dependent, also mentioning the usual modes.
Reported-by: beetrees
Fixes:
https://github.com/rust-lang/compiler-builtins/issues/919#issuecomment-2905347318
Signed-off-by: Trevor Gross
---
Changes from v1:
* Use `@code` formatting in prose section
* s/depdent/dependent
v1: https://gcc.gnu.org
target-dependent, also mentioning the usual modes.
Reported-by: beetrees
Fixes:
https://github.com/rust-lang/compiler-builtins/issues/919#issuecomment-2905347318
Signed-off-by: Trevor Gross
---
gcc/doc/libgcc.texi | 53 +
1 file changed, 29 insertions
12 matches
Mail list logo