Skip to content

Float CmpResult seems to be of the wrong type #919

Closed
@antoyo

Description

@antoyo

Hi.
I'm currently trying to make some new f128 tests pass for cg_gcc and I believe I found out the issue: it seems the CmpResult type is aliased wrongly to i32 while it should be aliased to i64 (or at least long) on x86-64.

The type is defined here as a i32 while the comment just above point to this that mentions that it should be a long.

Could you please double-check that it indeed should be a long and not a i32?

It seems like it should be a int on Aarch64, according to the LLVM code linked above.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions