Commit a777754
authored
Rollup merge of rust-lang#56855 - nikic:remove-cttz-hack, r=nagisa
Remove u8 cttz hack
This issue has since been fixed in LLVM: llvm-mirror/llvm@1886c8e
Furthermore this code doesn't actually work, because the 8 literal does not match the $BITS provided from the macro invocation, so effectively this was just dead code. Ref rust-lang#43024.
What LLVM does is still not ideal for CPUs that only have bsf but not tzcnt, will create a patch for that later.
r? @nagisa1 file changed
+1
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2150 | 2150 | | |
2151 | 2151 | | |
2152 | 2152 | | |
2153 | | - | |
2154 | | - | |
2155 | | - | |
2156 | | - | |
2157 | | - | |
2158 | | - | |
2159 | | - | |
2160 | | - | |
2161 | | - | |
2162 | | - | |
2163 | | - | |
2164 | | - | |
2165 | | - | |
2166 | 2153 | | |
2167 | 2154 | | |
2168 | 2155 | | |
| |||
2306 | 2293 | | |
2307 | 2294 | | |
2308 | 2295 | | |
2309 | | - | |
| 2296 | + | |
2310 | 2297 | | |
2311 | 2298 | | |
2312 | 2299 | | |
| |||
0 commit comments