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

Issue 68730043: code review 68730043: all: nacl import round 2 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by rsc
Modified:
10 years, 2 months ago
Reviewers:
aram, dave, iant, bradfitz
CC:
bradfitz, golang-codereviews
Visibility:
Public.

Description

all: nacl import round 2 These previously reviewed CLs are present in this CL. --- changeset: 18445:436bb084caed user: Russ Cox <rsc@golang.org> date: Mon Nov 11 09:50:34 2013 -0500 description: runtime: assembly and system calls for Native Client x86-64 See golang.org/s/go13nacl for design overview. This CL is publicly visible but not CC'ed to golang-dev, to avoid distracting from the preparation of the Go 1.2 release. This CL and the others will be checked into my rsc-go13nacl clone repo for now, and I will send CLs against the main repo early in the Go 1.3 development. R≡adg https://codereview.appspot.com/15760044 --- changeset: 18448:90bd871b5994 user: Russ Cox <rsc@golang.org> date: Mon Nov 11 09:51:36 2013 -0500 description: runtime: amd64p32 and Native Client assembly bootstrap See golang.org/s/go13nacl for design overview. This CL is publicly visible but not CC'ed to golang-dev, to avoid distracting from the preparation of the Go 1.2 release. This CL and the others will be checked into my rsc-go13nacl clone repo for now, and I will send CLs against the main repo early in the Go 1.3 development. R≡khr https://codereview.appspot.com/15820043 --- changeset: 18449:b011c3dc687e user: Russ Cox <rsc@golang.org> date: Mon Nov 11 09:51:58 2013 -0500 description: math: amd64p32 assembly routines These routines only manipulate float64 values, so the amd64 and amd64p32 can share assembly. The large number of files is symptomatic of a problem with package path: it is a Go package structured like a C library. But that will need to wait for another day. See golang.org/s/go13nacl for design overview. This CL is publicly visible but not CC'ed to golang-dev, to avoid distracting from the preparation of the Go 1.2 release. This CL and the others will be checked into my rsc-go13nacl clone repo for now, and I will send CLs against the main repo early in the Go 1.3 development. R≡bradfitz https://codereview.appspot.com/15870043 --- changeset: 18450:43234f082eec user: Russ Cox <rsc@golang.org> date: Mon Nov 11 10:03:19 2013 -0500 description: syscall: networking for Native Client See golang.org/s/go13nacl for design overview. This CL is publicly visible but not CC'ed to golang-dev, to avoid distracting from the preparation of the Go 1.2 release. This CL and the others will be checked into my rsc-go13nacl clone repo for now, and I will send CLs against the main repo early in the Go 1.3 development. R≡rsc https://codereview.appspot.com/15780043 --- changeset: 18451:9c8d1d890aaa user: Russ Cox <rsc@golang.org> date: Mon Nov 11 10:03:34 2013 -0500 description: runtime: assembly and system calls for Native Client x86-32 See golang.org/s/go13nacl for design overview. This CL is publicly visible but not CC'ed to golang-dev, to avoid distracting from the preparation of the Go 1.2 release. This CL and the others will be checked into my rsc-go13nacl clone repo for now, and I will send CLs against the main repo early in the Go 1.3 development. R≡rsc https://codereview.appspot.com/15800043 --- changeset: 18452:f90b1dd9228f user: Russ Cox <rsc@golang.org> date: Mon Nov 11 11:04:09 2013 -0500 description: runtime: fix frame size for linux/amd64 runtime.raise R≡rsc https://codereview.appspot.com/24480043 --- changeset: 18445:436bb084caed user: Russ Cox <rsc@golang.org> date: Mon Nov 11 09:50:34 2013 -0500 description: runtime: assembly and system calls for Native Client x86-64 See golang.org/s/go13nacl for design overview. This CL is publicly visible but not CC'ed to golang-dev, to avoid distracting from the preparation of the Go 1.2 release. This CL and the others will be checked into my rsc-go13nacl clone repo for now, and I will send CLs against the main repo early in the Go 1.3 development. R≡adg https://codereview.appspot.com/15760044 --- changeset: 18455:53b06799a938 user: Russ Cox <rsc@golang.org> date: Mon Nov 11 23:29:52 2013 -0500 description: cmd/gc: add -nolocalimports flag R≡dsymonds https://codereview.appspot.com/24990043 --- changeset: 18456:24f64e1eaa8a user: Russ Cox <rsc@golang.org> date: Tue Nov 12 22:06:29 2013 -0500 description: runtime: add comments for playback write R≡adg https://codereview.appspot.com/25190043 --- changeset: 18457:d1f615bbb6e4 user: Russ Cox <rsc@golang.org> date: Wed Nov 13 17:03:52 2013 -0500 description: runtime: write only to NaCl stdout, never to NaCl stderr NaCl writes some other messages on standard error that we would like to be able to squelch. R≡adg https://codereview.appspot.com/26240044 --- changeset: 18458:1f01be1a1dc2 tag: tip user: Russ Cox <rsc@golang.org> date: Wed Nov 13 19:45:16 2013 -0500 description: runtime: remove apparent debugging dreg Setting timens to 0 turns off fake time. TBR≡adg https://codereview.appspot.com/26400043

Patch Set 1 #

Patch Set 2 : diff -r 6efc914b865e https://code.google.com/p/go/ #

Patch Set 3 : diff -r 6efc914b865e https://code.google.com/p/go/ #

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

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+3010 lines, -31 lines) Patch
M src/cmd/gc/go.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/gc/lex.c View 1 2 2 chunks +2 lines, -1 line 2 comments Download
A src/pkg/math/abs_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/asin_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/atan2_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/atan_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/big/arith_amd64p32.s View 1 1 chunk +41 lines, -0 lines 0 comments Download
A src/pkg/math/dim_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/exp2_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/exp_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/expm1_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/floor_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/frexp_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/hypot_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/ldexp_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/log10_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/log1p_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/log_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/mod_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/modf_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/remainder_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/sin_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/sincos_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/sqrt_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/math/tan_amd64p32.s View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/pkg/runtime/asm_386.s View 1 2 chunks +3 lines, -2 lines 3 comments Download
A src/pkg/runtime/asm_amd64p32.s View 1 1 chunk +1026 lines, -0 lines 1 comment Download
R src/pkg/runtime/atomic_amd64.c View 1 1 chunk +0 lines, -27 lines 0 comments Download
A src/pkg/runtime/atomic_amd64x.c View 1 1 chunk +29 lines, -0 lines 1 comment Download
A src/pkg/runtime/cgo/asm_nacl_amd64p32.s View 1 1 chunk +13 lines, -0 lines 2 comments Download
A src/pkg/runtime/defs_nacl_386.h View 1 1 chunk +63 lines, -0 lines 0 comments Download
A src/pkg/runtime/defs_nacl_amd64p32.h View 1 1 chunk +90 lines, -0 lines 0 comments Download
A src/pkg/runtime/memmove_nacl_amd64p32.s View 1 1 chunk +46 lines, -0 lines 0 comments Download
A src/pkg/runtime/rt0_nacl_386.s View 1 1 chunk +22 lines, -0 lines 0 comments Download
A src/pkg/runtime/rt0_nacl_amd64p32.s View 1 1 chunk +30 lines, -0 lines 0 comments Download
M src/pkg/runtime/sys_linux_amd64.s View 1 1 chunk +1 line, -1 line 2 comments Download
A src/pkg/runtime/sys_nacl_386.s View 1 1 chunk +232 lines, -0 lines 0 comments Download
A src/pkg/runtime/sys_nacl_amd64p32.s View 1 2 1 chunk +413 lines, -0 lines 0 comments Download
A src/pkg/syscall/net_nacl.go View 1 1 chunk +888 lines, -0 lines 0 comments Download

Messages

