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

AArch64 st2 instruction missing offset operand #1890

Closed
adamjseitz opened this issue Jul 1, 2022 · 0 comments · Fixed by #2026
Closed

AArch64 st2 instruction missing offset operand #1890

adamjseitz opened this issue Jul 1, 2022 · 0 comments · Fixed by #2026

Comments

@adamjseitz
Copy link
Contributor

cstool -d arm64 '40809f4c'
 0  40 80 9f 4c  st2    {v0.16b, v1.16b}, [x2], #32
        ID: 710 (st2)
        op_count: 3
                operands[0].type: REG = v0
                operands[0].access: READ
                        Vector Arrangement Specifier: 0x1
                operands[1].type: REG = v1
                operands[1].access: READ | WRITE
                        Vector Arrangement Specifier: 0x1
                operands[2].type: MEM
                        operands[2].mem.base: REG = x2
                operands[2].access: READ
        Write-back: True
        Registers read: v0 v1 x2
        Registers modified: v1 x2
        Groups: neon

The offset, #32, is printed as part of the instruction string, but not present in the operands array. This makes the instruction indistinguishable from the no-offset variant, st2 {v0.16b, v1.16b}, [x2].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant