Ignore:
Timestamp:
Jul 14, 2020, 1:39:15 PM (16 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/prelude/builtins.c

    re1801fc rf5d4f62  
    1010// Created On       : Fri Jul 21 16:21:03 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Nov 21 16:31:39 2019
    13 // Update Count     : 101
     12// Last Modified On : Mon Jul 13 21:10:02 2020
     13// Update Count     : 109
    1414//
    1515
     
    9595static inline forall( dtype DT ) DT * intptr( uintptr_t addr ) { return (DT *)addr; }
    9696
     97#if defined(__SIZEOF_INT128__)
     98// constructor for 128-bit numbers (all constants are unsigned as +/- are operators)
     99static 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
    97104// exponentiation operator implementation
    98105
Note: See TracChangeset for help on using the changeset viewer.