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

Issue 6826079: code review 6826079: cmd/6c, cmd/8c: use signed char explicitly in mul.c (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by remyoudompheng
Modified:
12 years, 9 months ago
Reviewers:
CC:
golang-dev, dave_cheney.net, minux1, rsc
Visibility:
Public.

Description

cmd/6c, cmd/8c: use signed char explicitly in mul.c On ARM, char is unsigned, and the code generation for multiplication gets totally broken. Fixes issue 4354.

Patch Set 1 #

Patch Set 2 : diff -r f4796b726694 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r f4796b726694 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r f4796b726694 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 34142c2654fd https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M src/cmd/6c/mul.c View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/cmd/8c/mul.c View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 9
remyoudompheng
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 9 months ago (2012-11-09 04:32:02 UTC) #1
remyoudompheng
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 9 months ago (2012-11-09 04:33:47 UTC) #2
dave_cheney.net
On 2012/11/09 04:33:47, remyoudompheng wrote: > Hello mailto:golang-dev@googlegroups.com (cc: mailto:golang-dev@googlegroups.com), > > Please take another ...
12 years, 9 months ago (2012-11-09 04:56:16 UTC) #3
dave_cheney.net
LGTM, but please wait for rsc and/or minux.
12 years, 9 months ago (2012-11-09 05:49:42 UTC) #4
r
LGTM
12 years, 9 months ago (2012-11-09 06:13:27 UTC) #5
r
LGTM but you should probably wait for rsc
12 years, 9 months ago (2012-11-09 06:13:40 UTC) #6
minux1
LGTM. I didn't test on ARM, instead i added -funsigned-char to cflags to cmd/dist/build.c, and ...
12 years, 9 months ago (2012-11-09 06:13:52 UTC) #7
rsc
LGTM
12 years, 9 months ago (2012-11-09 15:15:06 UTC) #8
remyoudompheng
12 years, 9 months ago (2012-11-09 20:06:53 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=e9a8a01f5d33 ***

cmd/6c, cmd/8c: use signed char explicitly in mul.c

On ARM, char is unsigned, and the code generation for
multiplication gets totally broken.

Fixes issue 4354.

R=golang-dev, dave, minux.ma, rsc
CC=golang-dev
http://codereview.appspot.com/6826079
Sign in to reply to this message.

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