diff options
| author | Keith Randall <khr@golang.org> | 2016-03-29 21:25:33 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2016-03-31 02:54:10 +0000 |
| commit | 4b209dbf0bf3e5fd4cffda1e11f11bf45ddf212d (patch) | |
| tree | a7af96647c02144a3e82b576eb72d1704bf2f6ff /src/cmd/internal | |
| parent | 1a9373bc570cf408cecdfab5d531e8041f354a54 (diff) | |
| download | go-4b209dbf0bf3e5fd4cffda1e11f11bf45ddf212d.tar.xz | |
runtime: don't use REP;MOVSB if CPUID doesn't say it is fast
Only use REP;MOVSB if:
1) The CPUID flag says it is fast, and
2) The pointers are unaligned
Otherwise, use REP;MOVSQ.
Update #14630
Change-Id: I946b28b87880c08e5eed1ce2945016466c89db66
Reviewed-on: https://go-review.googlesource.com/21300
Reviewed-by: Nigel Tao <nigeltao@golang.org>
Diffstat (limited to 'src/cmd/internal')
0 files changed, 0 insertions, 0 deletions
