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/Z6.3+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_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/R0045.c
/* Copyright (C) 2018 Magnus Lång and 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,344
24.377358
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WW+RR+WW+RW+RR+WR+lwsync+sync+lwsync+sync+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[6]; atomic_int atom_1_r1_1; atomic_int atom_1_r3_0; atomic_int atom_3_r1_1; atomic_int atom_4_r1_1; atomic_int atom_4_r3_0;...
3,524
26.97619
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/aclwdrr013.c
/* Copyright (C) 2018 Magnus Lång and 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_3_r1_1; atomic_int atom_3_r3_0; void *t0(void *arg){ l...
2,337
25.873563
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+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[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,362
24.240741
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0069.c
/* Copyright (C) 2018 Magnus Lång and 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; atomic_int atom_2_r4_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,042
26.986301
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/IRIW+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[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/ISA2+lwsync+data+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_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,937
25.547945
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R0059.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); atom...
1,381
24.592593
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.5+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_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); atom...
1,593
23.523077
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0368.c
/* Copyright (C) 2018 Magnus Lång and 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,088
28.842857
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB0049.c
/* Copyright (C) 2018 Magnus Lång and 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,558
25.87931
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.5+sync+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]; 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/MP+PPO666.c
/* Copyright (C) 2018 Magnus Lång and 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/DETOUR0903.c
/* Copyright (C) 2018 Magnus Lång and 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_3; atomic_int atom_1_r5_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,770
27.111111
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+sync+rs.c
/* Copyright (C) 2018 Magnus Lång and 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,325
24.018868
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/2+2W0028.c
/* Copyright (C) 2018 Magnus Lång and 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,315
23.830189
67
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1252.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; atomic_store_e...
2,212
27.371795
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.1+eieio+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_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,593
23.523077
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/PPO003.c
/* Copyright (C) 2018 Magnus Lång and 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_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,634
26.25
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe383.c
/* Copyright (C) 2018 Magnus Lång and 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_r3_1; atomic_int atom_2_r3_0; void *t0(void *arg){ l...
2,616
26.840426
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0444.c
/* Copyright (C) 2018 Magnus Lång and 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,866
27.723077
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0017.c
/* Copyright (C) 2018 Magnus Lång and 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,197
27.921053
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO568.c
/* Copyright (C) 2018 Magnus Lång and 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,620
26.016667
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WW+RR+WW+RW+RW+RR+lwsync+sync+lwsync+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_1_r3_0; atomic_int atom_3_r1_1; 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/S+PPO121.c
/* Copyright (C) 2018 Magnus Lång and 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,718
27.180328
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO864.c
/* Copyright (C) 2018 Magnus Lång and 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,773
27.15873
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe372.c
/* Copyright (C) 2018 Magnus Lång and 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_1_r3_0; void *t0(void *arg){ label_1:; int v2_r1 = at...
1,971
25.648649
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO052.c
/* Copyright (C) 2018 Magnus Lång and 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,863
28.125
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO460.c
/* Copyright (C) 2018 Magnus Lång and 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,910
27.954545
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0901.c
/* Copyright (C) 2018 Magnus Lång and 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_2_r1_3; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
2,009
26.534247
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1156.c
/* Copyright (C) 2018 Magnus Lång and 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], 4, memory_order_seq_cst); ato...
1,343
24.358491
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO257.c
/* Copyright (C) 2018 Magnus Lång and 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,693
26.770492
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.2+po+eieio+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,770
25.044118
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0026.c
/* Copyright (C) 2018 Magnus Lång and 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_r1_1; atomic_int atom_3_r4_0;...
2,886
28.762887
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO805.c
/* Copyright (C) 2018 Magnus Lång and 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,694
26.786885
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0655.c
/* Copyright (C) 2018 Magnus Lång and 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_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,916
26
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0349.c
/* Copyright (C) 2018 Magnus Lång and 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_r4_3; void *t0(void *arg){ label_1:; int v2_r1 = at...
1,967
26.71831
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0556.c
/* Copyright (C) 2018 Magnus Lång and 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,921
28.569231
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRC+po+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_2_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,885
25.942857
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe035.c
/* Copyright (C) 2018 Magnus Lång and 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_2_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,321
25.689655
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe190.c
/* Copyright (C) 2018 Magnus Lång and 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_r4_0; atomic_int atom_2_r1_2; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,418
26.179775
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRC+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_1; atomic_int atom_2_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,786
25.279412
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO645.c
/* Copyright (C) 2018 Magnus Lång and 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/2+2W0010.c
/* Copyright (C) 2018 Magnus Lång and 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,316
23.849057
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+lwsync+addr+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_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/DETOUR0385.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,641
26.830508
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0138.c
/* Copyright (C) 2018 Magnus Lång and 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,647
26.466667
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1089.c
/* Copyright (C) 2018 Magnus Lång and 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_1_r5_2; void *t0(void *arg){ label_1:; atomic_store_e...
1,929
28.242424
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO712.c
/* Copyright (C) 2018 Magnus Lång and 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/Z6.3+lwsync+sync+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; atomic_int atom_2_r4_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,773
24.710145
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0625.c
/* Copyright (C) 2018 Magnus Lång and 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_r6_1; atomic_int atom_1_r7_2; void *t0(void *arg){ l...
2,353
28.425
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0461.c
/* Copyright (C) 2018 Magnus Lång and 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_1_r1_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,629
26.627119
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0740.c
/* Copyright (C) 2018 Magnus Lång and 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,897
27.757576
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/aclwdrr002.c
/* Copyright (C) 2018 Magnus Lång and 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_2_r1_2; 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/MP+PPO941.c
/* Copyright (C) 2018 Magnus Lång and 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,018
28.691176
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+po+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; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); atom...
1,286
23.283019
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.5+lwsync+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]; 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/LB+PPO0145.c
/* Copyright (C) 2018 Magnus Lång and 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_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
2,040
28.57971
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+rfi-data+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_0_r3_1; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; atomic_int atom_2_r4_0; void *t0(void *arg){ l...
2,331
28.15
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0325.c
/* Copyright (C) 2018 Magnus Lång and 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,025
28.794118
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.5+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_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/MP+PPO331.c
/* Copyright (C) 2018 Magnus Lång and 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,035
28.085714
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO311.c
/* Copyright (C) 2018 Magnus Lång and 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,861
27.646154
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO189.c
/* Copyright (C) 2018 Magnus Lång and 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,910
28.4
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO730.c
/* Copyright (C) 2018 Magnus Lång and 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_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,940
27.970149
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRC+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[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...
1,825
25.463768
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.3+sync+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_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/wrcv4.c
/* Copyright (C) 2018 Magnus Lång and 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_1; atomic_int atom_2_r5_1; atomic_int atom_3_r5_1; atomic_int atom_2_r6_0; void *t0(void *arg){ l...
2,375
26.952941
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO430.c
/* Copyright (C) 2018 Magnus Lång and 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,893
27.69697
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WWC+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_2; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,646
23.954545
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0647.c
/* Copyright (C) 2018 Magnus Lång and 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_r8_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,936
27.910448
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0922.c
/* Copyright (C) 2018 Magnus Lång and 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_0; atomic_int atom_2_r1_2; atomic_int atom_3_r3_2; void *t0(void *arg){ l...
2,795
28.125
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.2+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; 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/LB0041.c
/* Copyright (C) 2018 Magnus Lång and 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,626
26.116667
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0089.c
/* Copyright (C) 2018 Magnus Lång and 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_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,536
25.964912
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0852.c
/* Copyright (C) 2018 Magnus Lång and 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,215
27.410256
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0265.c
/* Copyright (C) 2018 Magnus Lång and 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_2_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,090
27.256757
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+sync+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/LB+PPO0364.c
/* Copyright (C) 2018 Magnus Lång and 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,118
28.84507
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0591.c
/* Copyright (C) 2018 Magnus Lång and 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_r3_2; atomic_int atom_1_r7_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,985
26.583333
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO014.c
/* Copyright (C) 2018 Magnus Lång and 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,783
27.31746
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO705.c
/* Copyright (C) 2018 Magnus Lång and 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_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,805
27.21875
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe058.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[0], memory_order_seq_cst)...
1,594
23.166667
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S0185.c
/* Copyright (C) 2018 Magnus Lång and 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,356
24.603774
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/podrwposwr065.c
/* Copyright (C) 2018 Magnus Lång and 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; atomic_int atom_3_r7_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,483
26.6
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0555.c
/* Copyright (C) 2018 Magnus Lång and 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_r6_0; atomic_int atom_2_r1_2; void *t0(void *arg){ label_1:; atomic_store_e...
2,201
27.597403
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+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; 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/MP+PPO123.c
/* Copyright (C) 2018 Magnus Lång and 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,838
28.190476
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO366.c
/* Copyright (C) 2018 Magnus Lång and 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...
2,011
28.15942
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO136.c
/* Copyright (C) 2018 Magnus Lång and 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,693
26.770492
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0257.c
/* Copyright (C) 2018 Magnus Lång and 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_r3_2; void *t0(void *arg){ label_1:; int v2_r1 = at...
1,969
26.361111
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0224.c
/* Copyright (C) 2018 Magnus Lång and 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_r3_2; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,017
27.027778
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0194.c
/* Copyright (C) 2018 Magnus Lång and 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,165
27.5
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0862.c
/* Copyright (C) 2018 Magnus Lång and 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_4; atomic_int atom_1_r5_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,068
26.223684
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO652.c
/* Copyright (C) 2018 Magnus Lång and 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...
1,918
28.523077
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0923.c
/* Copyright (C) 2018 Magnus Lång and 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_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 3, memo...
1,925
26.126761
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0419.c
/* Copyright (C) 2018 Magnus Lång and 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_1; atomic_int atom_1_r6_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,837
27.276923
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0310.c
/* Copyright (C) 2018 Magnus Lång and 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,055
28.797101
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0948.c
/* Copyright (C) 2018 Magnus Lång and 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_2_r4_3; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 4, memo...
2,021
26.69863
69
c