Ignore:
Timestamp:
Nov 12, 2020, 11:04:23 PM (15 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
726b748
Parents:
10d609a (diff), 57ccff1 (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
  • tests/references.cfa

    r10d609a r9139540  
    124124                int *p = &a;
    125125                asm (
    126                         "incl %[p]\n\t"
    127                         : [p] "+m" (*p)
     126                        #if defined( __i386 ) || defined( __x86_64 )
     127                                "incl %[p]\n\t"
     128                                : [p] "+m" (*p)
     129                        #elif defined( __aarch64__ )
     130                                "ldr     w1, %[p]\n\t"
     131                                "add     w1, w1, 1\n\t"
     132                                "str     w1, %[p]\n\t"
     133                                : [p] "+m" (*p) ::"w1"
     134                        #endif
    128135                );
    129136                printf("%d\n", a);
Note: See TracChangeset for help on using the changeset viewer.