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/asm: VFMA and VFMS incorrectly encoded on s390x #17444

Closed
mundaym opened this issue Oct 14, 2016 · 1 comment
Closed

cmd/asm: VFMA and VFMS incorrectly encoded on s390x #17444

mundaym opened this issue Oct 14, 2016 · 1 comment
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@mundaym
Copy link
Member

mundaym commented Oct 14, 2016

What version of Go are you using (go version)?

go version devel +d13fa4d Fri Oct 14 03:58:15 2016 +0000 linux/s390x

What did you do?

Assembled the following instructions and disassembled using objdump -d:

VFMADB  V16, V8, V9, V10
WFMADB  V17, V18, V19, V20
VFMSDB  V2, V25, V24, V31
WFMSDB  V31, V2, V3, V4

(These are extended mnemonics for VFMA and VFMS.)

What did you expect to see?

e7 a0 83 00 94 8f       vfmadb  %v10,%v16,%v8,%v9
e7 41 23 08 3f 8f       wfmadb  %v20,%v17,%v18,%v19
e7 f2 93 00 8b 8e       vfmsdb  %v31,%v2,%v25,%v24
e7 4f 23 08 34 8e       wfmsdb  %v4,%v31,%v2,%v3

What did you see instead?

e7 a0 80 03 94 8f       vfma    %v10,%v16,%v8,%v9,3,0
e7 41 28 03 3f 8f       vfma    %v20,%v17,%v18,%v19,3,8
e7 f2 90 03 8b 8e       vfms    %v31,%v2,%v25,%v24,3,0
e7 4f 28 03 34 8e       vfms    %v4,%v31,%v2,%v3,3,8

Will send a CL shortly. Thanks to Kang QI Zhang for finding this.

@gopherbot
Copy link

CL https://golang.org/cl/31130 mentions this issue.

@quentinmit quentinmit added the NeedsFix The path to resolution is known, but the work has not been done. label Oct 17, 2016
@quentinmit quentinmit added this to the Go1.8 milestone Oct 17, 2016
@golang golang locked and limited conversation to collaborators Oct 21, 2017
@rsc rsc unassigned mundaym Jun 23, 2022
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

3 participants