-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
Running VS Code on RISC-V SBC #789
Comments
Any ideas on how to debug this? It would be great if Electron apps would work. |
Try with |
I've tried that, doesn't looks useful.
|
Well, the issue is in |
Hmm, I remember this function got some fixes just a few days ago, I thought it was fine.. |
Yes, it indeed segfaulted in |
When calling |
Thta looks like a float value. What is the |
It's
|
Floating point values (9 of them out of 16 slots) are not touching the stack, there shouldn't be a float value on the stack. |
Unless it is! I changed |
I'm so happy that VS Code works! Yay!!! |
It's amazing you can tell from the hex that this is a float... |
So we should define |
Ah yes, size of an xmm reg is 16bytes! not 8 (yeah, I see float and double in hex dump... I spend too much time looking at hex dump !!!) |
VS Code starts fine, but there is only a blank window, which seems an OpenGL issue (not sure). Weixin won't start for some reason, but it's gone much further. It's some progress nevertheless. |
Yes, it might be an opengl issue. Try withou/without gl4es (Electron should be compatible with GLES2, but I don't remember if I wrapped libGLESv2 :S)) |
With or w/o gl4es acts the same, with some GL errors printed in both ways. |
I accidentally turned off Dynarec when compiling box64 yesterday, VS Code is still not working with RV64 Dynarec. |
A lot of diffs on
|
Looks like a sign extension issue here. But on the interpreter side? Also, beware, not sure the address given as an error is the right one. It might be off by 1 opcode.... You need to check the generated code around the address to really understand what is going on. |
Oh? I didn't aware of that.
The interpreter is fine, so that got me confused. Anyway I'm trying to look at opcodes near it to see if something is off. |
I'm struggling with debugging this, @ptitSeb can you try to fix it when you have the time? |
Electron-based apps seem still not working in general.
Logs for VS Code:
The text was updated successfully, but these errors were encountered: