Closed pikacic closed 3 years ago
@pikacic: thanks for offering! We’ve been wanting these — it would be awesome if you could take a stab at it.
I also think it’s possible to emulate them (by adding very specific flags) on older compilers. Is that something you’d be willing to look at as well?
Either way this is exciting.
I actually did emulate the support in old compilers in my project, so I can give it a try in archspec too.
Hi,
as of gcc 11.1 and clang 12 the compilers support some new virtual architectures:
x86-64-v2
,x86-64-v3
andx86-64-v4
(via the-march=
option).It would be nice to have them understood and supported in archspec.
I can prepare a pull request if you want.
Cheers Marco