Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(85)

Issue 100810044: runtime: yield with _mm_pause instead of __builtin_ia32... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by pcc
Modified:
11 years, 7 months ago
Reviewers:
iant
CC:
gofrontend-dev_googlegroups.com
Visibility:
Public.

Description

runtime: yield with inline asm instead of __builtin_ia32_pause The former is more portable than the latter, being supported by at least GCC and Clang.

Patch Set 1 #

Patch Set 2 : diff -r 93286dc73be0 https://code.google.com/p/gofrontend/ #

Patch Set 3 : diff -r 4d88292e0727 https://code.google.com/p/gofrontend/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M libgo/runtime/yield.c View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
pcc
11 years, 7 months ago (2014-05-27 22:02:16 UTC) #1
iant
The problem with calling _mm_pause is that the default 32-bit x86 target does not support ...
11 years, 7 months ago (2014-05-29 00:37:52 UTC) #2
pcc
On 2014/05/29 00:37:52, iant wrote: > The problem with calling _mm_pause is that the default ...
11 years, 7 months ago (2014-05-29 03:55:22 UTC) #3
pcc
On 2014/05/29 03:55:22, pcc wrote: > On 2014/05/29 00:37:52, iant wrote: > > The problem ...
11 years, 7 months ago (2014-05-29 22:27:15 UTC) #4
iant
I'm working on getting GCC to support _mm_pause while building libgo for older 32-bit processors ...
11 years, 7 months ago (2014-05-29 22:52:59 UTC) #5
iant
11 years, 7 months ago (2014-05-30 13:54:32 UTC) #6
I've committed a version of this.  You can abandon this CL (hg change -d
100810044).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b