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

std.Target: Use hexagonv60 as the baseline CPU model for hexagon. #20798

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Jul 26, 2024

Similar situation to #20451:

zig cc test.c -target hexagon-linux-none
error: unknown target CPU 'generic'
note: valid target CPU values are: hexagonv5, hexagonv55, hexagonv60, hexagonv62, hexagonv65, hexagonv66, hexagonv67, hexagonv67t, hexagonv68, hexagonv69, hexagonv71, hexagonv71t, hexagonv73

Clang uses hexagonv60 by default: https://github.com/llvm/llvm-project/blob/25f9415713f9f57760a5322876906dc11385ef8e/clang/lib/Driver/ToolChains/Hexagon.cpp#L800-L806

@andrewrk andrewrk merged commit 604e87a into ziglang:master Aug 1, 2024
10 checks passed
@alexrp alexrp deleted the patch-2 branch August 1, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants