Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Jan 31, 2015
  1. Sync with SF 6

    authored
    bench: 8918745
Commits on Jan 27, 2015
  1. @zamar

    Stockfish 6

    zamar authored
    Stockfish bench signature is: 8918745
Commits on Jan 26, 2015
  1. Sync with official

    authored
    bench: 8918745
Commits on Jan 25, 2015
  1. @zamar

    Stockfish 6 Release Candidate 3

    zamar authored
    - Fix a skill level problem: Don't allow move pruning at root node
    - Revert "Fix profile build for gcc on Mac OSX". Results for a faster binary in x86-64.
    - Fix a MSVC warning
    
    Bench: 8918745
  2. @zamar

    Fix a skill level problem: Don't allow move pruning at root node

    Stefan Geschwentner authored zamar committed
    Bench: 8918745
    
    Resolves #231
  3. @zamar

    Revert "Fix profile build for gcc on Mac OSX"

    zamar authored
    Seems to be a performance regression for standard build.
    
    For SF6 people compiling on Mac OSX using profile-build option
    just need to make necessary adjustments manually...
    
    No functional change
    
    Resolves #223
  4. Fix a MSVC warning at W4

    authored
    Warning is C4512 (assignment operator could not be generated)
    
    Now, apart the foreign syzygy code, everything compiles
    without warnings at warning level 4.
    
    Backported from C++11 branch.
    
    No functional change.
Commits on Jan 24, 2015
  1. @zamar

    Stockfish 6 Release Candidate 2

    zamar authored
    - Fix a compilation issue related to BMI2 PEXT instruction
    - Retrieve a ponder move from TT if PV is only one move long
    
    Bench: 8080602
    
    No functional change
  2. @zamar

    Don't use _pext_u64() directly

    authored zamar committed
    This intrinsic to call BMI2 PEXT instruction is
    defined in immintrin.h. This header should be
    included only when USE_PEXT is defined, otherwise
    we define _pext_u64 as 0 forcing a nop.
    
    But under some mingw platforms, even if we don't
    include the header, immintrin.h gets included
    anyhow through an include chain that starts with
    STL <algorithm> header. So we end up both defining
    _pext_u64 function and at the same time defining
    _pext_u64 as 0 leading to a compile error.
    
    The correct solution is of not using _pext_u64 directly.
    
    This patch fixes a compile error with some mingw64
    package when compiling with x86-64.
    
    No functional change.
    
    Resolves #222
  3. @zamar

    Try hard to retrieve a ponder move

    authored zamar committed
    In case we stop the search during a fail-high
    it is possible we return to GUI without a ponder
    move. This patch try harder to find a ponder move
    retrieving it from TT. This is important in games
    played with 'ponder on'.
    
    bench: 8080602
    
    Resolves #221
Commits on Jan 18, 2015
  1. @zamar

    Stockfish 6 Release Candidate 1

    zamar authored
    Bench: 8080602
    
    No functional change
    
    Resolves #218
  2. @zamar

    Fix profile build for gcc on Mac OSX

    zamar authored
    Switch back to using -fprofile-generate and
    -fprofile-use flags
    
    No functional change
    
    Resolves #219
    Resolves #210
  3. @zamar

    Don't print fail-high or fail-lows in MultiPV mode

    zamar authored
    Supposed to give a better user experience when using MultiPV mode
    
    No functional change
    
    Resolves #217
  4. Sync with official

    authored
    bench: 8080602
  5. Fix syzygy warnings with Intel compiler

    authored
    Quick hack, a better job would require to
    first move all syzygy code up to SF standard.
    
    No functional change.
Commits on Jan 17, 2015
  1. Fix some missing rename from previous patch

    authored
    No functional change.
  2. Set 2GB TT size limit for 32 bits

    authored
    Import this simplified version
    that has been committed upstream.
    
    Now TT code is the same of official.
    
    No functional change.
  3. Fix a possible overflow in TT resize

    authored
    On platforms where size_t is 32 bit, we
    can have an overflow in this expression:
    
    (mbSize * 1024 * 1024)
    
    Fix it setting max hash size of 2GB on platforms
    where size_t is 32 bit.
    
    A small rename while there: now struct Cluster
    is definied inside class TranspositionTable so
    we should drop the redundant TT prefix.
    
    No functional change.
  4. Use size_t for clusterCount

    authored
    Sync with upstream but fixing few flows.
    Namely max hash size should be platform
    dependent as is size_t.
    
    No functional change.
  5. Sync with official

    authored
    bench: 8080602
