- Timestamp:
- Jul 14, 2020, 1:39: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
- Children:
- 0aec496
- Parents:
- e1801fc (diff), b4cd58ed (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. - Location:
- libcfa
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified libcfa/prelude/builtins.c ¶
re1801fc rf5d4f62 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 -
TabularUnified libcfa/src/Makefile.am ¶
re1801fc rf5d4f62 40 40 if BUILDLIB 41 41 headers_nosrc = bitmanip.hfa exception.hfa math.hfa gmp.hfa time_t.hfa clock.hfa \ 42 bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa containers/list.hfa containers/stackLockFree.hfa 42 bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa \ 43 containers/list.hfa containers/stackLockFree.hfa concurrency/iofwd.hfa 44 43 45 headers = common.hfa fstream.hfa heap.hfa iostream.hfa iterator.hfa limits.hfa rational.hfa \ 44 46 time.hfa stdlib.hfa memory.hfa \ -
TabularUnified libcfa/src/Makefile.in ¶
re1801fc rf5d4f62 246 246 bits/align.hfa bits/containers.hfa bits/defs.hfa \ 247 247 bits/debug.hfa bits/locks.hfa containers/list.hfa \ 248 containers/stackLockFree.hfa concurrency/ coroutine.hfa \249 concurrency/ thread.hfa concurrency/kernel.hfa \250 concurrency/ monitor.hfa concurrency/mutex.hfa \251 concurrency/ invoke.h248 containers/stackLockFree.hfa concurrency/iofwd.hfa \ 249 concurrency/coroutine.hfa concurrency/thread.hfa \ 250 concurrency/kernel.hfa concurrency/monitor.hfa \ 251 concurrency/mutex.hfa concurrency/invoke.h 252 252 HEADERS = $(nobase_cfa_include_HEADERS) 253 253 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) … … 470 470 #---------------------------------------------------------------------------------------------------------------- 471 471 @BUILDLIB_TRUE@headers_nosrc = bitmanip.hfa exception.hfa math.hfa gmp.hfa time_t.hfa clock.hfa \ 472 @BUILDLIB_TRUE@ bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa containers/list.hfa containers/stackLockFree.hfa 472 @BUILDLIB_TRUE@ bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa \ 473 @BUILDLIB_TRUE@ containers/list.hfa containers/stackLockFree.hfa concurrency/iofwd.hfa 473 474 474 475 @BUILDLIB_FALSE@headers = -
TabularUnified libcfa/src/concurrency/kernel.cfa ¶
re1801fc rf5d4f62 10 10 // Created On : Tue Jan 17 12:27:26 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T ue May 26 22:05:19202013 // Update Count : 5912 // Last Modified On : Thu Jul 9 06:22:54 2020 13 // Update Count : 66 14 14 // 15 15 … … 148 148 //----------------------------------------------------------------------------- 149 149 // Global state 150 thread_local struct KernelThreadData kernelTLS __attribute__ ((tls_model ( "initial-exec" ))) = {150 thread_local struct KernelThreadData kernelTLS __attribute__ ((tls_model ( "initial-exec" ))) @= { 151 151 NULL, // cannot use 0p 152 152 NULL, 153 153 NULL, 154 154 { 1, false, false }, 155 6u //this should be seeded better but due to a bug calling rdtsc doesn't work156 155 }; 157 156 -
TabularUnified libcfa/src/iostream.cfa ¶
re1801fc rf5d4f62 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Jul 6 08:49:48202013 // Update Count : 106 412 // Last Modified On : Wed Jul 8 22:14:20 2020 13 // Update Count : 1069 14 14 // 15 15 … … 675 675 f.val = val % power; 676 676 if ( cnt == 1 && f.flags.left ) { wd = f.wd; f.wd = maxdig; } // copy f.wd and reset for printing middle chunk 677 // printf( "R val:%#lx(%lu) wd:%u pc:%u base:%c neg:%d pc:%d left:%d nobsdp:%d sign:%d pad0:%d\n", 678 // f.val, f.val, f.wd, f.pc, f.base, f.flags.neg, f.flags.pc, f.flags.left, f.flags.nobsdp, f.flags.sign, f.flags.pad0 ); 677 679 (ostype &)(os | f); 678 680 if ( cnt == 1 ) { … … 715 717 716 718 if ( f.flags.neg ) f.val = -f.val; 719 // printf( "L val:%#lx(%lu) wd:%u pc:%u base:%c neg:%d pc:%d left:%d nobsdp:%d sign:%d pad0:%d\n", 720 // f.val, f.val, f.wd, f.pc, f.base, f.flags.neg, f.flags.pc, f.flags.left, f.flags.nobsdp, f.flags.sign, f.flags.pad0 ); 717 721 (ostype &)(os | f); 718 722 -
TabularUnified libcfa/src/iostream.hfa ¶
re1801fc rf5d4f62 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Jul 4 18:31:48202013 // Update Count : 34 312 // Last Modified On : Mon Jul 13 22:11:41 2020 13 // Update Count : 344 14 14 // 15 15 … … 216 216 IntegralFMTDecl( int128, 'd' ) 217 217 IntegralFMTDecl( unsigned int128, 'u' ) 218 #endif 218 #endif // __SIZEOF_INT128__ 219 219 220 220 // *********************************** floating point ***********************************
Note: See TracChangeset
for help on using the changeset viewer.