diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-03-07 14:31:03 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-03-07 14:31:03 +0000 |
commit | 2dab5d909f20be950c35ab4767ba1e0b64cb6bbc (patch) | |
tree | a2f3871cade9720ac021f8cdb38d3be3270e83be /gcc/cp/lambda.c | |
parent | 6cde8c545b8a300409863c70526189d3f7f659df (diff) | |
download | gcc-2dab5d909f20be950c35ab4767ba1e0b64cb6bbc.zip gcc-2dab5d909f20be950c35ab4767ba1e0b64cb6bbc.tar.gz gcc-2dab5d909f20be950c35ab4767ba1e0b64cb6bbc.tar.bz2 |
runtime: use a fence instruction before rdtsc
This implements the same choices made in the gc runtime, except that
for 32-bit x86 we only use the fence instruction if the processor
supports SSE2.
The code here is hacked up for speed; the gc runtime uses straight
assembler.
Reviewed-on: https://go-review.googlesource.com/97715
From-SVN: r258336
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions