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

Issue 73730043: code review 73730043: liblink, cmd/5a: fix bad AMOVFD and AMOVDF generated co... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by josharian
Modified:
10 years, 1 month ago
Reviewers:
minux1, gobot, rsc, dave
CC:
dave_cheney.net, minux1, bradfitz, rsc, golang-codereviews
Visibility:
Public.

Description

liblink: fix bad code generated for MOVFD/MOVDF when reg > 7 The byte that r is or'd into is already 0x7, so the failure to zero r only impacts the generated machine code if the register is > 7. Fixes issue 7044.

Patch Set 1 #

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

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

Total comments: 3

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

Patch Set 5 : diff -r ec6ee3cf226b https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -1 line) Patch
M src/liblink/asm5.c View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
A test/fixedbugs/issue7044.go View 1 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 20
josharian
Hello dave@cheney.net (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 1 month ago (2014-03-10 21:12:30 UTC) #1
dave_cheney.net
Thanks for taking a look at this Josh. I'll do some testing on arm5 and ...
10 years, 1 month ago (2014-03-10 21:15:57 UTC) #2
josharian
> Thanks for taking a look at this Josh. I'll do some testing on arm5 ...
10 years, 1 month ago (2014-03-10 21:31:24 UTC) #3
dave_cheney.net
Ahh interesting. If you've already been testing on an RPi then my concerns are probably ...
10 years, 1 month ago (2014-03-10 21:48:48 UTC) #4
dave_cheney.net
This passes on armv5 # ../test real 7m44.494s user 6m45.730s sys 0m40.450s Josh has tested ...
10 years, 1 month ago (2014-03-10 23:37:34 UTC) #5
minux1
I think we can use assembly to test the assemble of MOVDF and MOVFD directly. ...
10 years, 1 month ago (2014-03-11 00:42:13 UTC) #6
minux1
https://codereview.appspot.com/73730043/diff/40001/src/liblink/asm5.c File src/liblink/asm5.c (right): https://codereview.appspot.com/73730043/diff/40001/src/liblink/asm5.c#newcode1638 src/liblink/asm5.c:1638: if(p->as == AMOVF || p->as == AMOVD || p->as ...
10 years, 1 month ago (2014-03-11 00:44:06 UTC) #7
minux1
Ah, I missed in the previous emails. The description should just be: liblink: fix bad ...
10 years, 1 month ago (2014-03-11 00:45:32 UTC) #8
dave_cheney.net
> Converting to switch will take a lot of space (because each case must be ...
10 years, 1 month ago (2014-03-11 00:51:23 UTC) #9
josharian
PTAL Dave, did arm7 turn out ok? > The description should just be: > liblink: ...
10 years, 1 month ago (2014-03-11 12:47:18 UTC) #10
dave_cheney.net
LGTM on armv5 and armv7, please wait for another reviewer. On Tue, Mar 11, 2014 ...
10 years, 1 month ago (2014-03-11 13:24:26 UTC) #11
bradfitz
R=rsc On Tue, Mar 11, 2014 at 6:24 AM, Dave Cheney <dave@cheney.net> wrote: > LGTM ...
10 years, 1 month ago (2014-03-11 17:29:27 UTC) #12
minux1
LGTM. On Tue, Mar 11, 2014 at 8:47 AM, <josharian@gmail.com> wrote: > There is no ...
10 years, 1 month ago (2014-03-11 17:41:33 UTC) #13
rsc
LGTM file an issue marked Go1.3Maybe for a test once the new objdump is in
10 years, 1 month ago (2014-03-11 17:49:21 UTC) #14
josharian
*** Submitted as https://code.google.com/p/go/source/detail?r=a910bd7561e4 *** liblink: fix bad code generated for MOVFD/MOVDF when reg > ...
10 years, 1 month ago (2014-03-11 18:04:52 UTC) #15
gobot
This CL appears to have broken the darwin-amd64-cheney builder.
10 years, 1 month ago (2014-03-11 18:07:07 UTC) #16
josharian
This is new, but unrelated. Looks like maybe just a network hiccup? http://build.golang.org/log/1d1d4b832cc20abe4d650eb2a88e8a644fb52441 --- FAIL: ...
10 years, 1 month ago (2014-03-11 18:10:49 UTC) #17
minux1
On Mar 11, 2014 2:10 PM, "Josh Bleecher Snyder" <josharian@gmail.com> wrote: > This is new, ...
10 years, 1 month ago (2014-03-11 18:12:44 UTC) #18
rsc
On Tue, Mar 11, 2014 at 2:12 PM, minux <minux.ma@gmail.com> wrote: > > On Mar ...
10 years, 1 month ago (2014-03-11 19:20:16 UTC) #19
josharian
10 years, 1 month ago (2014-03-11 22:07:29 UTC) #20
> file an issue marked Go1.3Maybe for a test once the new objdump is in

https://code.google.com/p/go/issues/detail?id=7515
Sign in to reply to this message.

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