bitintr
bitintr copied to clipboard
Portable Bitwise Manipulation Intrinsics
Python 2 has been [sunsetted](https://www.python.org/doc/sunset-python-2/), convert the script to Python3.
Basically the same problem as #12. ``` $ cargo +stable build ``` ``` Compiling bitintr v0.3.0 (/Users/redacted/Develop/rust-workspace/bitintr) error[E0658]: use of unstable library feature 'stdsimd' --> src/lib.rs:28:13 | 28 | pub...
The ZP7 https://github.com/zwegner/zp7 implementation by Zach Wegner claims to be faster than the builtin instruction on some AMD architectures for most input masks. According to [this](https://mobile.twitter.com/InstLatX64/status/1209095219087585281) twitter the performance on...
As mentioned in https://github.com/rust-lang/stdarch/issues/932 the panic position for BZHI is wrong. According to the [doc](https://docs.rs/bitintr/0.3.0/bitintr/trait.Bzhi.html) it'll panic when > If `bit_position >= bit_size()` and `-C debug-assertions=1`. However the behavior is...
`popcnt`, `tzcnt`, `bzhi`, `bextr` and a few others should probably take/return a `u32` (or similar) to match the register types of the instructions, rather than the `Self` type of the...
The following BMI2 instructions are still missing: - [ ] `RORX` - [ ] `SARX` - [ ] `SHRX` - [ ] `SHLX`
Great library, thanks for making it! I am writing succinct data structure code using `pdep` to implement `select` on 64-bit words: ```rust pub fn select64(x: u64, idx: usize) -> u64...
This PR removes Rust nightly support, as a crude solution to the problem of changing feature flags reported in #19. It can be applied immediately in non-crates.io-published dependents via: ```...
Root cause: https://github.com/rust-lang/rust/pull/117372 I'm trying to get my [benchmarks](https://github.com/djkoloski/rust_serialization_benchmark) compiling on nightly again, this seems to be next in line. Per the linked PR, it looks like the `stdsimd` feature...