Commit Graph

142 Commits

Author SHA1 Message Date
XMRig
e78716ef05 Merge branch 'dev' of github.com:xmrig/xmrig into dev 2025-06-29 12:29:01 +07:00
XMRig
1c70cd4557 Improved LibreSSL support. 2025-06-29 12:28:35 +07:00
Ben Westover
4651aba2db Add armv8l to list of 32 bit ARM targets
armv8l is what CMAKE_SYSTEM_PROCESSOR is set to when an ARMv8 processor
is in 32-bit mode, so it should be added to the ARMv7 target list even
though it's v8 because it's 32 bits. Currently, it's not in any ARM
target list which means x86 is assumed and the build fails.
2025-06-24 15:28:01 -04:00
Ben Westover
99f131d53a cflags: Add lax-vector-conversions on ARMv7
lax-vector-conversions is enabled in the CXXFLAGS but not CFLAGS for ARMv7.
This commit adds it to CFLAGS which fixes the ARMv7 build (Fixes: #3673).
2025-06-18 16:38:05 -04:00
XMRig
a1b0c7bf85 Add detection for _aligned_malloc. 2025-06-15 20:06:19 +07:00
SChernykh
ee5555773e Better detection of aligned malloc functions 2025-06-14 18:00:27 +02:00
XMRig
1a7308bc91 Fixed UTF-8 paths support for the config file with Clang compiler on Windows ARM64. 2025-06-14 15:38:25 +07:00
XMRig
b0ac0e4042 Remove deprecated -Ofast for Clang. 2025-06-13 21:53:03 +07:00
XMRig
3060e76bf5 Initial Windows ARM64 support via MSYS2. 2025-06-13 03:00:34 +07:00
XMRig
00ffa05dc0 Update llhttp to 9.3.0 2025-06-09 03:02:26 +07:00
XMRig
16f8b9d544 Universal fix for NaN and Infinity in JSON output 2025-06-06 14:36:21 +07:00
XMRig
e6b3f101e8 Added new CMake options ARM_V8 and ARM_V7. 2023-06-04 20:32:05 +07:00
XMRig
088f88b94e Cleanup. 2023-02-09 13:55:11 +07:00
SChernykh
bfa1023ac5 DragonflyBSD compilation fixes 2022-12-17 13:11:14 +01:00
SChernykh
f97edb0c3d MSVC build: enabled parallel compilation 2022-11-15 07:45:54 +01:00
SChernykh
f329375360 RandomX: added Blake2 AVX2 version
+0.1% speedup on AMD Zen2/Zen3 and Intel CPUs which support AVX2.
2022-08-25 20:39:54 +02:00
xmrig
2f92967aaf Merge pull request #3075 from dev-0x7C6/master
Recognize armv7ve as valid ARMv7 target.
2022-08-19 02:30:27 +07:00
Bartłomiej Burdukiewicz
d3cb249cb0 Recognize armv7ve as valid ARMv7 target.
Docs: https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html

'armv7ve' - The extended version of the ARMv7-A architecture with support for virtualization.

Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
2022-06-21 18:31:24 +02:00
SChernykh
637c7c9209 Removed deprecated AstroBWTv1 and v2 2022-06-12 11:47:36 +02:00
SChernykh
a260502f78 Dero HE fork support (astrobwt/v2 algorithm) 2022-03-05 00:31:18 +01:00
SChernykh
422ef4f4d7 Fixed armv7 compilation
Fix for error `Unsupported target. Must be either ARMv7-A+NEON or ARMv8-A.`
2022-01-25 12:37:41 +01:00
SChernykh
bd30b3e29f Check compiler support for VAES 2021-11-29 09:48:15 +01:00
SChernykh
cf63ab248a Disable VAES in 32-bit builds 2021-11-29 09:32:00 +01:00
SChernykh
fa9b5c7b6e GhostRider algorithm (Raptoreum) support 2021-11-23 08:14:01 +01:00
XMRig
408a6df293 Fixed clang build. 2021-08-29 18:52:11 +07:00
SChernykh
61b72626d9 AstroBWT: add AVX2 Salsa20 implementation
+4.5% speedup on Ryzen 5 5600X
2021-08-29 10:35:43 +02:00
XMRig
82a21cb562 Cleanup ARM code. 2021-08-27 12:36:08 +07:00
SChernykh
411b2d6396 Cryptonote tools WIP 2021-06-15 00:28:32 +02:00
SChernykh
14dda33b3c Update randomx.cmake 2021-04-03 17:59:28 +02:00
SChernykh
2ef064da60 Don't use RandomX JIT if WITH_ASM=OFF
Because RandomX JIT use asm code
2021-04-02 10:05:46 +02:00
XMRig
61d5f1aacb Added RxMsr class. 2021-01-23 23:23:39 +07:00
XMRig
8a64a827f7 Move Ryzen related fixes to RxFix class. 2021-01-23 00:27:56 +07:00
XMRig
0273ea7140 Added new class Msr. 2021-01-22 23:50:25 +07:00
XMRig
5f35af71a2 Fixed Xcode generator. 2020-12-15 22:47:22 +07:00
XMRig
84443a4e8b Added generic secure JIT support for RandomX. 2020-12-11 23:17:54 +07:00
XMRig
b814c1c12f Removed libcpuid support. 2020-12-06 21:51:24 +07:00
XMRig
4569eea6f6 Move Profiler and more cleanup. 2020-12-04 09:23:40 +07:00
SChernykh
21022fe226 Also fix RelWithDebIfno build in Visual Studio 2020-10-27 14:25:43 +01:00
SChernykh
a046437d5f Added benchmark and stress test
Easy to use and zero configuration embedded benchmark/stress test.
2020-10-14 19:45:05 +02:00
SChernykh
c370d54e74 Fix 32-bit compilation 2020-10-07 18:19:35 +02:00
XMRig
9e474f49c0 Fix x86 build. 2020-10-01 17:46:05 +07:00
XMRig
92835b608f Renamed WITH_SSE to WITH_SSE4_1 and make it work on all platforms. 2020-10-01 11:00:08 +07:00
Dusan Klinec
a690329e5a fies #1844, adds WITH_SSE cmake option
now it is possible to disable sse for Blake2, which is not supported on ARMs
2020-09-30 20:09:54 +02:00
SChernykh
36592c2fe0 RandomX: isolate SSE4.1 code to fix crashes on old CPUs 2020-09-27 11:46:32 +02:00
SChernykh
411ba9f80d Fixed SSE4.1 for old CPUs
Enable SSE4.1 only where it's needed.
2020-09-27 08:55:57 +02:00
SChernykh
9a53285c5f RandomX: added SSE4.1-optimized Blake2b
+0.15% on `rx/0`
+0.3% on `rx/wow`
2020-09-10 14:28:40 +02:00
XMRig
eb9f98b8ce Better scripts/build.*.sh compatibility. 2020-08-23 15:46:56 +07:00
XMRig
5850a2aa26 Disable GPU backends with static build on Linux. 2020-08-20 15:02:31 +07:00
XMRig
a577c15c92 Merge branch 'master' of https://github.com/alxnegrila/xmrig into dev 2020-08-20 14:40:53 +07:00
SChernykh
3c383c59dc Fixed crash in RelWithDbgInfo MSVC build
Same problem as in https://github.com/xmrig/xmrig/pull/1784 , fixed with compiler flags this time.
2020-07-29 10:39:58 +02:00