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