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/safe054.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; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[0], memory_order_seq_cst)...
1,914
23.551282
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0358.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,965
28.343284
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/podrw001.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_3_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
2,142
25.134146
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0627.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_r5_0; atomic_int atom_1_r7_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,080
27.121622
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+lwsync+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; 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/MP+PPO339.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_r11_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
1,938
27.940299
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+eieio+ctrl+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; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,975
25.702703
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO598.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,829
27.153846
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ccv2.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_r2_0; atomic_int atom_3_r1_0; atomic_int atom_3_r2_0; void *t0(void *arg){ l...
2,471
27.090909
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0630.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_2; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,942
25.986111
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0118.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,511
26
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/IRIW+sync+ctrlisync.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,348
26
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.1+rfi-data+lwsync+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_0_r3_2; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,979
25.756757
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRC+isync+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_1; atomic_int atom_2_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,787
24.913043
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO888.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,561
26.403509
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO748.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,949
27.676471
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0723.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_4; atomic_int atom_2_r4_3; atomic_int atom_2_r1_1; void *t0(void *arg){ l...
2,536
28.847059
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0680.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_2; atomic_int atom_1_r5_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,019
26.297297
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB0056.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,674
26.459016
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0512.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; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,652
27.016949
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO633.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,751
27.258065
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO279.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_r11_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
2,043
28.2
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0835.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_r3_3; atomic_int atom_1_r5_4; atomic_int atom_1_r7_0; void *t0(void *arg){ l...
2,330
28.1375
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R+eieio+isync.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_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); ato...
1,189
22.333333
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/l3.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_1; atomic_int atom_1_r1_0; void *t0(void *arg){ label_1:; int v2_r2 = atomic_load_explicit(&vars[...
1,646
23.954545
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.2+lwsync+lwsync+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,735
24.15942
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0401.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_0; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,117
27.24
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1184.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,371
24.407407
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO515.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,669
26.833333
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB0109.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,714
26.66129
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1286.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_r3_3; atomic_int atom_1_r4_4; void *t0(void *arg){ label_1:; atomic_store_e...
2,387
26.448276
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0067.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_2; atomic_int atom_0_r4_0; atomic_int atom_3_r1_2; atomic_int atom_3_r4_0; void *t0(void *arg){ l...
2,528
27.738636
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO724.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,877
27.454545
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0370.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_2; atomic_int atom_1_r1_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,567
26.034483
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1139.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,756
26.888889
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/dx6.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,682
24.5
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R0000.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_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); ato...
1,295
23.923077
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0040.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_2; atomic_int atom_2_r1_2; atomic_int atom_3_r1_1; atomic_int atom_3_r4_0; void *t0(void *arg){ l...
2,588
28.089888
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO140.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,710
27.516667
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+rfi-data+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[2]; atomic_int atom_0_r3_1; atomic_int atom_1_r1_1; atomic_int atom_1_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,711
26.612903
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.2+eieio+addr+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; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,807
25.202899
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0008.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,683
27.066667
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+sync+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[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,876
25.069444
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0628.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_4; atomic_int atom_1_r4_3; atomic_int atom_1_r1_1; atomic_int atom_3_r3_0; void *t0(void *arg){ l...
2,648
27.793478
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0186.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_4; atomic_int atom_1_r1_1; atomic_int atom_1_r6_2; atomic_int atom_2_r1_2; void *t0(void *arg){ l...
2,534
29.178571
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0152.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_4; atomic_int atom_1_r1_1; atomic_int atom_2_r4_3; atomic_int atom_2_r1_1; void *t0(void *arg){ l...
2,450
28.53012
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1083.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_r7_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,730
26.919355
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO071.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,559
25.896552
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0100.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_1_r1_2; atomic_int atom_1_r4_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,784
27.790323
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0022.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,593
26.482759
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO151.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; atomic_int atom_1_r14_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
1,939
28.393939
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0290.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,936
28.348485
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/podrwposwr028.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; atomic_int atom_1_r4_0; atomic_int atom_3_r1_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,520
27.011111
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+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; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,811
27.761905
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S0046.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); int ...
1,389
25.226415
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0731.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_2; atomic_int atom_1_r5_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,906
26.242857
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRW+2W+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[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,504
23.274194
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0383.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_4; atomic_int atom_1_r5_0; atomic_int atom_2_r4_3; atomic_int atom_2_r1_1;...
2,851
28.102041
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe344.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_0_r4_1; atomic_int atom_2_r1_1; atomic_int atom_2_r4_1; void *t0(void *arg){ l...
2,688
27.606383
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO042.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_r10_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
1,811
27.3125
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/posrr007.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_1; atomic_int atom_3_r3_1; void *t0(void *arg){ l...
2,614
27.423913
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO639.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_r12_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, mem...
2,048
28.695652
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO329.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; atomic_int atom_1_r12_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
2,053
27.929577
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO008.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,816
27.84127
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO120.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_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
1,895
28.625
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0196.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_r6_0; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,265
27.683544
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0717.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_0; atomic_int atom_1_r6_1; atomic_int atom_1_r7_1; void *t0(void *arg){ l...
2,332
28.1625
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe133.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_2_r1_1; atomic_int atom_3_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,285
25.275862
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0534.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; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,905
28.78125
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.5+po+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_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); atom...
1,592
23.890625
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0795.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; atomic_int atom_2_r3_2; void *t0(void *arg){ label_1:; atomic_store_e...
2,102
27.04
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO723.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_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,868
27.318182
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO653.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,864
27.692308
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0484.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,036
28.955882
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/RWC+ctrlisync+isync.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_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,887
25.222222
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO441.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,843
27.369231
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe440.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_2; atomic_int atom_1_r3_0; atomic_int atom_2_r3_1; void *t0(void *arg){ l...
2,616
26.840426
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0369.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_3; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
2,049
27.082192
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0525.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; atomic_int atom_1_r5_0; atomic_int atom_2_r1_1; void *t0(void *arg){ l...
2,453
28.566265
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.2+rfi-data+addr+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_0_r3_2; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,156
27.012987
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1295.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_r3_2; 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/DETOUR1238.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_r3_3; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,803
25.144928
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO928.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,745
27.622951
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0803.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_0; atomic_int atom_1_r7_1; atomic_int atom_1_r8_2; void *t0(void *arg){ l...
2,392
28.54321
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO916.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,635
27.206897
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.5+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_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); atom...
1,592
23.890625
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO577.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...
1,843
27.8125
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0299.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; atomic_int atom_2_r5_2; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,349
28.012346
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.1+sync+lwsync+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_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,630
23.712121
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe475.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_2; atomic_int atom_0_r3_0; atomic_int atom_2_r1_1; atomic_int atom_2_r3_1; void *t0(void *arg){ l...
2,432
26.337079
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0350.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_r5_2; void *t0(void *arg){ label_1:; int v2_r1 = at...
1,995
26.722222
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO792.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_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, mem...
1,889
28.53125
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO628.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,895
27.727273
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0527.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; atomic_int atom_1_r7_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,959
27.823529
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0867.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_r3_3; atomic_int atom_1_r4_4; atomic_int atom_1_r5_0; void *t0(void *arg){ l...
2,529
26.802198
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO553.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,026
28.808824
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO009.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_r12_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
1,765
27.483871
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO522.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,660
26.683333
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/3.LB+sync+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_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/MP+PPO169.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_r9_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,631
26.661017
74
c