Permalink
Browse files

Improve core.bitop.bsr(uint) and bsf(uint) implementations. (#2907)

This improves x86 codegen from
```
mov eax, edi
bsr rax, rax
```
to
```
bsr eax, edi
```
  • Loading branch information...
JohanEngelen authored and kinke committed Nov 11, 2018
1 parent 94cb9e4 commit 0d02aa5fd50496efce5ae0ee48adf5a6b3a62533
Showing with 1 addition and 1 deletion.
  1. +1 −1 runtime/druntime
Submodule druntime updated 1 files
+2 −2 src/core/bitop.d

0 comments on commit 0d02aa5

Please sign in to comment.