void-packages/srcpkgs/ol/patches/fmov.patch

14 lines
546 B
Diff

diff --git a/extensions/ffi.c b/extensions/ffi.c
index 45769490..000a355a 100644
--- a/extensions/ffi.c
+++ b/extensions/ffi.c
@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
__asm__("BKPT");
__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
# else
- __asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
+ __asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
# endif
#endif
return 0; // actually we return st(0)