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

Tied operands with different size #9

Closed
bjorn3 opened this issue Jan 8, 2020 · 1 comment
Closed

Tied operands with different size #9

bjorn3 opened this issue Jan 8, 2020 · 1 comment

Comments

@bjorn3
Copy link
Member

bjorn3 commented Jan 8, 2020

In https://immunant.com/blog/2020/01/quake3/ it was noted at the "Tied Operands in Inline Assembly" section that gcc and clang use the biggest of the operands as register size and then truncates when necessary. LLVM however leaves this undefined.

@Amanieu
Copy link
Member

Amanieu commented Jan 8, 2020

This is already covered in the draft RFC:

If an inout is used where the output type is smaller than the input type then some special handling is needed to avoid LLVM issues. See this bug.

@bjorn3 bjorn3 closed this as completed Jan 8, 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

No branches or pull requests

2 participants