Closed bpecsek closed 3 years ago
I'm closing this pull request, because it has diverged too far from the main repository. Instead, I will try to merge https://github.com/bpecsek/sb-simd directly.
Hi Marco,
I have committed a lot of changes today. To many to name. Mostly unsigned and signed-bytes related. I have added an immense amount of instructions. Please check my repository.
Though one error is bugging me for the last hour or so and I just can't find it. As far as I know (find) u32.8-andnot is only defines in the sb-simd-avx2 package.
The assertion
(EQ
#1=(SB-SIMD::INSTRUCTION-SET-PACKAGE SB-SIMD::INSTRUCTION-SET)
#2=(SYMBOL-PACKAGE SB-SIMD::NAME))
failed with #1# = #<PACKAGE "SB-SIMD-AVX2">, #2# =
#<PACKAGE "SB-SIMD-AVX">.
[Condition of type SIMPLE-ERROR]
Restarts:
0: [CONTINUE] Retry assertion.
1: [TRY-RECOMPILING] Recompile instruction-set-tables and try loading it
again
2: [RETRY] Retry loading FASL for #<CL-SOURCE-FILE "sb-simd"
"instruction-set-tables">.
3: [ACCEPT] Continue, treating loading FASL for #<CL-SOURCE-FILE "sb-simd"
"instruction-set-tables"> as having been successful.
4: [RETRY] Retry ASDF operation.
5: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting
the configuration.
--more--
Backtrace:
0: (SB-KERNEL:ASSERT-ERROR (EQ (SB-SIMD::INSTRUCTION-SET-PACKAGE
SB-SIMD::INSTRUCTION-SET) (SYMBOL-PACKAGE SB-SIMD::NAME)) 2
(SB-SIMD::INSTRUCTION-SET-PACKAGE SB-SIMD::INSTRUCTION-SET) #<PACKAGE
"SB-SIMD..
1: (SB-SIMD::REGISTER-INSTRUCTION-RECORD #S(SB-SIMD::PRIMITIVE-RECORD
:NAME SB-SIMD-AVX:U32.8-ANDNOT :VOP SB-SIMD-AVX::%U32.8-ANDNOT :MNEMONIC
SB-X86-64-ASM::VANDNPS :INSTRUCTION-SET #S(SB-SIMD::INSTRUCT..
2: ((SB-C::TOP-LEVEL-FORM (LET ((SB-SIMD::*INSTRUCTION-SET*
(SB-SIMD::MAKE-INSTRUCTION-SET :NAME #1=# :PACKAGE #1# :TEST #1#)))
(SB-SIMD::REGISTER-INSTRUCTION-RECORD (SB-SIMD::MAKE-PRIMITIVE-RECORD
:NAME..
3: (SB-FASL.....
Could you please help me out here?
Kindest Regards, Bela
On Thu, 17 Jun 2021 at 17:24, Marco Heisig @.***> wrote:
I'm closing this pull request, because it has diverged too far from the main repository. Instead, I will try to merge https://github.com/bpecsek/sb-simd directly.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/marcoheisig/sb-simd/pull/8#issuecomment-863334120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMDETMZILIMMGCBNFTBTMJ3TTIHSJANCNFSM453I2CSA .
Hi Marco,
I have added s64 and sb32 signed bytes and a few sample functions in tables.lisp and nary-function.lisp (+, -, *). Signed byte functionality is in signed-bytes.lisp for sb64 and sb32 for both, SSE and AVX.
I have also overhauled vector.lisp quite a bit.
Kind Regards, Bela