Skip to content

x86: Fix (b/s/i/l/v)2m opcodes fp masks - #7752

Merged
hzongaro merged 1 commit into
eclipse-omr:masterfrom
BradleyWood:i2m
May 16, 2025
Merged

x86: Fix (b/s/i/l/v)2m opcodes fp masks#7752
hzongaro merged 1 commit into
eclipse-omr:masterfrom
BradleyWood:i2m

Conversation

@BradleyWood

Copy link
Copy Markdown
Contributor

When converting boolean array to lanewise bitmask a subtraction op is used to set all bits to 0 or 1. The sub opcode must be integral even when the mask element type is floating-point.

@BradleyWood

Copy link
Copy Markdown
Contributor Author

jenkins build all

@BradleyWood

Copy link
Copy Markdown
Contributor Author

@hzongaro Would you mind reviewing?

FYI, @gita-omr

@BradleyWood
BradleyWood marked this pull request as draft May 9, 2025 20:16
@BradleyWood

Copy link
Copy Markdown
Contributor Author

Marking as draft while I investigate an issue

@BradleyWood
BradleyWood marked this pull request as ready for review May 9, 2025 21:21

@hzongaro hzongaro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think the changes look good. Just one suggestion for a comment.

Comment thread compiler/x/codegen/OMRTreeEvaluator.cpp
When converting boolean array to lanewise bitmask
a subtraction op is used to set all bits to 0 or 1.
The sub opcode must be integral even when the mask
element type is floating-point.

Signed-off-by: Bradley Wood <bradley.wood@ibm.com>

@hzongaro hzongaro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! Looks good.

@hzongaro

Copy link
Copy Markdown
Contributor

Jenkins build all

@hzongaro
hzongaro merged commit 06d80e2 into eclipse-omr:master May 16, 2025
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.

3 participants