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 arch8 as the baseline CPU model for s390x. #20451

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Jun 28, 2024

Fixes #9442.

@alexrp
Copy link
Member Author

alexrp commented Jun 28, 2024

zig cc s390x.c -target s390x-linux-musl
LLVM ERROR: Cannot select: 0x6d24170: i32 = fp_to_fp16 0x6d23a00
  0x6d23a00: f32,ch = CopyFromReg 0x5e82a10, Register:f32 %10
    0x6c03da0: f32 = Register %10
In function: __fixhfsi

That isel error is tracked here: llvm/llvm-project#50374

@andrewrk andrewrk merged commit 0d7aa1b into ziglang:master Jul 5, 2024
10 checks passed
@andrewrk
Copy link
Member

andrewrk commented Jul 5, 2024

Nice 👍

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.

zig cc foo.c -target s390x-linux-musl fails due to invalid target CPU
2 participants