[Openmp-commits] [openmp] Add openmp support to System z (PR #66081)

Ilya Leoshkevich via Openmp-commits openmp-commits at lists.llvm.org
Thu Oct 19 04:30:39 PDT 2023


iii-i wrote:

> For the `print_possible_return_addresses` case, is this the same issue ("additional jump") called out for LOONGARCH64 as well?

It looks similar, yes. I've decided to include the assembly snippet, because from these textual descriptions it's somewhat hard to fully understand what is going on.


> How does the GNU OpenMP library handle this? If there are choices to be made, it would be best to remain compatible ...

They seem to sidestep the problem by parsing only parsing core sibling lists (`gomp_affinity_init_level_1()`). Looking a bit closer, I don't think that the spec defines a way to directly refer to the socket number - this artificial number that I'm making up for disambiguation. So it's probably okay.

https://github.com/llvm/llvm-project/pull/66081


More information about the Openmp-commits mailing list