Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU: fix logical error #1872

Merged
merged 1 commit into from
Oct 8, 2018

Conversation

psychocrypt
Copy link
Collaborator

Fix wrong warning about unknown ASM type

@@ -611,7 +611,7 @@ minethd::cn_hash_fun minethd::func_multi_selector(bool bHaveAes, bool bNoPrefetc
}
if(asm_version_str == "auto" && (selected_asm != "intel_avx" || selected_asm != "amd_avx"))
printer::inst()->print_msg(L3, "Switch to assembler version for '%s' cpu's", selected_asm.c_str());
else if(selected_asm != "intel_avx" || selected_asm != "amd_avx") // unknown asm type
else if(selected_asm != "intel_avx" && selected_asm != "amd_avx") // unknown asm type
Copy link
Owner

Choose a reason for hiding this comment

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

Can you fix that indent please?

Fix wrong warning about unknown ASM type
@psychocrypt psychocrypt force-pushed the fix-asmWarningLogicalError branch from 0e027f1 to 53652d3 Compare October 8, 2018 13:01
@psychocrypt
Copy link
Collaborator Author

I fixed all indents of the if (was totally wrong)

@fireice-uk fireice-uk merged commit 1059326 into fireice-uk:dev Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants