How to correctly determine the `-march` flag when working with Intel oneAPI on Intel processors?

The march document has the following processor name:

broadwell

I mean: The initial letter is lowercase, while inxi’s result is capitalized. Which one should I use?

As for -march=native, I noticed intel has xHost code generation option, which is similar to the function of -march=native. But as we have discussed here, -xHOST doesn’t work for some vasp tests.

BTW, the following gcc command confirms that -march=native is equivalent to -march=broadwell on my machine:

$ gcc -march=native -Q --help=target|grep -- '^[ ]*-march='
  -march=                     		broadwell

Regards,
HZ