[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patching jit_movi
From: |
Marc Nieper-Wißkirchen |
Subject: |
Patching jit_movi |
Date: |
Thu, 1 Dec 2022 15:44:43 +0100 |
Currently, the constant in jit_movi is ignored when we patch it with a label.
Could we change this so that the constant is retained as an additive offset?
My code currently looks like
jit_patch_at (jit_movi (JIT_R0, 0), node);
jit_addi (JIT_R0, JIT_R0, tag);
It would be preferable if I could write:
jit_patch_at (jit_movi (JIT_R0, tag));
Thanks,
Marc
- Patching jit_movi,
Marc Nieper-Wißkirchen <=