Hi Mikl__!
After a while finally I can build something (first example, don't expect a lot

).
No AVX here, then
movq don't work.
Some modifications are needed in opengl.inc:
movf8 macro x,y
ifndef movf8store
.data
movf8store qword 0
.code
endif
db 48h,0B8h
dq y
mov movf8store, rax
movsd x, movf8store
;%movq &x,rax
endm
movf8r macro x,y ; this replace movq xmm, reg
ifndef movf8store
.data
movf8store qword 0
.code
endif
mov movf8store, y
movsd x, movf8store
endm
Regards, HSE.