Skip to content

Workaround for bad LLVM codegen for boolean reductions on 32-bit ARM

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

hsivonen/any_all_workaround

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

any_all_workaround

This is a workaround for bad codegen (Rust bug, LLVM bug) for the any() and all() reductions for NEON-backed SIMD vectors on 32-bit ARM. On other platforms these delegate to any() and all() in core::simd.

The plan is to abandon this crate once the LLVM bug is fixed or core::simd works around the LLVM bug.

The code is forked from the packed_simd crate.

This crate requires Nightly Rust as it depends on the portable_simd feature.

License

MIT OR Apache-2.0, since that's how packed_simd is licensed.

About

Workaround for bad LLVM codegen for boolean reductions on 32-bit ARM

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages