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/arm64: wrong encoding for instruction BICW #28548

Closed
benshi001 opened this issue Nov 2, 2018 · 5 comments
Closed

cmd/internal/obj/arm64: wrong encoding for instruction BICW #28548

benshi001 opened this issue Nov 2, 2018 · 5 comments
Milestone

Comments

@benshi001
Copy link
Member

"BICW $0x3ff00000, R2" is expected to encoded to

0x12025442:   "ANDW $0xc00fffff, R2"

but actual result is

0x1202d442:   "ANDW $0xcfcfcfcf, R2"
@benshi001 benshi001 added this to the Go1.12 milestone Nov 2, 2018
@benshi001
Copy link
Member Author

cc @zhangfannie

@zhangfannie
Copy link
Contributor

@benshi001 I will look into it.

@gopherbot
Copy link

Change https://golang.org/cl/147077 mentions this issue: cmd/internal/obj/arm64: fix encoding of 32-bit negated logical instructions

2 similar comments
@gopherbot
Copy link

Change https://golang.org/cl/147077 mentions this issue: cmd/internal/obj/arm64: fix encoding of 32-bit negated logical instructions

@gopherbot
Copy link

Change https://golang.org/cl/147077 mentions this issue: cmd/internal/obj/arm64: fix encoding of 32-bit negated logical instructions

@golang golang locked and limited conversation to collaborators Nov 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants