• David Chase's avatar
    cmd/compile: added some intrinsics to SSA back end · 8eec2bbf
    David Chase authored
    One intrinsic was needed to help get the very best
    performance out of a future GC; as long as that one was
    being added, I also added Bswap since that is sometimes
    a handy thing to have.  I had intended to fill out the
    bit-scan intrinsic family, but the mismatch between the
    "scan forward" instruction and "count leading zeroes"
    was large enough to cause me to leave it out -- it poses
    a dilemma that I'd rather dodge right now.
    
    These intrinsics are not exposed for general use.
    That's a separate issue requiring an API proposal change
    ( https://github.com/golang/proposal )
    
    All intrinsics are tested, both that they are substituted
    on the appropriate architecture, and that they produce the
    expected result.
    
    Change-Id: I5848037cfd97de4f75bdc33bdd89bba00af4a8ee
    Reviewed-on: https://go-review.googlesource.com/20564Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    Run-TryBot: David Chase <drchase@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    8eec2bbf
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...