archspec / archspec-json

Other
20 stars 33 forks source link

Add support fo psABI x86-64 micro-architecture levels #30

Closed pikacic closed 3 years ago

pikacic commented 3 years ago

Hi,

as of gcc 11.1 and clang 12 the compilers support some new virtual architectures: x86-64-v2, x86-64-v3 and x86-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

tgamblin commented 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.

pikacic commented 3 years ago

I actually did emulate the support in old compilers in my project, so I can give it a try in archspec too.