Changeset b6838214 for src/libcfa/bits


Ignore:
Timestamp:
Jan 23, 2018, 5:46:43 PM (6 years ago)
Author:
Alan Kennedy <afakenne@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
258e6ad5
Parents:
b158d8f (diff), 15d248e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

add context switch for ARM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/bits/defs.h

    rb158d8f rb6838214  
    1 //
     1// 
    22// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 //
    7 // bits/defs.h --
    8 //
     6// 
     7// defs.h --
     8// 
    99// Author           : Thierry Delisle
    10 // Created On       : Thu Nov 09 13:24:10 2017
    11 // Last Modified By :
    12 // Last Modified On :
    13 // Update Count     :
    14 //
     10// Created On       : Thu Nov  9 13:24:10 2017
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Tue Jan  2 09:17:06 2018
     13// Update Count     : 2
     14// 
    1515
    1616#pragma once
     
    2020#include <stdint.h>
    2121
    22 #define unlikely(x)    __builtin_expect(!!(x), 0)
    23 #define likely  (x)    __builtin_expect(!!(x), 1)
     22#define likely(x)   __builtin_expect(!!(x), 1)
     23#define unlikely(x) __builtin_expect(!!(x), 0)
    2424#define thread_local _Thread_local
    2525
Note: See TracChangeset for help on using the changeset viewer.