Open knn-k opened 1 day ago
Issue Number: 20658 Status: Open Recommended Components: comp:vm, comp:gc, comp:test
These testcases do not depend on method recognition. ArrayTranslateTests.zip
I haven't been able to make JIT generate arraytranslateTROTNoBreak nodes, either.
[ arraytranslateTROTNoBreak: byte[]
to char[]
] -- No output from arraytranslate evaluator
$ TR_verbosePPCTRTOOT=y jdk-17.0.13+11/bin/java -Xjit:limit=arrayTranslateTROTNB,count=0,optlevel=scorching ArrayTranslateTROTNBTest
Done
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.