<<  >> (p.37)
    Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 444202 times)
    hmage
    Member
    **
    Offline Offline

    Activity: 83
    Merit: 10


    View Profile
    June 02, 2016, 04:41:40 PM
    Last edit: June 02, 2016, 04:59:58 PM by hmage
     #721

    The bottom line is the same build is being seen as AES on westmere but non AES on my skylake.
    The difference with checking AES is that is the compiler macro that is now showing conflicting results.
     __AES__ returns true on westmere and false on skylake. And that's where I'm stuck.


    __AES__ does not change between processors if the binary does not change. Same for __SSE2__ and similar.

    Observe: https://godbolt.org/g/WdT8c5

    Try changing compile flags from -march=skylake to -march=core2 to -march=native or others from this list. You'll see that resulting assembler code changes in how many times print is called and what string constants are defined.

    When __AES__ is not defined, then printf("AES\n") doesn't even make it into the binary. Same for others.

    When the user said he's using the same binary as yours, he might said that by mistake -- you need to compare sha1sums of the binaries to make sure -- he might be running different .exe than yours.

    Care to take another shot? Even when you miss the mark you make me think a little differently.
    No comments.
Page 36
Viewing Page: 37