Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
47b64005
Commit
47b64005
authored
Jul 21, 2010
by
Kai Backman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arm: fix build by disabling list copying optimization for 5g.
R=rsc CC=golang-dev
https://golang.org/cl/1697053
parent
61fb9ccc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/cmd/gc/range.c
src/cmd/gc/range.c
+3
-1
test/golden-arm.out
test/golden-arm.out
+2
-2
No files found.
src/cmd/gc/range.c
View file @
47b64005
...
...
@@ -115,7 +115,9 @@ walkrange(Node *n)
v2
=
n
->
list
->
next
->
n
;
hv2
=
N
;
if
(
v2
==
N
&&
t
->
etype
==
TARRAY
)
{
// TODO(kaib): re-enable this optimization on arm once we are on par with 6g/8g
// see http://code.google.com/p/go/issues/detail?id=943
if
(
v2
==
N
&&
t
->
etype
==
TARRAY
&&
thechar
!=
'5'
)
{
// will have just one reference to argument.
// no need to make a potentially expensive copy.
ha
=
a
;
...
...
test/golden-arm.out
View file @
47b64005
...
...
@@ -52,9 +52,9 @@ FAIL
Hello World!
=========== ken/cplx0.go
(+1.066132e-308+1.31330
1
e-308i)
(+1.066132e-308+1.31330
3
e-308i)
(+1.066132e-308+1.066132e-308i)
(+1.066132e-308+1.31330
1
e-308i)
(+1.066132e-308+1.31330
3
e-308i)
(+1.066132e-308+1.066132e-308i)
=========== ken/cplx3.go
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment