Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/internal/obj/arm: wrong encoding for MUL #25347

Closed
benshi001 opened this issue May 11, 2018 · 1 comment
Closed

cmd/internal/obj/arm: wrong encoding for MUL #25347

benshi001 opened this issue May 11, 2018 · 1 comment
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@benshi001
Copy link
Member

benshi001 commented May 11, 2018

Both "MUL R2, R4" and "MUL R2, R4, R4" are encoded to 0xe0040492 by the assembler, which will be decoded to "MUL R4, R2, R4". Though the two operands of multiplication are commutative, this behavior still looks odd.

@benshi001 benshi001 added this to the Go1.11 milestone May 11, 2018
@benshi001 benshi001 self-assigned this May 11, 2018
@benshi001 benshi001 added the NeedsFix The path to resolution is known, but the work has not been done. label May 11, 2018
@gopherbot
Copy link

Change https://golang.org/cl/112737 mentions this issue: cmd/internal/obj/arm: fix wrong encoding of MUL

@golang golang locked and limited conversation to collaborators May 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

2 participants