Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output something on --verbose when maximum level reached. #13

Open
mjsir911 opened this issue Apr 14, 2024 · 1 comment
Open

Output something on --verbose when maximum level reached. #13

mjsir911 opened this issue Apr 14, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@mjsir911
Copy link

mjsir911 commented Apr 14, 2024

Hi,

I got a bit confused when running --verbose because I wasn't seeing any additional output. It turns out it only displays extra stuff if a cpu version limit has been reached, while my laptop satisfies maximum level of 4.

It would be useful if something was outputted, considering the limited output looks something like this:

$ x86-64-level --verbose
Identified x86-64-v3, because x86-64-v4 requires 'avx512f', which
is not supported by this CPU [Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz]
3

Maybe this?:

$ x86-64-level --verbose
Identified x86-64-v4 for this CPU [11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz]
4
@HenrikBengtsson HenrikBengtsson added the enhancement New feature or request label Apr 14, 2024
@HenrikBengtsson HenrikBengtsson added this to the Next release milestone May 4, 2024
@HenrikBengtsson
Copy link
Owner

HenrikBengtsson commented May 4, 2024

Maybe this?:

$ x86-64-level --verbose
Identified x86-64-v4 for this CPU [11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz]
4

To future-proof it, it should probably say:

$ x86-64-level --verbose
Identified x86-64-v4(*) for this CPU [11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz]
(*) The latest version known by this tool
4

suggesting that there might exist an 'x86-64-v5' level, but the x86-64-level tool only knows about v0-v4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants