You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to ref
8000
resh your session.Dismiss alert
I am quite sure that an issue here is with SSE 16 byte alignment. I was able to reproduce the issue and building with SSE disabled solved it. Specifically the restart is caused by function 'uint8_t raytrace(vec3 pos, vec3 dir, hit* info)' in src/reference.c:
Activity
asido commentedon Jul 1, 2013
I am quite sure that an issue here is with SSE 16 byte alignment. I was able to reproduce the issue and building with SSE disabled solved it. Specifically the restart is caused by function 'uint8_t raytrace(vec3 pos, vec3 dir, hit* info)' in src/reference.c:
GCC generates SSE instructions here which trash all registers.
Here is the patch to Makefile:
Overv commentedon Jul 1, 2013
This might just explain why the raytracing function doesn't work on my laptop at all. Nice find!
KoolenDasheppi commentedon Mar 14, 2016
Could you add it to the prebuilt ISO? I don't have a Linux machine, so I don't think I can build it...
Overv commentedon Mar 14, 2016
Unfortunately I don't have a Linux machine available right now either.
KoolenDasheppi commentedon Mar 15, 2016
I'm gonna try it with Cygwin, I will get back to you when I am done. (If it even works)