#2018-007
1) Donation default level decreased to 1% 2) Cmake flags adjusted according to @josiahw sugestion. Result is faster code.
This commit is contained in:
parent
9607515904
commit
0bafcb9ad5
4 changed files with 11 additions and 8 deletions
|
@ -21,7 +21,7 @@ Originally forked from xmrig/xmrig with full development in C++11.
|
||||||
* [Contacts](#contacts)
|
* [Contacts](#contacts)
|
||||||
|
|
||||||
## Version
|
## Version
|
||||||
* Code version: 0.0.5
|
* Code version: 0.0.6
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
* High performance.
|
* High performance.
|
||||||
|
@ -101,7 +101,7 @@ Since avujic/xmr_arch64 version 0.0.2
|
||||||
## Other information
|
## Other information
|
||||||
* No HTTP support, only stratum protocol support.
|
* No HTTP support, only stratum protocol support.
|
||||||
* No TLS support.
|
* No TLS support.
|
||||||
* Default donation 3% (3 minutes in 100 minutes) can be reduced to 1% via command line option `--donate-level`.
|
* Default donation 1% (1 minute in 100 minutes) can be reduced to 0% via command line option `--donate-level`.
|
||||||
|
|
||||||
|
|
||||||
### CPU mining performance
|
### CPU mining performance
|
||||||
|
|
|
@ -15,7 +15,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast -s -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2")
|
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast -s -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2")
|
||||||
|
|
||||||
if (XMRIG_ARMv8)
|
if (XMRIG_ARMv8)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv8-a+crypto")
|
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv8-a+crypto")
|
||||||
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv8-a+crc")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=armv8-a+crypto -flax-vector-conversions")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=armv8-a+crypto -flax-vector-conversions")
|
||||||
elseif (XMRIG_ARMv7)
|
elseif (XMRIG_ARMv7)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=neon")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=neon")
|
||||||
|
@ -56,8 +57,10 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES Clang)
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast -funroll-loops -fmerge-all-constants")
|
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast -funroll-loops -fmerge-all-constants")
|
||||||
|
|
||||||
if (XMRIG_ARMv8)
|
if (XMRIG_ARMv8)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv8-a+crypto")
|
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv8-a+crypto")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=armv8-a+crypto")
|
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=armv8-a+crypto")
|
||||||
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mcpu=cortex-a53 -march=armv8-a+crc -mtune=cortex-a53")
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mcpu=cortex-a53 -march=armv8-a+crc -mtune=cortex-a53")
|
||||||
elseif (XMRIG_ARMv7)
|
elseif (XMRIG_ARMv7)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=neon -march=${CMAKE_SYSTEM_PROCESSOR}")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=neon -march=${CMAKE_SYSTEM_PROCESSOR}")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpu=neon -march=${CMAKE_SYSTEM_PROCESSOR}")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpu=neon -march=${CMAKE_SYSTEM_PROCESSOR}")
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
* If you plan on changing this setting to 0 please consider making a one off donation to my wallet:
|
* If you plan on changing this setting to 0 please consider making a one off donation to my wallet:
|
||||||
* XMR:[44bF1RTZVcVc45wNiDQVTp7hwyZ5juMf8W78j1YrfChkP2og2Y44ph3WbwaVe4vUMveKAzAiA4j8xgUi29TpKXpm42GAEjd]
|
* XMR:[44bF1RTZVcVc45wNiDQVTp7hwyZ5juMf8W78j1YrfChkP2og2Y44ph3WbwaVe4vUMveKAzAiA4j8xgUi29TpKXpm42GAEjd]
|
||||||
*/
|
*/
|
||||||
constexpr const int kDonateLevel = 3;
|
constexpr const int kDonateLevel = 1;
|
||||||
|
|
||||||
|
|
||||||
#endif /* __DONATE_H__ */
|
#endif /* __DONATE_H__ */
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#define APP_ID "xmr_arh64"
|
#define APP_ID "xmr_arh64"
|
||||||
#define APP_NAME "xmr_arh64"
|
#define APP_NAME "xmr_arh64"
|
||||||
#define APP_DESC "amr_arh64 CPU miner"
|
#define APP_DESC "amr_arh64 CPU miner"
|
||||||
#define APP_VERSION "0.0.5"
|
#define APP_VERSION "0.0.6"
|
||||||
#define APP_DOMAIN "eplus.systems"
|
#define APP_DOMAIN "eplus.systems"
|
||||||
#define APP_SITE "xmr.eplus.systems"
|
#define APP_SITE "xmr.eplus.systems"
|
||||||
#define APP_COPYRIGHT "Copyright (C) 2017-2018 ePlus Systems Ltd. [www.eplus.systems]"
|
#define APP_COPYRIGHT "Copyright (C) 2017-2018 ePlus Systems Ltd. [www.eplus.systems]"
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
#define APP_VER_MAJOR 0
|
#define APP_VER_MAJOR 0
|
||||||
#define APP_VER_MINOR 0
|
#define APP_VER_MINOR 0
|
||||||
#define APP_VER_BUILD 5
|
#define APP_VER_BUILD 6
|
||||||
#define APP_VER_REV 0
|
#define APP_VER_REV 0
|
||||||
|
|
||||||
#endif /* __VERSION_H__ */
|
#endif /* __VERSION_H__ */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue