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

Exclude X0 (C_RET_REG) from allocatable registers on arm #319

Merged
merged 2 commits into from Jul 14, 2022

Conversation

maximecb
Copy link

No description provided.

@kddnewton
Copy link

One thing I was thinking though is that we're losing a bit of safety here by saying take_reg and dealloc_reg never care if they find the register that is given to them. I think that's kind of necessary for dealloc_reg since we don't know where it's going to be deallocated, but for take_reg we could have another function that's like... maybe_take_reg that we only call when we're forcing a specific register.

@maximecb
Copy link
Author

One thing I was thinking though is that we're losing a bit of safety here by saying take_reg and dealloc_reg never care if they find the register that is given to them. I think that's kind of necessary for dealloc_reg since we don't know where it's going to be deallocated, but for take_reg we could have another function that's like... maybe_take_reg that we only call when we're forcing a specific register.

Not a bad idea.

@maximecb maximecb merged commit f57fac9 into yjit_backend_ir Jul 14, 2022
@maximecb maximecb deleted the yjit_arm_ret_reg branch July 14, 2022 18:53
maximecb added a commit that referenced this pull request Jul 20, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett
maximecb added a commit that referenced this pull request Jul 25, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett
noahgibbs pushed a commit that referenced this pull request Aug 23, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett
noahgibbs pushed a commit that referenced this pull request Aug 24, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett

PR: #319
noahgibbs pushed a commit that referenced this pull request Aug 25, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett

PR: #319
k0kubun pushed a commit that referenced this pull request Aug 25, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett

PR: #319
k0kubun pushed a commit that referenced this pull request Aug 25, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett
k0kubun pushed a commit that referenced this pull request Aug 25, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett
k0kubun pushed a commit that referenced this pull request Aug 25, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett
k0kubun pushed a commit that referenced this pull request Aug 25, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett
k0kubun pushed a commit that referenced this pull request Aug 26, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett
noahgibbs pushed a commit that referenced this pull request Aug 26, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett
k0kubun pushed a commit that referenced this pull request Aug 26, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett
k0kubun pushed a commit that referenced this pull request Aug 29, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett
k0kubun pushed a commit that referenced this pull request Aug 29, 2022
* Exclude X0 (C_RET_REG) from allocatable registers on arm

* Add another small test snippett
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.

None yet

2 participants