Skip to content

[PowerPC] Altivec doesn't support NaN return NaN behavior #167102

@Link4Electronics

Description

@Link4Electronics

Hello,

Running Linux 6.17.7 PPC64 big-endian on a Power Mac G5, CPU POWER4 970MP, LLVM 21.1.4
When trying to run lp_test_arit from mesa project, it shows:

altivec doesn't support nan return nan behavior

round.v1(-0.5): ref = -0, out = -1, precision = -inf bits, FAIL

round.v1(0.5): ref = 0, out = 1, precision = -inf bits, FAIL

would it be related to float->int conversion when rounding?

Best regards,
Link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:PowerPCneeds-reductionLarge reproducer that should be reduced into a simpler formquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions