libgo patch committed: Cheaper context switch on x86_64

Thomas Schwinge thomas@codesourcery.com
Mon Jun 3 15:51:00 GMT 2019


Hi!

On Fri, 31 May 2019 10:56:43 -0700, Ian Lance Taylor <iant@golang.org> wrote:
> This libgo patch by Cherry Zhang implements cheaper goroutine context
> switches on x86_64 GNU/Linux.  [...]

> Bootstrapped and tested on x86_64-pc-linux-gnu.  Committed to mainline.

> --- libgo/runtime/go-context.S	(nonexistent)
> +++ libgo/runtime/go-context.S	(working copy)

> +	andq	$~0xfULL, %rdx

I run into:

    [...]/libgo/runtime/go-context.S: Assembler messages:
    [...]/libgo/runtime/go-context.S:60: Error: junk `ULL' after expression
    make[4]: *** [runtime/go-context.lo] Error 1

... with (admittedly somewhat old) Binutils:

    $ as --version | head -n 2
    GNU assembler (GNU Binutils for Ubuntu) 2.22.90.20120924
    Copyright 2012 Free Software Foundation, Inc.


Grüße
 Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 658 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190603/201ed0ff/attachment.sig>


More information about the Gcc-patches mailing list