[Openmp-commits] [openmp] [openmp] Add support for arm64ec to libomp (PR #176151)
David Truby via Openmp-commits
openmp-commits at lists.llvm.org
Mon Mar 23 07:14:36 PDT 2026
DavidTruby wrote:
> No, it will not. For that to happen, the compiler would need to be responsible for calling the function, which is not the case when it is implemented in assembly.
Is this because we haven't generated entry/exit thunks for `__kmp_invoke_microtask` anywhere if we write it in assembly?
If that's the case, as a simple fix, can we not just eg call the function implemented in assembly `__kmp_invoke_microtask_arm64ec_native` and write in C:
```
void __kmp_invoke_microtask(...) {
__kmp_invoke_microtask_arm64ec_native(...);
}
```
which should get the entry/exit thunks generated?
https://github.com/llvm/llvm-project/pull/176151
More information about the Openmp-commits
mailing list