Skip to content

Apply softAES asm for older CPUs from xmrig via @cppdev-123#2372

Open
Spudz76 wants to merge 3 commits intofireice-uk:devfrom
Spudz76:dev-oldCPUs
Open

Apply softAES asm for older CPUs from xmrig via @cppdev-123#2372
Spudz76 wants to merge 3 commits intofireice-uk:devfrom
Spudz76:dev-oldCPUs

Conversation

@Spudz76
Copy link
Contributor

@Spudz76 Spudz76 commented Mar 25, 2019

(mostly) Same as #2362 minus all the off-topic hacks and whitespace change bits; probably still needs some tuneups but at least @psychocrypt might be able to read it now

@psychocrypt
Copy link
Collaborator

psychocrypt commented Mar 25, 2019 via email

@psychocrypt psychocrypt self-requested a review March 27, 2019 19:34
@Spudz76
Copy link
Contributor Author

Spudz76 commented Mar 27, 2019

Still kind of hacking on it / it doesn't actually work yet / but now its has some more wiring done (hopefully close to correct/useful or on the right track)

@psychocrypt
Copy link
Collaborator

sry for the long delay I will review this PR this week.

@Spudz76
Copy link
Contributor Author

Spudz76 commented Apr 3, 2019

It is quite a mess, now, since the whitespace changes and other giant leaps of code. :/

@psychocrypt
Copy link
Collaborator

@Spudz76 I have not forget you, I am currently busy because of some health issues of myself and my kid.

@psychocrypt
Copy link
Collaborator

I am currently testing this code but somehow under linux it crashes:

[2019-05-18 21:10:31] : Difficulty changed. Now: 30000.
[2019-05-18 21:10:31] : Pool logged in.
*** stack smashing detected ***: <unknown> terminated
zsh: abort (core dumped)  ./xmr-stak -C v8.txt --noNVIDIA

I am currently searching the reason

int32_t cpu_HEFP = 0; // Highest Extended Function Parameter
int32_t cpu_info[4];
char cpustr[13] = {0};
char brandstr[13] = {0};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if I set this to 64 it solves the first issue

@psychocrypt
Copy link
Collaborator

It is still crashing under linux. Need to look deeper into it.

@psychocrypt
Copy link
Collaborator

I looked in to the original Pr and @cppdev-123 mentioned that it crashes under linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants