s390: build and pass all tests. - 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_s390.c
diff options
context:
space:
mode:
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2023年03月20日 17:56:19 -0300
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2023年03月20日 17:56:19 -0300
commit942c13e8b208d6616023cfe76635206317267d27 (patch)
treee710825310256587e0458bd392da4ee18ee0d87b /lib/jit_s390.c
parent31389c0cf8d3719c126e56fcbdc494e352d0e7b8 (diff)
downloadlightning-942c13e8b208d6616023cfe76635206317267d27.tar.gz
s390: build and pass all tests.
It is not possible to use IC or ICM for jit_dep as is. It must read from a memory address, so, it would be usable only on multi instruction optimization. The s390 port also shows jit_depi() actually can be optimized, using IIHF, IIHH, IIHL, IILF, IILH and IILL. But before this, would be far more important to optimize load of constants and andi/ori, that can use less instructions, and are currently badly implemented (works, but can be shorter).
Diffstat (limited to 'lib/jit_s390.c')
-rw-r--r--lib/jit_s390.c 3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/jit_s390.c b/lib/jit_s390.c
index fc9a288..f766211 100644
--- a/lib/jit_s390.c
+++ b/lib/jit_s390.c
@@ -1219,9 +1219,6 @@ _emit_code(jit_state_t *_jit)
#if __WORDSIZE == 64
case_rr(bswap, _ul);
#endif
-#define extr(r0, r1, i0, i1) fallback_ext(r0, r1, i0, i1)
-#define extr_u(r0, r1, i0, i1) fallback_ext_u(r0, r1, i0, i1)
-#define depr(r0, r1, i0, i1) fallback_dep(r0, r1, i0, i1)
case jit_code_extr:
extr(rn(node->u.w), rn(node->v.w), node->w.q.l, node->w.q.h);
break;
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月20日 06:04:04 +0000

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