Skip to content

Clang ICEs compiling project pveclib __float128 implementation #127344

Open
@munroesj52

Description

@munroesj52

For the project: https://github.com/open-power-sdk/pveclib

Clang 16/17/18 ICEs when compiling PVECLIB implementation for __Float128/__int128 types.

In powerpc64le these types are implemented in the PowerISA in 128-bit vector (VMX) registers.

So are __Float128/__int128 types scalars OR vectors, Yes for PowerISA.

While POWER9 implements _Float128 in hardware but PVECLIB it trying to implement _Float128 operations for POWER8 and earlier using the wider (__int128) registers of the vector unit.

This is working in GCC.

But clang is pita as it is ICEing without useful diagnostics.

Clang does generate preprocessed source and run scripts on these occasions but not sure how to attach those in this tool.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions