Changeset 490d9972
- Timestamp:
- Jan 2, 2018, 1:36:50 PM (6 years ago)
- 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:
- 54aba8d
- Parents:
- 93cdd5c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/bits/defs.h
r93cdd5c r490d9972 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // bits/defs.h --8 // 6 // 7 // defs.h -- 8 // 9 9 // Author : Thierry Delisle 10 // Created On : Thu Nov 09 13:24:10 201711 // 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 // 15 15 16 16 #pragma once … … 20 20 #include <stdint.h> 21 21 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) 24 24 #define thread_local _Thread_local 25 25
Note: See TracChangeset
for help on using the changeset viewer.