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

Clean up references to iiload, iistore, et al. #19489

Closed
hzongaro opened this issue May 13, 2024 · 4 comments
Closed

Clean up references to iiload, iistore, et al. #19489

hzongaro opened this issue May 13, 2024 · 4 comments

Comments

@hzongaro
Copy link
Member

Once upon a time, the JIT compiler's opcodes had the letter i as a prefix if the operation was indirect — iiload, ibstore, and so on. Those opcodes were renamed to use the letter i as a suffix instead — iiload became iloadi, ilstore became istorei, etc.

Many comments and some trace code in the compiler — in both OpenJ9 and OMR — still refer to the old opcode names. For example, in Tree Simplifier and Inliner. It would be good to correct those lingering references to the old opcode names.

@a7ehuo
Copy link
Contributor

a7ehuo commented Oct 31, 2024

I will start cleaning up the comments in OMR first

a7ehuo added a commit to a7ehuo/omr that referenced this issue Nov 1, 2024
…bload/ibstore

This commit cleans up the references
in the code comments

Related: eclipse-openj9/openj9#19489
Signed-off-by: Annabelle Huo <[email protected]>
a7ehuo added a commit to a7ehuo/omr that referenced this issue Nov 4, 2024
The old opcodes had the letter i as a prefix if the operation
was indirect. Those opcodes were renamed to use the letter i
as a suffix instead.

This commit cleans up the references to the old opcodes,
iiload/iistore ilload/ilstore iaload/iastore ibload/ibstore,
to iloadi/istorei lloadi/lstorei aloadi/astorei bloadi/bstorei
in the code comments and trace messages.

Related: eclipse-openj9/openj9#19489
Signed-off-by: Annabelle Huo <[email protected]>
@a7ehuo
Copy link
Contributor

a7ehuo commented Nov 4, 2024

My plan is

a7ehuo added a commit to a7ehuo/openj9 that referenced this issue Nov 4, 2024
The old opcodes had the letter i as a prefix if the operation
was indirect. Those opcodes were renamed to use the letter
as a suffix instead.

This commit cleans up the references to the old opcodes,
iiload/iistore ilload/ilstore iaload/iastore ibload/ibstore,
to iloadi/istorei lloadi/lstorei aloadi/astorei bloadi/bstorei
in the code comments and trace messages

Related: eclipse-openj9#19489
Signed-off-by: Annabelle Huo <[email protected]>
a7ehuo added a commit to a7ehuo/omr that referenced this issue Nov 6, 2024
The old opcodes had the letter i as a prefix if the operation
was indirect. Those opcodes were renamed to use the letter i
as a suffix instead.

This commit cleans up the references to the old opcodes,
iiload/iistore ilload/ilstore iaload/iastore ibload/ibstore,
to iloadi/istorei lloadi/lstorei aloadi/astorei bloadi/bstorei
in the code.

Related: eclipse-openj9/openj9#19489
Signed-off-by: Annabelle Huo <[email protected]>
a7ehuo added a commit to a7ehuo/openj9 that referenced this issue Nov 6, 2024
The old opcodes had the letter i as a prefix if the operation
was indirect. Those opcodes were renamed to use the letter i
as a suffix instead.

This commit cleans up the references to the old opcodes,
iiload/iistore ilload/ilstore iaload/iastore ibload/ibstore,
to iloadi/istorei lloadi/lstorei aloadi/astorei bloadi/bstorei
in the code.

Related: eclipse-openj9#19489
Signed-off-by: Annabelle Huo <[email protected]>
zl-wang pushed a commit to zl-wang/openj9 that referenced this issue Nov 11, 2024
The old opcodes had the letter i as a prefix if the operation
was indirect. Those opcodes were renamed to use the letter
as a suffix instead.

This commit cleans up the references to the old opcodes,
iiload/iistore ilload/ilstore iaload/iastore ibload/ibstore,
to iloadi/istorei lloadi/lstorei aloadi/astorei bloadi/bstorei
in the code comments and trace messages

Related: eclipse-openj9#19489
Signed-off-by: Annabelle Huo <[email protected]>
a7ehuo added a commit to a7ehuo/omr that referenced this issue Nov 13, 2024
The old opcodes had the letter i as a prefix if the
operation was indirect. Those opcodes were renamed
to use the letter i as a suffix instead.

This commit cleans up the references to the old opcodes,
isload/isstore ifload/ifstore idload/idstore to
sloadi/sstorei floadi/fstorei dloadi/dstorei

Related: eclipse-openj9/openj9#19489
Signed-off-by: Annabelle Huo <[email protected]>
a7ehuo added a commit to a7ehuo/openj9 that referenced this issue Nov 13, 2024
The old opcodes had the letter i as a prefix if the
operation was indirect. Those opcodes were renamed
to use the letter i as a suffix instead.

This commit cleans up the references to the old opcodes,
isload/isstore ifload/ifstore idload/idstore to
sloadi/sstorei floadi/fstorei dloadi/dstorei

Related: eclipse-openj9#19489
Signed-off-by: Annabelle Huo <[email protected]>
a7ehuo added a commit to a7ehuo/openj9 that referenced this issue Nov 13, 2024
The old opcodes had the letter i as a prefix if the
operation was indirect. Those opcodes were renamed
to use the letter i as a suffix instead.

This commit cleans up the references to the old opcodes,
from isload/isstore to sloadi/sstorei

Related: eclipse-openj9#19489
Signed-off-by: Annabelle Huo <[email protected]>
@a7ehuo
Copy link
Contributor

a7ehuo commented Nov 15, 2024

All five steps of cleaning up the old opcodes have been completed. Hence close

@a7ehuo a7ehuo closed this as completed Nov 15, 2024
Copy link

Issue Number: 19489
Status: Closed
Actual Components: help wanted, comp:doc, tech debt
Actual Assignees: No one :(
PR Assignees: a7ehuo

theresa-m pushed a commit to theresa-m/openj9 that referenced this issue Nov 15, 2024
The old opcodes had the letter i as a prefix if the
operation was indirect. Those opcodes were renamed
to use the letter i as a suffix instead.

This commit cleans up the references to the old opcodes,
from isload/isstore to sloadi/sstorei

Related: eclipse-openj9#19489
Signed-off-by: Annabelle Huo <[email protected]>
ThanHenderson pushed a commit to ThanHenderson/openj9 that referenced this issue Nov 25, 2024
The old opcodes had the letter i as a prefix if the operation
was indirect. Those opcodes were renamed to use the letter
as a suffix instead.

This commit cleans up the references to the old opcodes,
iiload/iistore ilload/ilstore iaload/iastore ibload/ibstore,
to iloadi/istorei lloadi/lstorei aloadi/astorei bloadi/bstorei
in the code comments and trace messages

Related: eclipse-openj9#19489
Signed-off-by: Annabelle Huo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants