Repository navigation
Improve bit permutation codegen - #164611
Merged
Merged
Conversation
Collaborator
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
Contributor
Author
|
r? @Amanieu |
Member
|
@bors r+ |
Contributor
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Oct 20, 2026
Improve bit permutation codegen This PR allows AArch64 use `usra` to improves bit permutation codegen for `extract_bits`. For `extract_bits`, `(x ^ q) ^ (q >> n)` is equivalent to `(x & !masks[stage]) + (q >> n)`, since `q >> n` and `x ^ q` have no overlapping set bits. - `extract_bits` benchmarks Type | Mask | AArch64 XOR | AArch64 Add | Change -- | -- | -- | -- | -- u8 | constant | 102.64 | 49.74 | -51.54% u8 | invariant | 108.00 | 82.32 | -23.78% u8 | variable | 408.10 | 378.12 | -7.35% u16 | constant | 150.31 | 90.10 | -40.06% u16 | invariant | 176.41 | 126.84 | -28.10% u16 | variable | 692.12 | 619.49 | -10.49% u32 | constant | 201.93 | 131.06 | -35.10% u32 | invariant | 228.70 | 167.32 | -26.84% u32 | variable | 1022.22 | 1001.70 | -2.01% u64 | constant | 259.48 | 187.71 | -27.66% u64 | invariant | 288.77 | 211.51 | -26.75% u64 | variable | 1463.05 | 1413.12 | -3.41% u128 | constant | 331.50 | 331.50 | 0.00% u128 | invariant | 411.30 | 411.29 | -0.00% u128 | variable | 1489.14 | 1489.19 | +0.00%
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
…uwer Rollup of 6 pull requests Successful merges: - #163104 ([debuginfo] Emit `usize` and `isize` as typedefs) - #164488 (Don't try to skip anything in `Skip::advance_by(0)`) - #164578 (Don't ignore unknown LLVM diagnostics) - #164611 (Improve bit permutation codegen) - #162668 (document that `!` does bitwise and logical negation) - #164264 (lint: suggest `fXX::is_nan` for unsuffixed NaN comparisons)
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Oct 20, 2026
Improve bit permutation codegen This PR allows AArch64 use `usra` to improves bit permutation codegen for `extract_bits`. For `extract_bits`, `(x ^ q) ^ (q >> n)` is equivalent to `(x & !masks[stage]) + (q >> n)`, since `q >> n` and `x ^ q` have no overlapping set bits. - `extract_bits` benchmarks Type | Mask | AArch64 XOR | AArch64 Add | Change -- | -- | -- | -- | -- u8 | constant | 102.64 | 49.74 | -51.54% u8 | invariant | 108.00 | 82.32 | -23.78% u8 | variable | 408.10 | 378.12 | -7.35% u16 | constant | 150.31 | 90.10 | -40.06% u16 | invariant | 176.41 | 126.84 | -28.10% u16 | variable | 692.12 | 619.49 | -10.49% u32 | constant | 201.93 | 131.06 | -35.10% u32 | invariant | 228.70 | 167.32 | -26.84% u32 | variable | 1022.22 | 1001.70 | -2.01% u64 | constant | 259.48 | 187.71 | -27.66% u64 | invariant | 288.77 | 211.51 | -26.75% u64 | variable | 1463.05 | 1413.12 | -3.41% u128 | constant | 331.50 | 331.50 | 0.00% u128 | invariant | 411.30 | 411.29 | -0.00% u128 | variable | 1489.14 | 1489.19 | +0.00%
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
…uwer Rollup of 14 pull requests Successful merges: - #163575 (core: Add examples and assembly tests for `abort_immediate`) - #163664 (Add new `RUSTC_BOOTSTRAP=-allow-unstable-compiler-flags` mode for testing stable compiler behavior in UI tests) - #163104 ([debuginfo] Emit `usize` and `isize` as typedefs) - #163338 (MIR move elimination [4/6]: MoveElimination) - #163701 (add ReadDir::dir to get the directory handle of the underlying directory) - #164488 (Don't try to skip anything in `Skip::advance_by(0)`) - #164578 (Don't ignore unknown LLVM diagnostics) - #164611 (Improve bit permutation codegen) - #164612 (std: Combine `is_powerpc64_feature_detected` into `is_powerpc_feature_detected`) - #162668 (document that `!` does bitwise and logical negation) - #164264 (lint: suggest `fXX::is_nan` for unsuffixed NaN comparisons) - #164509 (layout invariant: turn delayed bug back into proper assertion) - #164594 (rustdoc: Correctly handle inner `deprecated` attribute on modules) - #164629 (arch::breakpoint: avoid confusing 'equivalent' terminology)
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Oct 20, 2026
Improve bit permutation codegen This PR allows AArch64 use `usra` to improves bit permutation codegen for `extract_bits`. For `extract_bits`, `(x ^ q) ^ (q >> n)` is equivalent to `(x & !masks[stage]) + (q >> n)`, since `q >> n` and `x ^ q` have no overlapping set bits. - `extract_bits` benchmarks Type | Mask | AArch64 XOR | AArch64 Add | Change -- | -- | -- | -- | -- u8 | constant | 102.64 | 49.74 | -51.54% u8 | invariant | 108.00 | 82.32 | -23.78% u8 | variable | 408.10 | 378.12 | -7.35% u16 | constant | 150.31 | 90.10 | -40.06% u16 | invariant | 176.41 | 126.84 | -28.10% u16 | variable | 692.12 | 619.49 | -10.49% u32 | constant | 201.93 | 131.06 | -35.10% u32 | invariant | 228.70 | 167.32 | -26.84% u32 | variable | 1022.22 | 1001.70 | -2.01% u64 | constant | 259.48 | 187.71 | -27.66% u64 | invariant | 288.77 | 211.51 | -26.75% u64 | variable | 1463.05 | 1413.12 | -3.41% u128 | constant | 331.50 | 331.50 | 0.00% u128 | invariant | 411.30 | 411.29 | -0.00% u128 | variable | 1489.14 | 1489.19 | +0.00%
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
…uwer Rollup of 13 pull requests Successful merges: - #163664 (Add new `RUSTC_BOOTSTRAP=-allow-unstable-compiler-flags` mode for testing stable compiler behavior in UI tests) - #163104 ([debuginfo] Emit `usize` and `isize` as typedefs) - #163338 (MIR move elimination [4/6]: MoveElimination) - #163701 (add ReadDir::dir to get the directory handle of the underlying directory) - #164488 (Don't try to skip anything in `Skip::advance_by(0)`) - #164578 (Don't ignore unknown LLVM diagnostics) - #164611 (Improve bit permutation codegen) - #164612 (std: Combine `is_powerpc64_feature_detected` into `is_powerpc_feature_detected`) - #162668 (document that `!` does bitwise and logical negation) - #164264 (lint: suggest `fXX::is_nan` for unsuffixed NaN comparisons) - #164509 (layout invariant: turn delayed bug back into proper assertion) - #164594 (rustdoc: Correctly handle inner `deprecated` attribute on modules) - #164629 (arch::breakpoint: avoid confusing 'equivalent' terminology)
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
…uwer Rollup of 13 pull requests Successful merges: - #163664 (Add new `RUSTC_BOOTSTRAP=-allow-unstable-compiler-flags` mode for testing stable compiler behavior in UI tests) - #163104 ([debuginfo] Emit `usize` and `isize` as typedefs) - #163338 (MIR move elimination [4/6]: MoveElimination) - #163701 (add ReadDir::dir to get the directory handle of the underlying directory) - #164488 (Don't try to skip anything in `Skip::advance_by(0)`) - #164578 (Don't ignore unknown LLVM diagnostics) - #164611 (Improve bit permutation codegen) - #164612 (std: Combine `is_powerpc64_feature_detected` into `is_powerpc_feature_detected`) - #162668 (document that `!` does bitwise and logical negation) - #164264 (lint: suggest `fXX::is_nan` for unsuffixed NaN comparisons) - #164509 (layout invariant: turn delayed bug back into proper assertion) - #164594 (rustdoc: Correctly handle inner `deprecated` attribute on modules) - #164629 (arch::breakpoint: avoid confusing 'equivalent' terminology)
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Oct 20, 2026
Improve bit permutation codegen This PR allows AArch64 use `usra` to improves bit permutation codegen for `extract_bits`. For `extract_bits`, `(x ^ q) ^ (q >> n)` is equivalent to `(x & !masks[stage]) + (q >> n)`, since `q >> n` and `x ^ q` have no overlapping set bits. - `extract_bits` benchmarks Type | Mask | AArch64 XOR | AArch64 Add | Change -- | -- | -- | -- | -- u8 | constant | 102.64 | 49.74 | -51.54% u8 | invariant | 108.00 | 82.32 | -23.78% u8 | variable | 408.10 | 378.12 | -7.35% u16 | constant | 150.31 | 90.10 | -40.06% u16 | invariant | 176.41 | 126.84 | -28.10% u16 | variable | 692.12 | 619.49 | -10.49% u32 | constant | 201.93 | 131.06 | -35.10% u32 | invariant | 228.70 | 167.32 | -26.84% u32 | variable | 1022.22 | 1001.70 | -2.01% u64 | constant | 259.48 | 187.71 | -27.66% u64 | invariant | 288.77 | 211.51 | -26.75% u64 | variable | 1463.05 | 1413.12 | -3.41% u128 | constant | 331.50 | 331.50 | 0.00% u128 | invariant | 411.30 | 411.29 | -0.00% u128 | variable | 1489.14 | 1489.19 | +0.00%
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
…uwer Rollup of 15 pull requests Successful merges: - #163664 (Add new `RUSTC_BOOTSTRAP=-allow-unstable-compiler-flags` mode for testing stable compiler behavior in UI tests) - #163104 ([debuginfo] Emit `usize` and `isize` as typedefs) - #163338 (MIR move elimination [4/6]: MoveElimination) - #163701 (add ReadDir::dir to get the directory handle of the underlying directory) - #164488 (Don't try to skip anything in `Skip::advance_by(0)`) - #164611 (Improve bit permutation codegen) - #164612 (std: Combine `is_powerpc64_feature_detected` into `is_powerpc_feature_detected`) - #148842 (Avoid incorrect lifetime suggestion involving `sym::anon`) - #162668 (document that `!` does bitwise and logical negation) - #164264 (lint: suggest `fXX::is_nan` for unsuffixed NaN comparisons) - #164509 (layout invariant: turn delayed bug back into proper assertion) - #164540 (Minor optimizations around macro parsing) - #164594 (rustdoc: Correctly handle inner `deprecated` attribute on modules) - #164595 (Allow attributes in function trait parameters) - #164629 (arch::breakpoint: avoid confusing 'equivalent' terminology)
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Oct 20, 2026
Improve bit permutation codegen This PR allows AArch64 use `usra` to improves bit permutation codegen for `extract_bits`. For `extract_bits`, `(x ^ q) ^ (q >> n)` is equivalent to `(x & !masks[stage]) + (q >> n)`, since `q >> n` and `x ^ q` have no overlapping set bits. - `extract_bits` benchmarks Type | Mask | AArch64 XOR | AArch64 Add | Change -- | -- | -- | -- | -- u8 | constant | 102.64 | 49.74 | -51.54% u8 | invariant | 108.00 | 82.32 | -23.78% u8 | variable | 408.10 | 378.12 | -7.35% u16 | constant | 150.31 | 90.10 | -40.06% u16 | invariant | 176.41 | 126.84 | -28.10% u16 | variable | 692.12 | 619.49 | -10.49% u32 | constant | 201.93 | 131.06 | -35.10% u32 | invariant | 228.70 | 167.32 | -26.84% u32 | variable | 1022.22 | 1001.70 | -2.01% u64 | constant | 259.48 | 187.71 | -27.66% u64 | invariant | 288.77 | 211.51 | -26.75% u64 | variable | 1463.05 | 1413.12 | -3.41% u128 | constant | 331.50 | 331.50 | 0.00% u128 | invariant | 411.30 | 411.29 | -0.00% u128 | variable | 1489.14 | 1489.19 | +0.00%
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
…uwer Rollup of 14 pull requests Successful merges: - #163664 (Add new `RUSTC_BOOTSTRAP=-allow-unstable-compiler-flags` mode for testing stable compiler behavior in UI tests) - #163104 ([debuginfo] Emit `usize` and `isize` as typedefs) - #163701 (add ReadDir::dir to get the directory handle of the underlying directory) - #164488 (Don't try to skip anything in `Skip::advance_by(0)`) - #164611 (Improve bit permutation codegen) - #164612 (std: Combine `is_powerpc64_feature_detected` into `is_powerpc_feature_detected`) - #148842 (Avoid incorrect lifetime suggestion involving `sym::anon`) - #162668 (document that `!` does bitwise and logical negation) - #164264 (lint: suggest `fXX::is_nan` for unsuffixed NaN comparisons) - #164509 (layout invariant: turn delayed bug back into proper assertion) - #164540 (Minor optimizations around macro parsing) - #164594 (rustdoc: Correctly handle inner `deprecated` attribute on modules) - #164595 (Allow attributes in function trait parameters) - #164629 (arch::breakpoint: avoid confusing 'equivalent' terminology)
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
…uwer Rollup of 14 pull requests Successful merges: - #163664 (Add new `RUSTC_BOOTSTRAP=-allow-unstable-compiler-flags` mode for testing stable compiler behavior in UI tests) - #163104 ([debuginfo] Emit `usize` and `isize` as typedefs) - #163701 (add ReadDir::dir to get the directory handle of the underlying directory) - #164488 (Don't try to skip anything in `Skip::advance_by(0)`) - #164611 (Improve bit permutation codegen) - #164612 (std: Combine `is_powerpc64_feature_detected` into `is_powerpc_feature_detected`) - #148842 (Avoid incorrect lifetime suggestion involving `sym::anon`) - #162668 (document that `!` does bitwise and logical negation) - #164264 (lint: suggest `fXX::is_nan` for unsuffixed NaN comparisons) - #164509 (layout invariant: turn delayed bug back into proper assertion) - #164540 (Minor optimizations around macro parsing) - #164594 (rustdoc: Correctly handle inner `deprecated` attribute on modules) - #164595 (Allow attributes in function trait parameters) - #164629 (arch::breakpoint: avoid confusing 'equivalent' terminology)
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Oct 20, 2026
Improve bit permutation codegen This PR allows AArch64 use `usra` to improves bit permutation codegen for `extract_bits`. For `extract_bits`, `(x ^ q) ^ (q >> n)` is equivalent to `(x & !masks[stage]) + (q >> n)`, since `q >> n` and `x ^ q` have no overlapping set bits. - `extract_bits` benchmarks Type | Mask | AArch64 XOR | AArch64 Add | Change -- | -- | -- | -- | -- u8 | constant | 102.64 | 49.74 | -51.54% u8 | invariant | 108.00 | 82.32 | -23.78% u8 | variable | 408.10 | 378.12 | -7.35% u16 | constant | 150.31 | 90.10 | -40.06% u16 | invariant | 176.41 | 126.84 | -28.10% u16 | variable | 692.12 | 619.49 | -10.49% u32 | constant | 201.93 | 131.06 | -35.10% u32 | invariant | 228.70 | 167.32 | -26.84% u32 | variable | 1022.22 | 1001.70 | -2.01% u64 | constant | 259.48 | 187.71 | -27.66% u64 | invariant | 288.77 | 211.51 | -26.75% u64 | variable | 1463.05 | 1413.12 | -3.41% u128 | constant | 331.50 | 331.50 | 0.00% u128 | invariant | 411.30 | 411.29 | -0.00% u128 | variable | 1489.14 | 1489.19 | +0.00%
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
…uwer Rollup of 19 pull requests Successful merges: - #163664 (Add new `RUSTC_BOOTSTRAP=-allow-unstable-compiler-flags` mode for testing stable compiler behavior in UI tests) - #163668 (Remap syntax contexts and expansion ids for det. metadata encoding) - #160404 (fd-views: AsRef<File>&Co. for BorrowedFd) - #163104 ([debuginfo] Emit `usize` and `isize` as typedefs) - #163317 (Stop useless caching of post-LTO artifact caching for fat LTO) - #163701 (add ReadDir::dir to get the directory handle of the underlying directory) - #164488 (Don't try to skip anything in `Skip::advance_by(0)`) - #164507 (Encode HashMap and HashSet in deterministic order when an encoder requires determinism) - #164611 (Improve bit permutation codegen) - #164612 (std: Combine `is_powerpc64_feature_detected` into `is_powerpc_feature_detected`) - #148842 (Avoid incorrect lifetime suggestion involving `sym::anon`) - #162668 (document that `!` does bitwise and logical negation) - #164264 (lint: suggest `fXX::is_nan` for unsuffixed NaN comparisons) - #164509 (layout invariant: turn delayed bug back into proper assertion) - #164540 (Minor optimizations around macro parsing) - #164594 (rustdoc: Correctly handle inner `deprecated` attribute on modules) - #164595 (Allow attributes in function trait parameters) - #164641 (Stabilize `slice_split_once`) - #164646 (Adjust rustfmt subtree sync docs to not use `--allow-noop` for now)
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 21, 2026
Rollup of 20 pull requests Successful merges: - #163664 (Add new `RUSTC_BOOTSTRAP=-allow-unstable-compiler-flags` mode for testing stable compiler behavior in UI tests) - #163668 (Remap syntax contexts and expansion ids for det. metadata encoding) - #163104 ([debuginfo] Emit `usize` and `isize` as typedefs) - #163317 (Stop useless caching of post-LTO artifact caching for fat LTO) - #163701 (add ReadDir::dir to get the directory handle of the underlying directory) - #164488 (Don't try to skip anything in `Skip::advance_by(0)`) - #164507 (Encode HashMap and HashSet in deterministic order when an encoder requires determinism) - #164611 (Improve bit permutation codegen) - #164612 (std: Combine `is_powerpc64_feature_detected` into `is_powerpc_feature_detected`) - #148842 (Avoid incorrect lifetime suggestion involving `sym::anon`) - #162668 (document that `!` does bitwise and logical negation) - #164264 (lint: suggest `fXX::is_nan` for unsuffixed NaN comparisons) - #164509 (layout invariant: turn delayed bug back into proper assertion) - #164540 (Minor optimizations around macro parsing) - #164594 (rustdoc: Correctly handle inner `deprecated` attribute on modules) - #164595 (Allow attributes in function trait parameters) - #164616 (Add test for VecDeque with a custom allocator) - #164629 (arch::breakpoint: avoid confusing 'equivalent' terminology) - #164641 (Stabilize `slice_split_once`) - #164646 (Adjust rustfmt subtree sync docs to not use `--allow-noop` for now)
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 21, 2026
Rollup merge of #164611 - ywxt:int_bits, r=Amanieu Improve bit permutation codegen This PR allows AArch64 use `usra` to improves bit permutation codegen for `extract_bits`. For `extract_bits`, `(x ^ q) ^ (q >> n)` is equivalent to `(x & !masks[stage]) + (q >> n)`, since `q >> n` and `x ^ q` have no overlapping set bits. - `extract_bits` benchmarks Type | Mask | AArch64 XOR | AArch64 Add | Change -- | -- | -- | -- | -- u8 | constant | 102.64 | 49.74 | -51.54% u8 | invariant | 108.00 | 82.32 | -23.78% u8 | variable | 408.10 | 378.12 | -7.35% u16 | constant | 150.31 | 90.10 | -40.06% u16 | invariant | 176.41 | 126.84 | -28.10% u16 | variable | 692.12 | 619.49 | -10.49% u32 | constant | 201.93 | 131.06 | -35.10% u32 | invariant | 228.70 | 167.32 | -26.84% u32 | variable | 1022.22 | 1001.70 | -2.01% u64 | constant | 259.48 | 187.71 | -27.66% u64 | invariant | 288.77 | 211.51 | -26.75% u64 | variable | 1463.05 | 1413.12 | -3.41% u128 | constant | 331.50 | 331.50 | 0.00% u128 | invariant | 411.30 | 411.29 | -0.00% u128 | variable | 1489.14 | 1489.19 | +0.00%
github-actions Bot
pushed a commit
to rust-lang/stdarch
that referenced
this pull request
Oct 22, 2026
Rollup of 20 pull requests Successful merges: - rust-lang/rust#163664 (Add new `RUSTC_BOOTSTRAP=-allow-unstable-compiler-flags` mode for testing stable compiler behavior in UI tests) - rust-lang/rust#163668 (Remap syntax contexts and expansion ids for det. metadata encoding) - rust-lang/rust#163104 ([debuginfo] Emit `usize` and `isize` as typedefs) - rust-lang/rust#163317 (Stop useless caching of post-LTO artifact caching for fat LTO) - rust-lang/rust#163701 (add ReadDir::dir to get the directory handle of the underlying directory) - rust-lang/rust#164488 (Don't try to skip anything in `Skip::advance_by(0)`) - rust-lang/rust#164507 (Encode HashMap and HashSet in deterministic order when an encoder requires determinism) - rust-lang/rust#164611 (Improve bit permutation codegen) - rust-lang/rust#164612 (std: Combine `is_powerpc64_feature_detected` into `is_powerpc_feature_detected`) - rust-lang/rust#148842 (Avoid incorrect lifetime suggestion involving `sym::anon`) - rust-lang/rust#162668 (document that `!` does bitwise and logical negation) - rust-lang/rust#164264 (lint: suggest `fXX::is_nan` for unsuffixed NaN comparisons) - rust-lang/rust#164509 (layout invariant: turn delayed bug back into proper assertion) - rust-lang/rust#164540 (Minor optimizations around macro parsing) - rust-lang/rust#164594 (rustdoc: Correctly handle inner `deprecated` attribute on modules) - rust-lang/rust#164595 (Allow attributes in function trait parameters) - rust-lang/rust#164616 (Add test for VecDeque with a custom allocator) - rust-lang/rust#164629 (arch::breakpoint: avoid confusing 'equivalent' terminology) - rust-lang/rust#164641 (Stabilize `slice_split_once`) - rust-lang/rust#164646 (Adjust rustfmt subtree sync docs to not use `--allow-noop` for now)
jieyouxu
pushed a commit
to jieyouxu/rustfmt
that referenced
this pull request
Oct 22, 2026
Rollup of 20 pull requests Successful merges: - rust-lang/rust#163664 (Add new `RUSTC_BOOTSTRAP=-allow-unstable-compiler-flags` mode for testing stable compiler behavior in UI tests) - rust-lang/rust#163668 (Remap syntax contexts and expansion ids for det. metadata encoding) - rust-lang/rust#163104 ([debuginfo] Emit `usize` and `isize` as typedefs) - rust-lang/rust#163317 (Stop useless caching of post-LTO artifact caching for fat LTO) - rust-lang/rust#163701 (add ReadDir::dir to get the directory handle of the underlying directory) - rust-lang/rust#164488 (Don't try to skip anything in `Skip::advance_by(0)`) - rust-lang/rust#164507 (Encode HashMap and HashSet in deterministic order when an encoder requires determinism) - rust-lang/rust#164611 (Improve bit permutation codegen) - rust-lang/rust#164612 (std: Combine `is_powerpc64_feature_detected` into `is_powerpc_feature_detected`) - rust-lang/rust#148842 (Avoid incorrect lifetime suggestion involving `sym::anon`) - rust-lang/rust#162668 (document that `!` does bitwise and logical negation) - rust-lang/rust#164264 (lint: suggest `fXX::is_nan` for unsuffixed NaN comparisons) - rust-lang/rust#164509 (layout invariant: turn delayed bug back into proper assertion) - rust-lang/rust#164540 (Minor optimizations around macro parsing) - rust-lang/rust#164594 (rustdoc: Correctly handle inner `deprecated` attribute on modules) - rust-lang/rust#164595 (Allow attributes in function trait parameters) - rust-lang/rust#164616 (Add test for VecDeque with a custom allocator) - rust-lang/rust#164629 (arch::breakpoint: avoid confusing 'equivalent' terminology) - rust-lang/rust#164641 (Stabilize `slice_split_once`) - rust-lang/rust#164646 (Adjust rustfmt subtree sync docs to not use `--allow-noop` for now)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR allows AArch64 use
usrato improves bit permutation codegen forextract_bits.For
extract_bits,(x ^ q) ^ (q >> n)is equivalent to(x & !masks[stage]) + (q >> n), sinceq >> nandx ^ qhave no overlapping set bits.extract_bitsbenchmarks