You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JIT compiler generates arraytranslate nodes for char[] to byte[] cases, but I haven't been able to make it generate arraytranslate nodes for byte[] to char[] cases.
I used the following binary on plinux for testing, because JIT codegen for Power has an environment variable that shows verbose output in the arraytranslate evaluator:
$ jdk-17.0.13+11/bin/java -version
openjdk version "17.0.13" 2024-10-15
IBM Semeru Runtime Open Edition 17.0.13.11 (build 17.0.13+11)
Eclipse OpenJ9 VM 17.0.13.11 (build openj9-0.48.0, JRE 17 Linux ppc64le-64-Bit Compressed References 20241015_861 (JIT enabled, AOT enabled)
OpenJ9 - 1d5831436e
OMR - d10a4d553
JCL - d17dd58f8d7 based on jdk-17.0.13+11)
See the following output:
[ arraytranslateTRTO: char[] to byte[] ] -- An arraytranslate node was generated
$ TR_verbosePPCTRTOOT=y jdk-17.0.13+11/bin/java -Xjit:limit=arrayTranslateTRTO,count=0,optlevel=scorching ArrayTranslateTRTOTest
JIT: env var TR_verbosePPCTRTOOT is set to y
ArrayTranslateTRTOTest.arrayTranslateTRTO([CI[BII)I @ scorching [isSourceByte: 0] [isOT: 0] [0 && 1 && 0]: arraytranslate
Done
[ arraytranslateTROT: byte[] to char[] ] -- No output from arraytranslate evaluator
This issue is common across platforms, except that AArch64 codegen does not support arraytranslateTROT at the moment. I found this issue when I was trying to add the support on AArch64.
The text was updated successfully, but these errors were encountered:
JIT compiler generates arraytranslate nodes for
char[]
tobyte[]
cases, but I haven't been able to make it generate arraytranslate nodes forbyte[]
tochar[]
cases.I used the following binary on plinux for testing, because JIT codegen for Power has an environment variable that shows verbose output in the arraytranslate evaluator:
See the following output:
[ arraytranslateTRTO:
char[]
tobyte[]
] -- An arraytranslate node was generated[ arraytranslateTROT:
byte[]
tochar[]
] -- No output from arraytranslate evaluatorPower codegen supports arraytranslateTROT.
This issue is common across platforms, except that AArch64 codegen does not support arraytranslateTROT at the moment. I found this issue when I was trying to add the support on AArch64.
The text was updated successfully, but these errors were encountered: