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

Crash fixes and small improvements to inline asm. #1756

Merged
merged 5 commits into from Nov 19, 2018

Conversation

Projects
None yet
2 participants
@Sahnvour
Copy link
Member

Sahnvour commented Nov 19, 2018

Fixes #1689.

Sahnvour added some commits Nov 15, 2018

Sahnvour
ir: enforce usage of '=' constraint modifier for inline assembly outp…
…uts.

Others are not currently supported and this was just asserted alter in `ir_render_asm`.
Sahnvour
asm: forbid comptime_int/floats as inputs in favor of explicitely siz…
…ed constants.

Fixes a crash due to comptime_int/floats having no type_ref.
Sahnvour
asm: handle inputs with integers of <8 or non power of 2 bitsize.
We widen them to the next highest power of two.
@andrewrk
Copy link
Member

andrewrk left a comment

Looks good. Thanks for your efforts. I'll merge this when the CI tests pass.

@andrewrk andrewrk merged commit 703c668 into ziglang:master Nov 19, 2018

1 check passed

ziglang.zig #20181119.12 succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.