Changeset 69914cbc for tests/zombies


Ignore:
Timestamp:
May 12, 2021, 4:30:27 PM (3 years ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
e2f601f
Parents:
67b421c
Message:

Replacing "Mike's old linked list" with "Mike's new linked list," including replatforming uses of the old one.

libcfa/src/containers/list.hfa ---[becomes]--> tests/zombies/linked-list-perf/mike-old.hfa
libcfa/src/containers/list2.hfa ---[becomes]--> libcfa/src/containers/list.hfa

There are no more multiple versions of "Mike's list" in libcfa, nor tests thereof.

The libcfa concurrency uses (alarm, kernel and ready_queue) are hereby ported to "Mike's new."

A best-effort port of executor, which was found not compiling with errors that seem unrelated to the linked list, is attempted too.

Location:
tests/zombies/linked-list-perf
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • tests/zombies/linked-list-perf/experiment.koad

    r67b421c r69914cbc  
    4949#elif defined IMPL_CFA_MIKE_OLD
    5050
     51        #include "mike-old.hfa"
     52        struct S {
     53                int f[64]; // FIXME: make "is volatile" consistent; given bug #TBD
     54                DLISTED_MGD_IMPL_IN(S)
     55        };
     56        DLISTED_MGD_IMPL_OUT(S)
     57
     58#elif defined IMPL_CFA_MIKE_POC
     59
     60        #include "mike-proto-list.hfa"
     61        struct S {
     62                int f[64]; // FIXME: make "is volatile" consistent; given bug #TBD
     63                inline dlink(S);
     64        };
     65        P9_EMBEDDED( S, dlink(S) )
     66
     67#elif defined IMPL_CFA_MIKE_NEW
     68
    5169        #include <containers/list.hfa>
    52         struct S {
    53                 int f[64]; // FIXME: make "is volatile" consistent; given bug #TBD
    54                 DLISTED_MGD_IMPL_IN(S)
    55         };
    56         DLISTED_MGD_IMPL_OUT(S)
    57 
    58 #elif defined IMPL_CFA_MIKE_POC
    59 
    60         #include "mike-proto-list.hfa"
    61         struct S {
    62                 int f[64]; // FIXME: make "is volatile" consistent; given bug #TBD
    63                 inline dlink(S);
    64         };
    65         P9_EMBEDDED( S, dlink(S) )
    66 
    67 #elif defined IMPL_CFA_MIKE_NEW
    68 
    69         #include <containers/list2.hfa>
    7070        struct S {
    7171                int f[64]; // FIXME: make "is volatile" consistent; given bug #TBD
Note: See TracChangeset for help on using the changeset viewer.