Re: [PATCH v2] doc: Correct the return type of float comparison

2025-07-06 Thread Trevor Gross
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_

Re: [PATCH] doc: Correct the return type of float comparison

2025-05-27 Thread Trevor Gross
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 >

[PATCH v2] doc: Correct the return type of float comparison

2025-05-27 Thread Trevor Gross
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

[PATCH] doc: Correct the return type of float comparison

2025-05-23 Thread Trevor Gross
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