Commits on Jan 16, 2015
  1. @zamar

    Simplify and optimize value extractors

    mstembera authored zamar committed
    Speed up results by Joona:
    
    gcc-4.7 (1.5%)
    gcc-4.8 (0.5%)
    gcc-4.9 (1.0%)
    
    Speed up results by mstembera:
    
    gcc 474
    p-value: 0.719
    
    gcc 482
    p-value: 1
    
    gcc 492
    p-value: 0.859
    
    No functional change
    
    Resolves #211
Commits on Jan 14, 2015
  1. @lucasart @zamar

    Enable futility pruning for PV nodes in qsearch

    lucasart authored zamar committed
    STC:
    
    LLR: 4.20 (-2.94,2.94) [-3.00,1.00]
    Total: 85573 W: 17195 L: 17125 D: 51253
    
    LTC:
    
    LLR: 2.94 (-2.94,2.94) [-3.00,1.00]
    Total: 43385 W: 7298 L: 7214 D: 28873
    
    Bench: 8080602
    
    Resolves #206
  2. @zamar

    Enable Futility pruning in PV nodes

    Stefan Geschwentner authored zamar committed
    STC:
    
    LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
    Total: 21553 W: 4342 L: 4221 D: 12990
    
    LTC:
    
    LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
    Total: 7675 W: 1351 L: 1209 D: 5115
    
    Bench: 8668014
    
    Resolves #205
Commits on Jan 13, 2015
  1. @hxim @zamar

    Use VALUE_ZERO instead of 0 when comparing with Value

    hxim authored zamar committed
    This is the correct practice.
    
    No functional change
    
    Resolves #208
Commits on Jan 11, 2015
  1. Assorted headers cleanup

    authored
    Mostly comments fixing and other small things.
    
    No functional change.
  2. @zamar

    Fix a crash of syzygy on Android

    authored zamar committed
    On Android-ARM current TB code crashes at
    random times even in single thread mode.
    
    Reported, debugged, fixed and verified
    by Peter Osterlund.
    
    No functional change.
    
    Resolves #201
  3. @Stefano80 @zamar

    Higher movetime resolution for benchmarks

    Stefano80 authored zamar committed
    Use a millisecond movetime precision for benchmarks
    
    No functional change
    
    Resolves #198
  4. Fix compile for Android 5

    authored
    Android 5 can only run position independent executables.
    
    Note that this breaks Android 4.0 and earlier.
    
    See here for more info:
    http://stackoverflow.com/questions/24818902/running-a-native-library-on-android-l-error-only-position-independent-executab
    
    Thanks to Peter Osterlund for the support.
    
    No functional change
Commits on Jan 10, 2015
  1. Use __builtin_popcountll

    authored
    Instead of asm instruction. Verified popcnt
    instruction is emitted both with gcc and
    clang.
    
    Ported from upstream.
    
    No functional change.
  2. Sync with official

    authored
    bench: 7604776
  3. Update copyright year

    authored
    No functional change.
Commits on Jan 7, 2015
  1. Assorted formatting and comment tweaks in position.h

    authored
    No functional change.
Commits on Jan 5, 2015
  1. @lucasart @zamar

    Tune null search reduction

    lucasart authored zamar committed
    STC
    
    LLR: 2.96 (-2.94,2.94) [-0.50,4.50]
    Total: 107289 W: 21851 L: 21325 D: 64113
    
    LTC
    
    LLR: 2.96 (-2.94,2.94) [0.00,5.00]
    Total: 83837 W: 14378 L: 13916 D: 55543
    
    Bench: 7604776
    
    Resolves #194
Commits on Jan 3, 2015
  1. Retire one implementation of pop_lsb()

    authored
    We have two implementations that are equivalent,
    so retire one.
    
    Plus usual tidy up of comments and code reshuffle.
    
    No functional change.
  2. @lucasart @zamar

    Remove a useless optimization

    lucasart authored zamar committed
    This optimization is aimed at old hardware only (withouth popcount), and even on
    non popcount compile (ARCH=x86-64), it provides no mesurable speedup:
    
    stat        test     master     diff
    mean   2,341,779  2,354,699  -12,920
    stdev     12,910     14,770   18,150
    
    speedup      -0.55%
    P(speedup>0)  23.8%
    
    No functional change.
    
    Resolves #187
Something went wrong with that request. Please try again.