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

Fix incorrect binary encoding for tabortwc #4672

Merged
merged 1 commit into from
Dec 18, 2019

Conversation

aviansie-ben
Copy link
Contributor

Previously, the prototypes for the tabortwc extended mnemonics were
incorrect and were instead generating tabortdc instructions. This could
cause undefined behaviour, since the upper word of a register containing
a 32-bit value is generally considered undefined. This has now been
fixed and these instructions should generate the correct binary
encodings.

Signed-off-by: Ben Thomas ben@benthomas.ca

Previously, the prototypes for the tabortwc extended mnemonics were
incorrect and were instead generating tabortdc instructions. This could
cause undefined behaviour, since the upper word of a register containing
a 32-bit value is generally considered undefined. This has now been
fixed and these instructions should generate the correct binary
encodings.

Signed-off-by: Ben Thomas <ben@benthomas.ca>
@0xdaryl
Copy link
Contributor

0xdaryl commented Dec 17, 2019

@gita-omr @ymanton : would one of you mind reviewing this for correctness please?

@0xdaryl 0xdaryl self-assigned this Dec 17, 2019
@gita-omr
Copy link
Contributor

Checked tabortwci (the ones we have are variations of it) in the ISA and indeed it should end with 69D. LGTM.

@0xdaryl
Copy link
Contributor

0xdaryl commented Dec 17, 2019

@genie-omr build plinux,aix

@0xdaryl 0xdaryl merged commit e6f60a1 into eclipse-omr:master Dec 18, 2019
@aviansie-ben aviansie-ben deleted the tabortwc-be-fix branch April 2, 2020 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants