Changeset 22f94a4 for libcfa/prelude/builtins.c
- Timestamp:
- Aug 11, 2020, 4:40:15 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- 0d070ca
- Parents:
- 07d867b (diff), 129674b (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. - File:
-
- 1 edited
-
libcfa/prelude/builtins.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/prelude/builtins.c
r07d867b r22f94a4 10 10 // Created On : Fri Jul 21 16:21:03 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Nov 21 16:31:39 201913 // Update Count : 10 112 // Last Modified On : Mon Jul 13 21:10:02 2020 13 // Update Count : 109 14 14 // 15 15 … … 95 95 static inline forall( dtype DT ) DT * intptr( uintptr_t addr ) { return (DT *)addr; } 96 96 97 #if defined(__SIZEOF_INT128__) 98 // constructor for 128-bit numbers (all constants are unsigned as +/- are operators) 99 static inline void ?{}( unsigned int128 & this, unsigned long int h, unsigned long int l ) { 100 this = (unsigned int128)h << 64 | (unsigned int128)l; 101 } // ?{} 102 #endif // __SIZEOF_INT128__ 103 97 104 // exponentiation operator implementation 98 105
Note:
See TracChangeset
for help on using the changeset viewer.