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

Allow immediate port version of in/out instructions. #115

Merged
merged 1 commit into from
Jan 9, 2020

Conversation

m-ou-se
Copy link
Contributor

@m-ou-se m-ou-se commented Jan 8, 2020

This allows the compiler to pick the version of in or out with the port number as an immediate value, if it is known at compile time.

@phil-opp
Copy link
Member

phil-opp commented Jan 8, 2020

Thanks for the pull request!

I didn't know that it was possible to specify multiple alternatives in constraint codes. That's really useful!

The changes look good to me. I'll test them locally to be sure and then I'll merge this PR.

@phil-opp
Copy link
Member

phil-opp commented Jan 9, 2020

I just tried locally and it seems to work without problems. Thanks again, @m-ou-se!

@phil-opp phil-opp merged commit 2b9e82e into rust-osdev:master Jan 9, 2020
@m-ou-se m-ou-se deleted the imm-port branch January 9, 2020 09:14
phil-opp added a commit that referenced this pull request Jan 9, 2020
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