-
hyc@sech1 I just had a couple nits on the v2 PR. you can do something or just close them, then I'll approve
-
hyctests are fine here on amd64 and riscv64. need to dust off my arm64 linux box still
-
hycall good on my rk3399
-
sech1Yes, I saw the notifications. I'll go through them today. Re 25 commits - they will he squashed of course
-
sech1Before the final merge
-
tevadorsech1: Have you tested the v2 code with UBSan?
-
sech1Hmmm. I have v2 code in p2pool already, and it runs an ubsan test. But not specifically v2.
-
sech1I guess I need to compile with ubsan on arm64 and risc-v and test
-
sech1ARM64 test: pastebin.com/DUuirQxu
-
sech1I'll fix ARM64 code anyway because of possible alignment issues
-
sech1But RISC-V code shouldn't have alignment issues, so I'll just test it for UB
-
sech1But Debug build with UB sanitizer is sloooow, it'll take some time
-
sech1Okay, risc-v test spitted a lot of "misaligned access" errors in unrelated places, I'll take a look
-
tevadorYeah, misaligned access can just crash on some RISC-V machines.
-
sech1I only see it complaining about 64-byte alignment because we have alignas(64) in virtual_machine.hpp
-
sech1Technically it's just a performance optimization there, and can be ignored
-
sech1RISC-V test: pastebin.com/PFrzAaPt
-
sech1some bit shift UB, but it's not UB on RISC-V because RISC-V is defined as two's complement
-
sech1and a lot of 64-byte alignment warnings, they can be ignored
-
sech1ah no, found one: /root/RandomX/src/jit_compiler_rv64_vector.cpp:368:16: runtime error: store to misaligned address 0x7fffa75ff0ba for type 'uint32_t', which requires 4 byte alignment
-
sech1one 4-byte and 370 64-byte alignment messages
-
sech1Updated RISC-V test: pastebin.com/NfWM67EK
-
sech1ah, I see it's already approved
-
sech1hyc I'll wait a couple more days for you to review, and then push "squash-and-merge" button
-
tevadorThe next step is monerod integration.