Guest User

UB test ARM64

a guest
Feb 14th, 2026
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.94 KB | None | 0 0
  1. localhost:~# git clone --branch v2 https://github.com/SChernykh/RandomX
  2. Cloning into 'RandomX'...
  3. remote: Enumerating objects: 4346, done.
  4. remote: Counting objects: 100% (1578/1578), done.
  5. remote: Compressing objects: 100% (313/313), done.
  6. remote: Total 4346 (delta 1434), reused 1301 (delta 1261), pack-reused 2768 (from 2)
  7. Receiving objects: 100% (4346/4346), 3.33 MiB | 4.53 MiB/s, done.
  8. Resolving deltas: 100% (3308/3308), done.
  9. localhost:~# cd RandomX/
  10. localhost:~/RandomX# mkdir build && cd build
  11. localhost:~/RandomX/build# cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_FLAGS="-fno-omit-frame-pointer -fsanitize=undefined" -DCMAKE_CXX_FLAGS="-fno-omit-frame-pointer -fs
  12. anitize=undefined"
  13. CMake Deprecation Warning at CMakeLists.txt:29 (cmake_minimum_required):
  14. Compatibility with CMake < 3.10 will be removed from a future version of
  15. CMake.
  16.  
  17. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
  18. to tell CMake that the project requires at least <min> but has been updated
  19. to work with policies introduced by <max> or earlier.
  20.  
  21.  
  22. -- The C compiler identification is Clang 21.1.2
  23. -- The CXX compiler identification is Clang 21.1.2
  24. -- Detecting C compiler ABI info
  25. -- Detecting C compiler ABI info - done
  26. -- Check for working C compiler: /usr/bin/clang - skipped
  27. -- Detecting C compile features
  28. -- Detecting C compile features - done
  29. -- Detecting CXX compiler ABI info
  30. -- Detecting CXX compiler ABI info - done
  31. -- Check for working CXX compiler: /usr/bin/clang++ - skipped
  32. -- Detecting CXX compile features
  33. -- Detecting CXX compile features - done
  34. -- Looking for asm/hwcap.h
  35. -- Looking for asm/hwcap.h - found
  36. -- Performing Test _march=armv8_a+crypto_cxx
  37. -- Performing Test _march=armv8_a+crypto_cxx - Success
  38. -- Setting CXX flag -march=armv8-a+crypto
  39. -- Performing Test _march=armv8_a+crypto_c
  40. -- Performing Test _march=armv8_a+crypto_c - Success
  41. -- Setting C flag -march=armv8-a+crypto
  42. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  43. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
  44. -- Found Threads: TRUE
  45. -- Performing Test HAVE_CXX_ATOMICS
  46. -- Performing Test HAVE_CXX_ATOMICS - Success
  47. -- Configuring done (13.3s)
  48. -- Generating done (0.1s)
  49. -- Build files have been written to: /root/RandomX/build
  50. localhost:~/RandomX/build# make -j$(nproc)
  51. [ 5%] Building C object CMakeFiles/randomx.dir/src/argon2_ref.c.o
  52. [ 5%] Building CXX object CMakeFiles/randomx.dir/src/aes_hash.cpp.o
  53. [ 8%] Building C object CMakeFiles/randomx.dir/src/argon2_ssse3.c.o
  54. [ 11%] Building C object CMakeFiles/randomx.dir/src/argon2_avx2.c.o
  55. [ 14%] Building CXX object CMakeFiles/randomx.dir/src/bytecode_machine.cpp.o
  56. [ 17%] Building CXX object CMakeFiles/randomx.dir/src/cpu.cpp.o
  57. [ 23%] Building CXX object CMakeFiles/randomx.dir/src/dataset.cpp.o
  58. [ 23%] Building CXX object CMakeFiles/randomx.dir/src/soft_aes.cpp.o
  59. [ 26%] Building C object CMakeFiles/randomx.dir/src/virtual_memory.c.o
  60. [ 29%] Building CXX object CMakeFiles/randomx.dir/src/vm_interpreted.cpp.o
  61. [ 35%] Building CXX object CMakeFiles/randomx.dir/src/assembly_generator_x86.cpp.o
  62. [ 35%] Building CXX object CMakeFiles/randomx.dir/src/allocator.cpp.o
  63. [ 38%] Building CXX object CMakeFiles/randomx.dir/src/instruction.cpp.o
  64. [ 41%] Building CXX object CMakeFiles/randomx.dir/src/randomx.cpp.o
  65. [ 44%] Building CXX object CMakeFiles/randomx.dir/src/superscalar.cpp.o
  66. [ 47%] Building CXX object CMakeFiles/randomx.dir/src/vm_compiled.cpp.o
  67. [ 50%] Building CXX object CMakeFiles/randomx.dir/src/vm_interpreted_light.cpp.o
  68. [ 52%] Building C object CMakeFiles/randomx.dir/src/argon2_core.c.o
  69. [ 55%] Building CXX object CMakeFiles/randomx.dir/src/blake2_generator.cpp.o
  70. [ 58%] Building CXX object CMakeFiles/randomx.dir/src/instructions_portable.cpp.o
  71. [ 61%] Building C object CMakeFiles/randomx.dir/src/reciprocal.c.o
  72. [ 64%] Building CXX object CMakeFiles/randomx.dir/src/virtual_machine.cpp.o
  73. [ 70%] Building C object CMakeFiles/randomx.dir/src/blake2/blake2b.c.o
  74. [ 70%] Building CXX object CMakeFiles/randomx.dir/src/vm_compiled_light.cpp.o
  75. [ 76%] Building C object CMakeFiles/randomx.dir/src/jit_compiler_a64_static.S.o
  76. [ 76%] Building CXX object CMakeFiles/randomx.dir/src/jit_compiler_a64.cpp.o
  77. [ 79%] Linking CXX static library librandomx.a
  78. [ 79%] Built target randomx
  79. [ 88%] Building CXX object CMakeFiles/randomx-tests.dir/src/tests/tests.cpp.o
  80. [ 88%] Building CXX object CMakeFiles/randomx-codegen.dir/src/tests/code-generator.cpp.o
  81. [ 88%] Building CXX object CMakeFiles/randomx-benchmark.dir/src/tests/benchmark.cpp.o
  82. [ 91%] Building CXX object CMakeFiles/randomx-benchmark.dir/src/tests/affinity.cpp.o
  83. [ 94%] Linking CXX executable randomx-codegen
  84. [ 94%] Built target randomx-codegen
  85. [ 97%] Linking CXX executable randomx-benchmark
  86. [ 97%] Built target randomx-benchmark
  87. [100%] Linking CXX executable randomx-tests
  88. [100%] Built target randomx-tests
  89. localhost:~/RandomX/build# ./randomx-tests
  90. [ 1] Cache initialization ... PASSED
  91. [ 2] SuperscalarHash generator ... PASSED
  92. [ 3] randomx_reciprocal ... PASSED
  93. [ 4] randomx_reciprocal_fast ... SKIPPED
  94. [ 5] Dataset initialization (interpreter) ... PASSED
  95. [ 6] Dataset initialization (compiler) ... PASSED
  96. [ 7] AesGenerator1R ... PASSED
  97. [ 8] IADD_RS (decode) ... PASSED
  98. [ 9] IADD_RS (execute) ... PASSED
  99. [10] IADD_RS with immediate (decode) ... PASSED
  100. [11] IADD_RS with immediate (decode) ... PASSED
  101. [12] IADD_M (decode) ... PASSED
  102. [13] ISUB_R (decode) ... PASSED
  103. [14] ISUB_R (execute) ... PASSED
  104. [15] ISUB_R with immediate (decode) ... PASSED
  105. [16] ISUB_R with immediate (decode) ... PASSED
  106. [17] ISUB_M (decode) ... PASSED
  107. [18] IMUL_R (decode) ... PASSED
  108. [19] IMUL_R (execute) ... PASSED
  109. [20] IMUL_R with immediate (decode) ... PASSED
  110. [21] IMUL_R with immediate (execute) ... PASSED
  111. [22] IMUL_M (decode) ... PASSED
  112. [23] IMULH_R (decode) ... PASSED
  113. [24] IMULH_R (execute) ... PASSED
  114. [25] IMULH_R squared (decode) ... PASSED
  115. [26] IMULH_M (decode) ... PASSED
  116. [27] ISMULH_R (decode) ... PASSED
  117. [28] ISMULH_R (execute) ... PASSED
  118. [29] ISMULH_R squared (decode) ... PASSED
  119. [30] ISMULH_M (decode) ... PASSED
  120. [31] IMUL_RCP (decode) ... PASSED
  121. [32] IMUL_RCP zero imm32 (decode) ... PASSED
  122. [33] INEG_R (decode) ... PASSED
  123. [34] INEG_R (execute) ... PASSED
  124. [35] IXOR_R (decode) ... PASSED
  125. [36] IXOR_R (execute) ... PASSED
  126. [37] IXOR_R with immediate (decode) ... PASSED
  127. [38] IXOR_R with immediate (execute) ... PASSED
  128. [39] IXOR_M (decode) ... PASSED
  129. [40] IROR_R (decode) ... PASSED
  130. [41] IROR_R (execute) ... PASSED
  131. [42] IROL_R (decode) ... PASSED
  132. [43] IROL_R (execute) ... PASSED
  133. [44] ISWAP_R (decode) ... PASSED
  134. [45] ISWAP_R (execute) ... PASSED
  135. [46] FSWAP_R (decode) ... PASSED
  136. [47] FSWAP_R (execute) ... PASSED
  137. [48] FADD_R (decode) ... PASSED
  138. [49] FADD_R RoundToNearest (execute) ... PASSED
  139. [50] FADD_R RoundDown (execute) ... PASSED
  140. [51] FADD_R RoundUp (execute) ... PASSED
  141. [52] FADD_R RoundToZero (execute) ... PASSED
  142. [53] FADD_M (decode) ... PASSED
  143. [54] FADD_M (execute) ... PASSED
  144. [55] FSUB_R (decode) ... PASSED
  145. [56] FSUB_M (decode) ... PASSED
  146. [57] FSCAL_R (decode) ... PASSED
  147. [58] FSCAL_R (execute) ... PASSED
  148. [59] FMUL_R (decode) ... PASSED
  149. [60] FMUL_R RoundToNearest (execute) ... PASSED
  150. [61] FMUL_R RoundDown/RoundToZero (execute) ... PASSED
  151. [62] FMUL_R RoundUp (execute) ... PASSED
  152. [63] FDIV_M (decode) ... PASSED
  153. [64] FDIV_M RoundToNearest (execute) ... PASSED
  154. [65] FDIV_M RoundDown/RoundToZero (execute) ... PASSED
  155. [66] FDIV_M RoundUp (execute) ... PASSED
  156. [67] FSQRT_R (decode) ... PASSED
  157. [68] FSQRT_R RoundToNearest (execute) ... PASSED
  158. [69] FSQRT_R RoundDown/RoundToZero (execute) ... PASSED
  159. [70] FSQRT_R RoundUp (execute) ... PASSED
  160. [71] CBRANCH (decode) 100 ... PASSED
  161. [72] CBRANCH (decode) 200 ... PASSED
  162. [73] CBRANCH not taken (execute) ... PASSED
  163. [74] CBRANCH taken (execute) ... PASSED
  164. [75] CFROUND (decode) ... PASSED
  165. [76] ISTORE L1 (decode) ... PASSED
  166. [77] ISTORE L2 (decode) ... PASSED
  167. [78] ISTORE L3 (decode) ... PASSED
  168. [79] Hash test 1a (interpreter) ... PASSED
  169. [80] Hash test 1b (interpreter) ... PASSED
  170. [81] Hash test 1c (interpreter) ... PASSED
  171. [82] Hash test 1d (interpreter) ... PASSED
  172. [83] Hash test 1e (interpreter) ... PASSED
  173. [84] Hash test 1a (interpreter v2) ... PASSED
  174. [85] Hash test 1b (interpreter v2) ... PASSED
  175. [86] Hash test 1c (interpreter v2) ... PASSED
  176. [87] Hash test 1d (interpreter v2) ... PASSED
  177. [88] Hash test 1e (interpreter v2) ... PASSED
  178. [89] Hash test 2a (compiler) ... PASSED
  179. [90] Hash test 2b (compiler) ... PASSED
  180. [91] Hash test 2c (compiler) ... PASSED
  181. [92] Hash test 2d (compiler) ... PASSED
  182. [93] Hash test 2e (compiler) ... PASSED
  183. [94] Hash test 2a (compiler v2) ... PASSED
  184. [95] Hash test 2b (compiler v2) ... PASSED
  185. [96] Hash test 2c (compiler v2) ... PASSED
  186. [97] Hash test 2d (compiler v2) ... PASSED
  187. [98] Hash test 2e (compiler v2) ... PASSED
  188. [99] Cache initialization: SSSE3 ... SKIPPED
  189. [100] Cache initialization: AVX2 ... SKIPPED
  190. [101] Hash batch test ... PASSED
  191. [102] Preserve rounding mode ... PASSED
  192. [103] Commitment test ... PASSED
  193. [104] Hash test (interpreter switch v1 <-> v2) ... PASSED
  194. [105] Hash test (compiler switch v1 <-> v2) ... PASSED
  195.  
  196. All tests PASSED
  197. 3 tests were SKIPPED due to incompatible configuration (see above)
  198.  
Advertisement
Add Comment
Please, Sign In to add comment