• Martin Möhrmann's avatar
    cmd/compile: replace ANDL with MOV?ZX · 7ff0c826
    Martin Möhrmann authored
    According to "Intel 64 and IA-32 Architectures Optimization Reference
    Manual" Section: "3.5.1.13 Zero-Latency MOV Instructions"
    MOV?ZX instructions have zero latency on newer processors.
    
    during make.bash:
    (ANDLconst [0xFF] x) -> (MOVBQZX x)
    applies 422 times
    (ANDLconst [0xFFFF] x) -> (MOVWQZX x)
    applies 114 times
    
    Updates #15105
    
    Change-Id: I10933af599de3c26449c52f4b5cd859331028f39
    Reviewed-on: https://go-review.googlesource.com/31639
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarDavid Chase <drchase@google.com>
    Run-TryBot: David Chase <drchase@google.com>
    7ff0c826
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...