I would like to use "bsel" (aka mux) instruction for SHA1 encoder.
On IL, UBIT_INSERT emits "BFM_INT" and "BFI_INT" for ISA.
Is there any way to be "BFI_INT" emitted directly with IL?
Oh, I found Micah's article.
"In SDK 2.5 we are expanding that, along with other optimizations, to generate BFI instructions."
Is it not implemented in the current sdk and catalyst driver?
Thank you, Micah. I would like confirm as below on current release;
Q1) Is BFI_INT emitted only by UBIT_INSERT?
Q2) Is there no way to emit BFI_INT explicitly with CAL IL?
I expect the next release.
Originally posted by: MicahVillmow There is no way to emit BFI_INT and BFI_INT is only emitted via UBIT_INSERT. Don't expect BFI_INT to be exposed directly in CAL IL as CAL IL is being deprecated. We are working on enabling the optimization to emit just BFI_INT in some cases.
Micah, I know CAL might be deprecated in 2.5.
In contrast to other guys, I will focus low level manipulations (eg. llvm codegen). I will ask here when I met another issue, thank you!