s/go build/go test runtime/

On Thu, Jan 25, 2018 at 3:42 PM, Rob Pike <[email protected]> wrote:

> If you run go build with the -work flag, you can see the directory in
> which the build happens, and go_asm is written there.
>
> -rob
>
>
> On Thu, Jan 25, 2018 at 2:25 PM, Caleb Spare <[email protected]> wrote:
>
>> Quick question about the Go assembler.
>>
>> I'm trying to use the get_tls and related macros mentioned near the
>> bottom of https://golang.org/doc/asm.
>>
>> Although the line
>>
>> # include "go_asm.h"
>>
>> doesn't give an error, subsequent lines where I use the macro fail:
>>
>> get_tls(CX) // unrecognized instruction "get_tls"
>>
>> The go_asm.h header seems to be generated by the toolchain rather than
>> being a file I can take a look at. Does anyone know more about how it
>> works? Is it only available to runtime code (though that's not
>> mentioned on https://golang.org/doc/asm)?
>>
>> Thanks!
>> Caleb
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to