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

Check if input operands may simultaneously be used as output operands #37

Open
neobrain opened this issue Aug 31, 2015 · 2 comments
Open

Comments

@neobrain
Copy link
Owner

It sounds likely that hardware does not actually support this. A hardware test should be written to verify that it doesn't, and a diagnostic should be added to make sure source code doesn't try to do this.

Example of what I'm talking about: add r4, i0, r4. Note that r4 is used both as an input and an output of the addition.

@neobrain neobrain changed the title Check if input registers may be used as outputs Check if input operands may simultaneously be used as output operands Oct 3, 2015
@machinamentum
Copy link
Contributor

Caelina's shaders actually use the form add r4, r1, r4 quite a lot. Is there documentation suggesting that the hardware may not be supporting this?

@neobrain
Copy link
Owner Author

Hmm interesting. There is no specific documentation which suggested this, it's just something which sounded reasonable.

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

No branches or pull requests

2 participants