Total messages: 12
rsc
Hello dfc (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
10 years, 2 months ago (2014-02-25 21:50:17 UTC) #1
bradfitz
LGTM On Tue, Feb 25, 2014 at 1:50 PM, <rsc@golang.org> wrote: > Reviewers: dfc, > ...
10 years, 2 months ago (2014-02-25 21:53:55 UTC) #2
bradfitz
Also, do you want me to modify the Linux builder to run this builder as ...
10 years, 2 months ago (2014-02-25 21:54:56 UTC) #3
rsc
On Tue, Feb 25, 2014 at 4:54 PM, Brad Fitzpatrick <bradfitz@golang.org>wrote: > Also, do you ...
10 years, 2 months ago (2014-02-25 21:59:32 UTC) #4
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=b20943f98e14 *** all: nacl import round 2 These previously reviewed CLs are ...
10 years, 2 months ago (2014-02-25 22:00:12 UTC) #5
iant
https://codereview.appspot.com/68730043/diff/60001/src/cmd/gc/lex.c File src/cmd/gc/lex.c (right): https://codereview.appspot.com/68730043/diff/60001/src/cmd/gc/lex.c#newcode304 src/cmd/gc/lex.c:304: flagcount("nolocalimports", "reject local (relative) imports", &nolocalimports); New flag should ...
10 years, 2 months ago (2014-02-25 22:16:52 UTC) #6
aram
s/2013/2014/ Thanks for working on this. https://codereview.appspot.com/68730043/diff/60001/src/pkg/runtime/asm_amd64p32.s File src/pkg/runtime/asm_amd64p32.s (right): https://codereview.appspot.com/68730043/diff/60001/src/pkg/runtime/asm_amd64p32.s#newcode1 src/pkg/runtime/asm_amd64p32.s:1: // Copyright 2009 ...
10 years, 2 months ago (2014-02-25 23:40:15 UTC) #7
rsc
https://codereview.appspot.com/68730043/diff/60001/src/cmd/gc/lex.c File src/cmd/gc/lex.c (right): https://codereview.appspot.com/68730043/diff/60001/src/cmd/gc/lex.c#newcode304 src/cmd/gc/lex.c:304: flagcount("nolocalimports", "reject local (relative) imports", &nolocalimports); On 2014/02/25 22:16:53, ...
10 years, 2 months ago (2014-02-26 15:24:39 UTC) #8
bradfitz
Russ, The pepper29 directory is 0700. You want to put those in an CL? Maybe ...
10 years, 2 months ago (2014-02-26 18:03:42 UTC) #9
dave_cheney.net
https://codereview.appspot.com/68730043/diff/60001/src/pkg/runtime/asm_386.s File src/pkg/runtime/asm_386.s (right): https://codereview.appspot.com/68730043/diff/60001/src/pkg/runtime/asm_386.s#newcode352 src/pkg/runtime/asm_386.s:352: CALL AX; \ Is this part of the nacl ...
10 years, 2 months ago (2014-02-27 00:54:48 UTC) #10
rsc
https://codereview.appspot.com/68730043/diff/60001/src/pkg/runtime/asm_386.s File src/pkg/runtime/asm_386.s (right): https://codereview.appspot.com/68730043/diff/60001/src/pkg/runtime/asm_386.s#newcode352 src/pkg/runtime/asm_386.s:352: CALL AX; \ On 2014/02/27 00:54:49, dfc wrote: > ...
10 years, 2 months ago (2014-02-27 04:56:17 UTC) #11
dave_cheney.net
10 years, 2 months ago (2014-02-27 07:32:18 UTC) #12
Message was sent while issue was closed.
https://codereview.appspot.com/68730043/diff/60001/src/pkg/runtime/asm_386.s
File src/pkg/runtime/asm_386.s (right):

https://codereview.appspot.com/68730043/diff/60001/src/pkg/runtime/asm_386.s#...
src/pkg/runtime/asm_386.s:352: CALL	AX;				\
> rewrite AX to be safe
> CALL AX
> 
> so you need something you can scribble on (probably not most memory
references).

Thank you for explaining. I remember reading that amd64p32 required this, it
makes sense that it 386 would have the same convention.
Sign in to reply to this message.

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