Grokbase
›
Groups
›
Go
›
golang-dev
›
November 2012
FAQ
Badges
Users
Groups
[golang-dev] C_PBIT in 5a, 5l, 5c, 5g
Ziutek
Nov 7, 2012 at 11:09 pm
http://codereview.appspot.com/6822093
reply
Tweet
Search Discussions
Search
All Groups
golang-dev
Discussion Posts
Previous
Ziutek
: After this fix my test code: TEXT ·PrePost (SB), 7, $0 MOVW 8(R0), R1 MOVW.IB 8(R0), R1 MOVW.IBW 8(R0), R1 MOVW.IA 8(R0), R1 MOVW.IAW 8(R0), R1 MOVD 8(R0), F0 MOVD.IBW 8(R0), F0 MOVD.IA 8(R0), F0 RET disassembles to: Dump of assembler code for function github.com/ziutek/matrix.PrePost: => 0x0002f178 <+0>: 08 10 90 e5 ldr r1, [r0, #8] 0x0002f17c <+4>: 08 10 90 e5 ldr r1, [r0, #8] 0x0002f180 <+8>: 08 10 b0 e5 ldr r1, [r0, #8]! 0x0002f184 <+12>: 08 10 90 e4 ldr r1, [r0], #8 0x0002f188 <+16>: 08 10
Follow ups
Dave Cheney
: Hi, I've been trying to follow this thread as I am concerned with any 5x codegen bugs, but it is still not clear to me what the problem is your are fixing. I believe you are saying the 5a syntax differs from the description in the arm literature, if that is the case I am not surprised, but as of now it is the dialect we have. Do the affected instruction suffixes appear anywhere in the .s files in the stdlib? If not then I guess it is ok to fix their interpretation, but if they are in use then
Ziutek
: There is definitely a bug in MOVW.IA (increment after) and MOVW.IBW (increment before) handling. Generated code has negated offset and wrong P bit. I can't run all.bash for now because I tried this fix on slow qemu emulator. No I can test on real Cortex-A9 machine and compilation fails: pkg/go/build cmd/go ./make.bash: line 119: 12656 Segmentation fault "$GOTOOLDIR"/ go_bootstrap clean -i std I check for ARM assembler code in tree. There is no instructions with .IB suffix but there are
Dave Cheney
: What does objdump -dS say ?
Related Discussions
[golang-dev] Re: code review 6869054: net: document that File reverts connection to blocking mode. (issue 6869054)
[golang-dev] Re: code review 6869054: net: document that File reverts connection to blocking mode. (issue 6869054)
[golang-dev] Re: code review 6858079: os: include 0111 in directory file mode on windows (issue 6858079)
[golang-dev] code review 6858079: os: include 0111 in directory file mode on windows (issue 6858079)
[golang-dev] cmd/gc: refactor racewalk (issue 6775098)
[golang-dev] Re: code review 6642043: pprof: filter out runtime.settype and fix --svg mode to... (issue 6642043)
[golang-dev] code review 6642043: pprof: filter out runtime.settype and fix --svg mode to... (issue 6642043)
[golang-dev] Re: code review 6733055: cmd/5g, cmd/6g: fix out of registers with array indexing. (issue 6733055)
[golang-dev] darwin-386 broken by cmd/5g, cmd/6g: fix out of registers with array indexing.
[golang-dev] Re: code review 6733055: cmd/5g, cmd/6g: fix out of registers with array indexing. (issue 6733055)
Discussion Navigation
view
thread
|
post
posts
‹ prev
|
11 of 16
|
next ›
Discussion Overview
group
golang-dev
@
categories
go
posted
Nov 2, '12 at 8:36p
active
Nov 8, '12 at 9:03p
posts
16
users
4
website
golang.org
Preferences
font
variable
Hotkey: f
user style
avatars
Hotkey: a
4 users in discussion
Ziutek (9)
Russ Cox (4)
Dave Cheney (2)
Minux (1)
Content
Home
Groups & Organizations
People
Users
Badges
Support
Welcome
FAQ
Contact Us
Translate
site design / logo © 2022 Grokbase