Skip to content

[POWER10] SIMD tests failing with integer overflow (previously skipped) #29731

@sandeepgupta12

Description

@sandeepgupta12

On POWER10 (ppc64le), some SIMD tests that were previously reported as skipped in PR #29212 actually fail when executed.

Example failure:

numpy/_core/tests/test_umath.py::TestDivisionIntegerOverflowsAndDivideByZero::test_overflows[remainder-int32-int64] - AssertionError:
Arrays are not equal

Mismatched elements: 1 / 3 (33.3%)
Mismatch at index: [2]
ACTUAL: -9223372036854775808
EXPECTED: 0

Environment: POWER10, Ubuntu 22.04, GCC 13.3.0, Python 3.12, NumPy 2.4.0.dev0

With SIMD enabled, failures suggest POWER-specific issues in remainder/divide overflow handling.

👉 Full logs: GitHub Actions run

It looks like these tests shouldn’t just be skipped — the SIMD code may need fixes for POWER.

cc: @rgommers

Metadata

Metadata

Assignees

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