lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--check/ext.tst 6
-rw-r--r--check/imm.tst 9
2 files changed, 7 insertions, 8 deletions
diff --git a/check/ext.tst b/check/ext.tst
index 4ec87ef..58a46ee 100644
--- a/check/ext.tst
+++ b/check/ext.tst
@@ -320,14 +320,14 @@ main:
/* Simple encoding debug */
#if 0
movi %v0 0x12345678
- ext %v1 %v0 1 2
+ extr %v1 %v0 1 2
prepare
pushargi dbg_ext
ellipsis
pushargr %v0
pushargr %v1
finishi @printf
- ext_u %v1 %v0 1 2
+ extr_u %v1 %v0 1 2
prepare
pushargi dbg_ext_u
ellipsis
@@ -335,7 +335,7 @@ main:
pushargr %v1
finishi @printf
movi %v1 1
- dep %v0 %v1 1 2
+ depr %v0 %v1 1 2
prepare
pushargi dbg_dep
ellipsis
diff --git a/check/imm.tst b/check/imm.tst
index 3087192..217e6c0 100644
--- a/check/imm.tst
+++ b/check/imm.tst
@@ -193,7 +193,6 @@ OP##_ok:
CHECKI(cloi, 0xfffffffe, 31)
CHECKI(clzi, 1, 31)
CHECKI(ctoi, 0x7fffffff, 31)
- CHECKI(ctoi, -1, 32)
CHECKI(ctzi, 0x80000000, 31)
CHECKI(rbiti, 0x02468ace, 0x73516240)
CHECKI(popcnti, 0x8a13c851, 12)
@@ -213,7 +212,7 @@ OP##_ok:
# else
CHECKEXT(exti, 0xa5a5a3b7, 29, 1, 0xffffffff)
CHECKEXT(exti_u, 0xa5a5a3b7, 29, 1, 0x00000001)
- CHECKDEP(depi, 0xa5a5a3b7, 0, 29, 1, 0x85a5a3b7)
+ CHECKDEP(0xa5a5a3b7, 0, 29, 1, 0xa5a5a3b3)
# endif
#else
# if __BYTE_ORDER == __LITTLE_ENDIAN
@@ -221,9 +220,9 @@ OP##_ok:
CHECKEXT(exti_u, 0xa5a5a5a5a5a5a564, 1, 2, 0x0000000000000002)
CHECKDEP(0xa5a5a5a5a5a5a564, 1, 1, 2, 0xa5a5a5a5a5a5a562)
# else
- CHECKEXT(exti, 0xa5a5a5a5a5a59dc6, 1, 61, 2, 0xa5a5a5a5a5a59dc2)
- CHECKEXT(exti_u, 0xa5a5a5a5a5a59dc6, 61, 2, 0x0000000000000003)
- CHECKDEP(0xa5a5a5a5a5a59dc6, 1, 61, 2, 0xa5a5a5a5a5a59dc6)
+ CHECKEXT(exti, 0xa5a5a5a5a5a59dc8, 60, 3, 0xfffffffffffffffc)
+ CHECKEXT(exti_u, 0xa5a5a5a5a5a59dc6, 61, 2, 0x0000000000000002)
+ CHECKDEP(0xa5a5a5a5a5a59dc6, 1, 61, 2, 0xa5a5a5a5a5a59dc2)
# endif
#endif
CHECKF(negi_f, 2.0, -2.0)
generated by cgit v1.2.3 (git 2.25.1) at 2025年10月05日 21:11:11 +0000

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