Skip to content

LLVM ctpop.v16i8 intrinsic breaks on s390x #192

@TheIronBorn

Description

@TheIronBorn

This works as a minimal LLVM example: https://godbolt.org/z/_nnrkF

Unfortunately godbolt's nightly Rust is broken so I can't reproduce it in Rust: compiler-explorer/compiler-explorer#1165

u8x16::count_ones/zeros will likely need a workaround until fixed.

Reported to LLVM: https://bugs.llvm.org/show_bug.cgi?id=39730

(ctlz.v16i8 & cttz.v16i8 break as well)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-SystemZz architectureBlocked-LLVMBugs blocked on bugfixes in LLVM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions