Ignore:
Timestamp:
Feb 21, 2016, 1:05:57 PM (4 years ago)
Author:
nmedfort
Message:

Check in of misc changes prior to symbol table work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/include/simd-lib/builtins.hpp

    r3850 r4937  
    1313#include "config.hpp"
    1414
    15 static IDISA_ALWAYS_INLINE long likely(long x);
    16 static IDISA_ALWAYS_INLINE long unlikely(long x);
     15static IDISA_ALWAYS_INLINE long LIKELY(long x);
     16static IDISA_ALWAYS_INLINE long UNLIKELY(long x);
    1717
    1818#if defined (_MSC_VER)
     
    2626#elif defined (__GNUC__)
    2727
    28         IDISA_ALWAYS_INLINE long likely(long x) {
     28        IDISA_ALWAYS_INLINE long LIKELY(long x) {
    2929                return __builtin_expect(x, 1);
    3030        }
    3131
    32         IDISA_ALWAYS_INLINE long unlikely(long x) {
     32        IDISA_ALWAYS_INLINE long UNLIKELY(long x) {
    3333                return __builtin_expect(x, 0);
    3434        }
Note: See TracChangeset for help on using the changeset viewer.