repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0801.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r6_2; atomic_int atom_1_r7_3; void *t0(void *arg){ label_1:; atomic_store_e...
2,189
27.441558
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO785.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r11_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, mem...
2,066
28.956522
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.0+po+addr+po.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,769
25.41791
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.2+eieio+eieio+po.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,734
24.514706
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0372.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r3_0; atomic_int atom_1_r4_3; atomic_int atom_1_r6_0; atomic_int atom_2_r1_1; void *t0(void *arg){ l...
2,392
28.54321
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO561.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,774
27.629032
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.4+eieio+lwsync+po.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r3_0; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,734
24.514706
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe083.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; atomic_int atom_1_r3_0; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,285
25.275862
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S0080.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,393
24.814815
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+ctrlisync+ctrl.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,525
24.864407
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO629.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,824
27.515625
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0154.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r8_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,536
25.964912
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S0130.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,367
24.811321
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/SB0045.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_0_r3_0; atomic_int atom_1_r7_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,575
25.711864
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0723.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r6_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,473
25.321429
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1227.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r5_2; atomic_int atom_1_r5_4; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,726
26.854839
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0177.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,796
27.078125
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0550.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r3_0; atomic_int atom_1_r3_1; atomic_int atom_1_r7_1; void *t0(void *arg){ label_1:; atomic_store_e...
1,869
27.769231
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0448.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[5]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
2,043
28.623188
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0054.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r3_1; atomic_int atom_0_r5_0; atomic_int atom_2_r1_2; atomic_int atom_2_r4_0; void *t0(void *arg){ l...
2,366
28.5875
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO330.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,457
25.035714
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0954.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r5_0; atomic_int atom_1_r7_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,916
26
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO923.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,723
27.262295
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/aclwdrr042.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r3_0; atomic_int atom_2_r1_2; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,971
25.648649
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0825.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r5_2; atomic_int atom_1_r6_3; void *t0(void *arg){ label_1:; atomic_store_e...
2,288
26.25
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0565.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r3_2; atomic_int atom_1_r6_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,809
26.424242
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0931.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r5_0; atomic_int atom_2_r3_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 3, memo...
2,089
26.5
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO252.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,776
27.206349
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S0013.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); atom...
1,467
25.214286
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0855.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_2_r4_3; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,150
27.302632
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0531.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r3_0; atomic_int atom_1_r6_2; atomic_int atom_1_r7_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,898
27.343284
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/3.LB+lwsync+sync+po.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = at...
1,875
25.422535
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.0+rfi-data+addr+rfi-addr.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r3_1; atomic_int atom_1_r1_1; atomic_int atom_2_r3_2; atomic_int atom_2_r5_0; void *t0(void *arg){ l...
2,514
28.940476
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.2+po+po+sync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,733
24.880597
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0194.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,805
27.666667
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB0116.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,569
26.068966
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO654.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r10_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, mem...
2,051
28.73913
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1297.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r5_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 3, memory_order_seq_cst); ato...
1,427
24.963636
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0167.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,215
27.779221
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/2+2W0023.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); atomic_store_explicit(&vars[...
1,305
23.641509
67
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0190.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
2,012
28.602941
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO801.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r9_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,760
27.868852
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.5+sync+lwsync+eieio.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); ato...
1,594
23.166667
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WW+RW+RR+WW+RW+RR+sync+sync+sync+lwsync+sync+lwsync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[6]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; atomic_int atom_2_r3_0; atomic_int atom_4_r1_1; atomic_int atom_5_r1_1;...
3,524
26.97619
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0022.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r6_0; atomic_int atom_1_r1_1; atomic_int atom_1_r4_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,822
27.936508
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO616.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[5]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,856
27.569231
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1098.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r4_3; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,802
25.514706
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO475.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,720
27.213115
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO830.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,826
27.546875
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe144.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
2,055
24.382716
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0351.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
2,011
28.588235
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0191.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r6_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,585
25.881356
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRC+lwsync+addr-fri-rfi-addr.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; atomic_int atom_2_r4_0; atomic_int atom_2_r7_1; atomic_int atom_2_r9_0;...
2,598
29.22093
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.4+eieio+po+eieio.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r3_0; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,734
24.514706
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0209.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; atomic_int atom_1_r6_1; void *t0(void *arg){ label_1:; int v2_r1 = at...
1,872
27.815385
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1183.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r3_0; atomic_int atom_1_r5_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,029
26.808219
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R0013.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r6_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); ato...
1,457
24.578947
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0192.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r5_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,580
26.258621
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO058.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,653
26.566667
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0460.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r3_3; atomic_int atom_2_r5_2; atomic_int atom_2_r1_2; void *t0(void *arg){ label_1:; atomic_store_e...
2,128
27.013158
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.3+rfi-data+rfi-data+addr.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r3_1; atomic_int atom_1_r3_2; atomic_int atom_2_r1_1; atomic_int atom_2_r4_0; void *t0(void *arg){ l...
2,541
28.905882
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO495.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r7_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,823
27.5
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0176.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,162
27.84
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0027.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r4_0; atomic_int atom_1_r1_1; atomic_int atom_1_r4_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,747
27.655738
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO731.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,927
27.776119
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1298.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r6_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 4, memory_order_seq_cst); ato...
1,487
25.571429
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO840.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r12_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
1,890
28.546875
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/PPO011.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r6_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,686
25.777778
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+eieio+eieio+po.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,875
25.422535
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/m6d.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r2_1; atomic_int atom_2_r2_2; atomic_int atom_2_r1_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,181
25.938272
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe209.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r1_1; atomic_int atom_0_r3_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,380
25.752809
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe191.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_2; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,830
24.788732
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1111.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r6_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,818
26.984615
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO134.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r10_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
1,916
28.492308
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0064.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r3_1; atomic_int atom_1_r1_1; atomic_int atom_1_r4_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,886
28.030769
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe159.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r1_2; atomic_int atom_1_r3_0; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
2,055
24.382716
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/posrr001.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; atomic_int atom_2_r3_1; atomic_int atom_2_r5_0; atomic_int atom_2_r7_0;...
2,560
28.77907
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0587.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r5_2; atomic_int atom_1_r4_5; atomic_int atom_1_r5_0; atomic_int atom_2_r4_4; atomic_int atom_2_r1_2;...
2,813
28.3125
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/dx4.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r2_2; atomic_int atom_1_r2_1; void *t0(void *arg){ label_1:; int v2_r2 = atomic_load_explicit(&vars[...
1,718
25.045455
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRW+2W+addr+po.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); retu...
1,540
23.854839
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Alan00.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[5]; atomic_int atom_2_r6_2; atomic_int atom_2_r7_0; atomic_int atom_2_r8_1; atomic_int atom_3_r6_1; atomic_int atom_3_r7_0;...
3,491
30.178571
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S0033.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); int ...
1,590
25.966102
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/mbl.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r2_1; atomic_int atom_1_r2_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 3, memo...
2,549
26.717391
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO492.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,590
26.431034
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/IRIW+syncs.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r3_0; atomic_int atom_3_r1_1; atomic_int atom_3_r3_0; void *t0(void *arg){ l...
2,248
25.77381
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0056.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
2,034
28.926471
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRW+2W+addr+lwsync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); retu...
1,541
23.47619
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.4+lwsync+lwsync+po.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r3_0; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,734
24.514706
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO519.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; atomic_int atom_1_r13_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, mem...
2,021
28.735294
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+eieio+po+lwsync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,875
25.422535
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/aclwsrr001.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r3_1; atomic_int atom_3_r1_2; atomic_int atom_3_r3_2; atomic_int atom_3_r5_0;...
2,791
27.783505
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0225.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r1_2; atomic_int atom_1_r1_1; atomic_int atom_1_r5_0; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,228
27.576923
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/podrwposwr066.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[5]; atomic_int atom_2_r1_1; atomic_int atom_3_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
2,340
25.908046
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.2+eieio+addr+lwsync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,771
24.681159
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1096.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r5_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,892
25.661972
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0859.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r3_2; atomic_int atom_1_r6_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,709
26.142857
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO589.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r5_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,570
25.627119
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.0+sync+eieio+sync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,735
24.15942
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0076.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r4_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,463
25.618182
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO683.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,889
27.636364
69
c