• Show log

    Commit

  • Hash : 9d58bbd4
    Author : Michael Forney
    Date : 2019-06-04T14:01:02

    Use bitwise test instead of popcount to check if one bit is set
    
    We don't need to determine the total number of bits set to determine if
    exactly one is set.
    
    Additionally, on x86_64 without any -march=* flag, __builtin_popcount
    will get compiled to a function call to the compiler runtime (on gcc),
    or a long sequence of bit operations (on clang).
    
    Signed-off-by: Michael Forney <mforney@mforney.org>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/libxkbcommon.git
    Git SSH git@git.kmx.io:kc3-lang/libxkbcommon.git
    Public access ? public
    Description

    keymap handling library for toolkits and window systems

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg_l thodg
    Tags