-
sech1"Rounding: Valgrind does observe the 4 IEEE-mandated rounding modes (to nearest, to +infinity, to -infinity, to zero) for the following conversions: float to integer, integer to float where there is a possibility of loss of precision, and float-to-float rounding. For all other FP operations, only the IEEE default mode (round to nearest) is
-
sech1supported."
-
sech1RIP my attempts to run any RandomX using code under valgrind
-
sech1hyc have you ever tried using valgrind with RandomX in monerod or anywhere else?
-
hycno, never tried it.
-
hycsech1 what are you trying to test?
-
sech1Trying to run P2Pool with valgrind. It works only without RandomX
-
sech1With RandomX, it just doesn't sync. It doesn't even spit out "invalid hash" errors
-
hycso you suspect memory corruption bugs somewhere?
-
hycmaybe try with ElectricFence. but as I recall, there are no plain uses of heap allocations, everything is using mmap'd memory. so efence wouldn't find anything.
-
sech1No, there is no memory corruption. Valgrind just doesn't support rounding modes (except for float <-> int conversions)
-
sech1I wanted to try it to see what it finds. It works fine without RandomX (and it didn't find anything)