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

x86: fix packing in arrayset evaluator #7099

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

BradleyWood
Copy link
Member

@BradleyWood BradleyWood commented Aug 28, 2023

This commit fixes an issue in the arrayset
evaluator when packing negative integers
into the high bytes of a GPR. The packing
instruction sequence needs to zero-extend
the value being copied. Otherwise, every
other element in the packed result can
be incorrect.

Issue #6944

This commit fixes an issue in the arrayset
evaluator when packing negative integers
into the high bytes of a GPR. The packing
instruction sequence needs to zero-extend
the value being copied. Otherwise, every
other element in the packed result can
be incorrect.

Signed-off-by: BradleyWood <[email protected]>
@BradleyWood
Copy link
Member Author

jenkins build all

@BradleyWood
Copy link
Member Author

@hzongaro Would you mind reviewing?

@hzongaro hzongaro self-requested a review August 29, 2023 15:24
Copy link
Member

@hzongaro hzongaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks.

@hzongaro
Copy link
Member

hzongaro commented Aug 29, 2023

Actually, I should have double-checked the commit message. May I ask you to reword the commit title so that it's a sentence, without "x86" as a prefix, as described in the commit guidelines? Maybe something like

Fix packing in arrayset x86 evaluator

Update: It seems that there is a lot of history of platform-specific portions of code generation using the platform as a prefix in commit messages, in spite of the commit guidelines. I'll withdraw my request to make a change.

@hzongaro hzongaro merged commit 2c797b1 into eclipse:master Aug 29, 2023
18 checks passed
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.

2 participants