aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-03-07 14:31:03 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-03-07 14:31:03 +0000
commit2dab5d909f20be950c35ab4767ba1e0b64cb6bbc (patch)
treea2f3871cade9720ac021f8cdb38d3be3270e83be /gcc/cp/lambda.c
parent6cde8c545b8a300409863c70526189d3f7f659df (diff)
downloadgcc-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