Skip to content

Conversation

midronij
Copy link
Contributor

@midronij midronij commented Aug 26, 2025

Implement PPC codegen for i2m (Integer to Mask) on P8+. This operation accepts four byte elements of a given boolean array (read from memory using a word-length load) and converts it into a four-element IntVector mask with the corresponding boolean values.

@midronij midronij changed the title WIP: PPC codegen for masked Int to Mask operation WIP: Implement vectorized i2m on PPC Aug 26, 2025
@midronij midronij force-pushed the i2m branch 4 times, most recently from 0bb9c17 to 63cc325 Compare September 9, 2025 14:51
@midronij midronij changed the title WIP: Implement vectorized i2m on PPC Implement vectorized i2m on PPC Sep 9, 2025
@midronij midronij changed the title Implement vectorized i2m on PPC WIP: Implement vectorized i2m on PPC Sep 12, 2025
@midronij midronij changed the title WIP: Implement vectorized i2m on PPC Implement vectorized i2m on PPC Sep 23, 2025
@midronij
Copy link
Contributor Author

@gita-omr @zl-wang could you please review when you have a chance?

Copy link
Contributor

@zl-wang zl-wang left a comment

Choose a reason for hiding this comment

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

similar comments as the previous PR.

@midronij midronij force-pushed the i2m branch 2 times, most recently from 1ce4069 to 17ee357 Compare October 9, 2025 18:53
@midronij midronij force-pushed the i2m branch 2 times, most recently from 720464f to c5c877a Compare October 15, 2025 14:27

TR::Register *srcReg;
bool reversed = false;

Copy link
Contributor

Choose a reason for hiding this comment

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

same comments as l2m case: srcReg liveness, is child node definitely good for load/store op?

@midronij midronij changed the title Implement vectorized i2m on PPC WIP: Implement vectorized i2m on PPC Oct 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.

4 participants