1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
3 * Copyright (C) 2022 Paul Cercueil <paul@crapouillou.net>
6 #ifndef __LIGHTNING_WRAPPER_H__
7 #define __LIGHTNING_WRAPPER_H__
13 #define jit_ldxi_ui(u,v,w) jit_ldxi_i(u,v,w)
14 #define jit_stxi_ui(u,v,w) jit_stxi_i(u,v,w)
15 #define jit_extr_i(u,v) jit_movr(u,v)
16 #define jit_extr_ui(u,v) jit_movr(u,v)
17 #define jit_retval_ui(u) jit_retval(u)
18 #define jit_getarg_ui(u,v) jit_getarg_i(u,v)
22 #define jit_b() jit_beqr(0, 0)
24 #endif /* __LIGHTNING_WRAPPER_H__ */