-
Notifications
You must be signed in to change notification settings - Fork 159
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
RETURN pseudo-instruction for non-constant values #2
Labels
Comments
Maratyszcza
added a commit
that referenced
this issue
May 25, 2015
Maratyszcza
added a commit
that referenced
this issue
May 25, 2015
Needs tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RETURN
pseudo-instruction currently accepts only constant values.RETURN
should accept general-purpose registers for functions with integer or pointer return type. Lower toSTORE.RESULT
for Go and toMOV[ZX/SX](rax/eax, reg)
for other ABIsRETURN
should accept xmm registers for functions with floating-point return type. Lower toSTORE.RESULT
for Go and toMOVSS/MOVSD(xmm0, xmmN)
for other ABIs.RETURN
should accept mm/xmm/ymm registers for functions with vector return type. Lower to vector mov instructions for non-Go ABIs, prohibit in Go ABI.The text was updated successfully, but these errors were encountered: