diff options
| author | David Chase <drchase@google.com> | 2016-03-11 00:10:52 -0500 |
|---|---|---|
| committer | David Chase <drchase@google.com> | 2016-03-28 16:29:59 +0000 |
| commit | 8eec2bbfbc4f209950f677906c6ce67e01d32930 (patch) | |
| tree | d7262de9875b76be2e91785823375865b230324c /src/runtime/sys_linux_386.s | |
| parent | 2e90192b0e774f44a2d918509e0bd32823ce5c2c (diff) | |
| download | go-8eec2bbfbc4f209950f677906c6ce67e01d32930.tar.xz | |
cmd/compile: added some intrinsics to SSA back end
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/20564
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_386.s')
0 files changed, 0 insertions, 0 deletions
