Use a single implementation of a fallback bitswap. - 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年02月28日 14:25:49 -0300
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2023年02月28日 14:25:49 -0300
commit9ddb79b50e5cd401ee35c994a47986148e5dfb15 (patch)
treedc998262c76b66565c3cd04c081117946ca12551 /lib/jit_s390.c
parent6180f53ad2f51f41741a61c0bef7be22de5a8e3e (diff)
downloadlightning-9ddb79b50e5cd401ee35c994a47986148e5dfb15.tar.gz
Use a single implementation of a fallback bitswap.
There were two versions, one with loop for mips, and an unrolled one for ia64, ppc, s390 and sparc. Now there is yet a third version, made default, and using a table of swapped bit values, that should be the faster/smaller version. The unrolled one might be faster if patterns can be easily loaded, but would still be larger.
Diffstat (limited to 'lib/jit_s390.c')
-rw-r--r--lib/jit_s390.c 8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/jit_s390.c b/lib/jit_s390.c
index 6934b11..25c6421 100644
--- a/lib/jit_s390.c
+++ b/lib/jit_s390.c
@@ -94,9 +94,7 @@ extern void __clear_cache(void *, void *);
#define PROTO 1
# include "jit_s390-cpu.c"
# include "jit_s390-fpu.c"
-# if CHECK_FLOGR
-# include "jit_fallback.c"
-# endif
+# include "jit_fallback.c"
#undef PROTO
/*
@@ -1675,9 +1673,7 @@ _emit_code(jit_state_t *_jit)
#define CODE 1
# include "jit_s390-cpu.c"
# include "jit_s390-fpu.c"
-# if CHECK_FLOGR
-# include "jit_fallback.c"
-# endif
+# include "jit_fallback.c"
#undef CODE
void
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月28日 14:47:22 +0000

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