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/LB+PPO0069.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[...
1,980
28.567164
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO759.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,778
27.238095
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0317.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,634
26.25
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO213.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,781
28.213115
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO103.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,973
28.462687
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO834.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,844
27.828125
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.0+sync+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_1_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,771
24.681159
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1073.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_r5_2; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,793
25.382353
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO278.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...
2,023
28.333333
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S0101.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,471
24.824561
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO360.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,798
27.555556
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0437.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,003
28.470588
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0057.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,859
28.52381
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S0171.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,406
24.581818
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO509.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,096
28.957143
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe522.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_r3_0; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,326
23.574074
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0668.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_2; atomic_int atom_1_r5_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,810
26.861538
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0881.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; atomic_int atom_1_r7_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,619
26.457627
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.0+lwsync+sync+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_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/MP+PPO115.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...
2,066
28.956522
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe357.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; atomic_int atom_2_r4_1; void *t0(void *arg){ l...
2,559
26.826087
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0492.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_r5_3; atomic_int atom_1_r5_2; atomic_int atom_1_r1_1; void *t0(void *arg){ l...
2,155
29.366197
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0859.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_r4_3; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,229
27.589744
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/SB0052.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_r5_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,413
24.709091
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0122.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_1_r5_4; atomic_int atom_2_r4_3; atomic_int atom_2_r1_1;...
2,709
29.795455
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO625.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...
1,997
28.382353
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO835.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_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
1,983
28.61194
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0352.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_r4_0; atomic_int atom_1_r6_1; void *t0(void *arg){ l...
2,296
28.075949
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0115.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,848
28.349206
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0164.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_r3_0; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,118
27.253333
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+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; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,189
22.333333
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/3.2W+eieio+eieio+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]; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); atomic_store_explicit(&vars[...
1,455
22.111111
64
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0192.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_1_r6_0; void *t0(void *arg){ label_1:; int v2_r1 = at...
1,818
27.873016
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.1+po+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_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); atom...
1,593
23.523077
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0810.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_3_r4_4; atomic_int atom_3_r1_2; void *t0(void *arg){ l...
2,711
27.851064
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO510.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,906
27.893939
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/iriwv3.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_0; atomic_int atom_0_r2_0; atomic_int atom_1_r1_0; atomic_int atom_1_r2_2; atomic_int atom_0_r2_2;...
3,717
33.425926
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.4+sync+eieio+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,735
24.15942
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.3+lwsync+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_r1_1; 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/S+PPO740.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/Z6.0+lwsync+sync+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/safe512.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_1_r1_1; atomic_int atom_1_r4_1; atomic_int atom_2_r1_2; atomic_int atom_2_r3_0;...
2,976
28.475248
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0032.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_r4_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,139
27.918919
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.1+po+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_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); atom...
1,593
23.523077
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+isync+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_1_r1_1; atomic_int atom_1_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,425
24.464286
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRW+WR+lwsyncs.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_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,646
23.954545
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB0025.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,671
26.409836
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO318.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,832
27.2
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0996.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_3; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,827
25.492754
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0174.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_1_r5_4; atomic_int atom_2_r4_3; atomic_int atom_2_r1_1;...
2,674
29.747126
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO397.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...
2,133
28.232877
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO440.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,803
27.1875
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe533.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_2; atomic_int atom_2_r3_0; void *t0(void *arg){ l...
2,521
26.413043
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO186.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,872
28.265625
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.0+eieio+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,770
25.044118
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+lwsync+ctrlisync+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,976
25.36
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0091.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[...
1,942
28.439394
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0134.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,962
28.742424
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0303.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_r5_2; atomic_int atom_2_r1_2; void *t0(void *arg){ label_1:; atomic_store_e...
2,211
27.727273
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe214.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_2; 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/WRW+2W+addr+rfi-data.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_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,926
26.140845
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0087.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_r4_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,857
28.03125
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO286.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,967
27.941176
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO543.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,031
28.449275
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0638.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_3; atomic_int atom_1_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,312
27.9125
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0197.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,874
28.296875
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO733.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,736
27.016129
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+lwsync+ctrlisync+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,976
25.36
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO882.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,890
28.546875
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+eieio+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_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,912
25.569444
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0253.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...
2,121
26.921053
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0365.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,505
25.421053
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe316.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_2; atomic_int atom_2_r4_0; atomic_int atom_3_r3_0; void *t0(void *arg){ l...
2,559
26.826087
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0200.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_3; atomic_int atom_1_r1_1; atomic_int atom_1_r5_1; atomic_int atom_2_r1_1; void *t0(void *arg){ l...
2,414
28.814815
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R+po+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); atom...
1,188
22.78
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO304.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,878
27.469697
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe202.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_2_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
2,144
24.535714
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO812.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,764
27.467742
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0254.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_r1_2; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,250
27.858974
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO741.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,944
28.029851
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO158.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.390625
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/m3d-correct.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_1; atomic_int atom_2_r1_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,861
25.985507
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO342.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,983
27.753623
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0664.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_r3_0; atomic_int atom_1_r5_1; atomic_int atom_1_r7_0; void *t0(void *arg){ l...
2,237
27.692308
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0327.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_0_r6_1; atomic_int atom_1_r1_1; atomic_int atom_2_r1_3; void *t0(void *arg){ l...
2,597
29.564706
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO848.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,780
28.196721
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.1+rfi-data+rfi-data+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_1_r3_2; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,364
27.841463
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO722.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,817
27.40625
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0566.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_0; atomic_int atom_1_r5_1; atomic_int atom_1_r6_1; void *t0(void *arg){ l...
2,293
28.037975
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.4+po+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_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/S+PPO596.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,947
28.074627
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0619.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,911
28.414141
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe318.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_1_r1_1; atomic_int atom_2_r1_2; atomic_int atom_2_r4_0; void *t0(void *arg){ l...
2,654
27.244681
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R0024.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_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,439
25.181818
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0311.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_3; atomic_int atom_1_r1_1; atomic_int atom_1_r5_2; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,067
26.945946
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0686.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_r4_0; atomic_int atom_1_r3_2; atomic_int atom_2_r3_0; void *t0(void *arg){ l...
2,454
28.22619
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0107.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,962
28.742424
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0605.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_r8_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 3, memo...
1,842
25.710145
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0122.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,812
27.777778
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0175.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; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,596
26.067797
69
c