Changeset f4530d7


Ignore:
Timestamp:
May 23, 2020, 8:22:41 AM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
cbbd8fd7
Parents:
7119daa
Message:

turn on -mcx16 flag for double-wide CAS all the time in cfa.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • driver/cfa.cc

    r7119daa rf4530d7  
    1010// Created On       : Tue Aug 20 13:44:49 2002
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon May 18 13:26:26 2020
    13 // Update Count     : 424
     12// Last Modified On : Mon May 18 21:50:54 2020
     13// Update Count     : 425
    1414//
    1515
     
    301301        } // for
    302302
     303        #ifdef __x86_64__
     304        args[nargs++] = "-mcx16";                                                       // allow double-wide CAS
     305        #endif // __x86_64__
     306
    303307        #ifdef __DEBUG_H__
    304308        cerr << "args:";
     
    415419                args[nargs++] = "-lcfa";
    416420                args[nargs++] = "-Wl,--pop-state";
     421                args[nargs++] = "-pthread";
    417422                #ifdef __x86_64__
    418                 args[nargs++] = "-mcx16";                                               // allow double-wide CAS
    419                 args[nargs++] = "-latomic";
     423                args[nargs++] = "-latomic";                                             // allow double-wide CAS
    420424                #endif // __x86_64__
    421                 args[nargs++] = "-pthread";
    422425                args[nargs++] = "-ldl";
    423426                args[nargs++] = "-lrt";
Note: See TracChangeset for help on using the changeset viewer.