diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-07-13 22:31:00 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-07-13 22:31:00 +0300 |
commit | 215ac4569f897b10215248c4caa3191919a555df (patch) | |
tree | 6957e76388d3f785c6bfcdbe920b67984bea0c2a /src/interp.c | |
parent | 5e64dbec81504aaacac1e733edd5230f59670466 (diff) | |
download | ejit-215ac4569f897b10215248c4caa3191919a555df.tar.gz ejit-215ac4569f897b10215248c4caa3191919a555df.zip |
implement some more jit instructions
Diffstat (limited to 'src/interp.c')
-rw-r--r-- | src/interp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interp.c b/src/interp.c index a86b754..8462112 100644 --- a/src/interp.c +++ b/src/interp.c @@ -850,7 +850,10 @@ union interp_ret ejit_interp(struct ejit_func *f, size_t argc, DISPATCH(); DO(PARAM_F); - fpr[i.r2] = args[i.r0].d; + if (i.r1 == EJIT_FLOAT) + fpr[i.r2] = args[i.r0].f; + else + fpr[i.r2] = args[i.r0].d; DISPATCH(); DO(ARG); |