On Wed, Oct 11, 2023 at 02:47:56AM +0000, Zhang, Jun wrote: > Sorry, I don't know how to place wait.h. This patch is only for x86. > Wait.h is in libgomp/config/linux/. > if I directly place do_adjust_default_spincount in wait.h, > it maybe need #ifdef __x86_64__, and also need a wait.h in include/ > for other os platform. > if I create a new wait.h in libgomp/config/linux/x86/, > It need copy whole wait.h from libgomp/config/linux/, > also need a wait.h in include/ for other os platform. > Could you help me?
Put it into a new spincount.h then. Sorry, missed wait.h isn't CPU specific. Jakub