Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 31, 2015
  1. Sync with SF 6

    authored
    bench: 8918745
Commits on Jan 26, 2015
  1. Sync with official

    authored
    bench: 8918745
Commits on Jan 25, 2015
  1. 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

    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
  2. @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. Sync with official

    authored
    bench: 8080602
  2. 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 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. 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 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. Assorted work in uci.cpp

    authored
    - Change UCI::value() signature
    
    This function should only return the value,
    lowerbound and upperbound info is up to the
    caller because it requires external knowledge,
    out of the scope of this little helper.
    
    - Retire 'key' command
    
    It is not an UCI command and is absolutely
    useless: never used.
    
    - Comments fixing and other trivia
    
    No functional change.
  3. Fix a silly warning with Intel compiler

    authored
    Intel compiler cries for an explicit cast
    
    warning #2259: non-pointer conversion from "double" to "int"
    may lose significant bits
    
    No functional change.
  4. Sync with official

    authored
    bench: 8224782
  5. Fix comments in thread.cpp

    authored
    And reshuffle a bit the functions to place
    them in a consistent order.
    
    To be on the safe side, patch has been
    validated for no regression/crashes with
    a small 8K games test with 3 threads:
    
    ELO: 3.98 +-4.4 (95%) LOS: 96.3%
    Total: 8388 W: 1500 L: 1404 D: 5484
    
    No functional change.
Commits on Jan 2, 2015
  1. Let material probing to access per-thread table

    authored
    It is up to material (and pawn) table look up
    code to know where the per-thread tables are,
    so change API to reflect this.
    
    Also some comment fixing while there
    
    No functional change.
  2. Retire Material::space_weight()

    authored
    Move all in evaluation.
    
    Simplify the code and concentrate in a single place
    all the logic behind space evaluation, making it much
    more clear.
    
    Verified also at STC it does not regress due to a possible
    slow down:
    
    LLR: 3.91 (-2.94,2.94) [-3.00,1.00]
    Total: 65744 W: 13285 L: 13194 D: 39265
    
    No functional change.
Commits on Dec 30, 2014
  1. Additional tidy up in timeman.cpp

    authored
    Fixed some comments and moved/renamed some
    variables.
    
    No functional change.
Commits on Dec 28, 2014
  1. Sync with official

    authored
    bench: 9498821
  2. Use score and value consistently

    authored
    And other assorted small fixing, code style
    tweaks and reshuffles in evaluate.cpp
    
    No functional change.
Commits on Dec 25, 2014
  1. Reformat promotion generation

    authored
    Use the same template of other pawns moves generation,
    make the code more uniform, simplify generate_promotions
    that has now been renamed.
    
    No functional change (verified also with perft).
Commits on Dec 22, 2014
  1. Prefer names to numbers in storm code

    authored
    Also replaces some tabs with spaces and
    change StormDanger order to reflect
    ShelterWeakness one.
    
    No functional change.
Commits on Dec 21, 2014
  1. Fix profile building

    authored
    Broken by some syzygy remnants.
    
    No functional change.
  2. Sync with official

    authored
    bench: 9498821
Commits on Dec 19, 2014
  1. Don't account for Tempo in specialized endgames

    authored
    The evaluation is already done by the specialized
    function, don't need to add something elese later.
    
    With this patch following positions are evaluated
    correctly as draws:
    
    8/6p1/1Pkp1p1p/2nNn2P/2P1K1P1/8/8/3B4 w - - 7
    8/1k4p1/1P1p1p1p/3NnK1P/2P3P1/1n6/4B3/8 w - -
    
    Verified it not regress with an STC test:
    LLR: 3.15 (-2.94,2.94) [-3.00,1.00]
    Total: 49812 W: 10095 L: 10016 D: 29701
    
    Reported by Arjun Temurnikar.
    
    bench: 8289983
Commits on Dec 14, 2014
  1. @zamar

    Improve comments in UCI

    authored zamar committed
    And simplify naming while there.
    
    No functional change.
    
    Resolves #159
Something went wrong with that request. Please try again.