-
Notifications
You must be signed in to change notification settings - Fork 175
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
Refactor - Shuffle register assignment in JIT #600
Conversation
b7b5392
to
bcbf14c
Compare
bcbf14c
to
ccb81e5
Compare
ccb81e5
to
bb34253
Compare
@@ -112,27 +112,29 @@ impl JitProgram { | |||
"push rbx", | |||
"push rbp", | |||
"mov [{host_stack_pointer}], rsp", | |||
"add QWORD PTR [{host_stack_pointer}], -8", // We will push RIP in "call r10" later | |||
"mov rbx, rax", | |||
"add QWORD PTR [{host_stack_pointer}], -8", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this equivalent to add QWORD PTR [{host_stack_pointer}], -8(%rsp)
?
rsp
is the top of the stack, but we are offsetting outside the stack area, aren't we?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, this is Intel ASM. I was trying to understand this as AT&T ASM.
No description provided.