loongarch: Implement ext, ext_u and dep. - lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
path: root/lib/jit_loongarch.c
diff options
context:
space:
mode:
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2023年03月17日 17:00:01 -0300
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2023年03月17日 17:00:01 -0300
commit126f30d797d858222b6341a0f2ce7260e2b11243 (patch)
treea944d08347238db0fc958bf99e0789ec741460fb /lib/jit_loongarch.c
parent16989e01b4077389cc14ffa8b17f403710990718 (diff)
downloadlightning-126f30d797d858222b6341a0f2ce7260e2b11243.tar.gz
loongarch: Implement ext, ext_u and dep.
Diffstat (limited to 'lib/jit_loongarch.c')
-rw-r--r--lib/jit_loongarch.c 9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/jit_loongarch.c b/lib/jit_loongarch.c
index 09fa541..7604f15 100644
--- a/lib/jit_loongarch.c
+++ b/lib/jit_loongarch.c
@@ -1184,6 +1184,15 @@ _emit_code(jit_state_t *_jit)
case_rr(bswap, _us);
case_rr(bswap, _ui);
case_rr(bswap, _ul);
+ case jit_code_ext:
+ ext(rn(node->u.w), rn(node->v.w), node->w.q.l, node->w.q.h);
+ break;
+ case jit_code_ext_u:
+ ext_u(rn(node->u.w), rn(node->v.w), node->w.q.l, node->w.q.h);
+ break;
+ case jit_code_dep:
+ dep(rn(node->u.w), rn(node->v.w), node->w.q.l, node->w.q.h);
+ break;
case_rr(ext, _c);
case_rr(ext, _uc);
case_rr(ext, _s);
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月18日 03:27:28 +0000

AltStyle によって変換されたページ (->オリジナル) /