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/MOREDETOUR0368.c
/* Copyright (C) 2018 Magnus Lång and 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_3; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
2,021
27.083333
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.1+eieio+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_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,594
23.166667
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+sync+ctrl-detw-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_1_r5_2; atomic_int atom_1_r7_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,196
27.166667
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0304.c
/* Copyright (C) 2018 Magnus Lång and 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,902
28.276923
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB0042.c
/* Copyright (C) 2018 Magnus Lång and 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,694
26.786885
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0662.c
/* Copyright (C) 2018 Magnus Lång and 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; atomic_int atom_1_r6_1; atomic_int atom_1_r8_0; void *t0(void *arg){ l...
2,272
27.772152
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1215.c
/* Copyright (C) 2018 Magnus Lång and 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,830
25.536232
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WW+RW+RW+RR+WR+lwsync+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[5]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; atomic_int atom_3_r1_1; atomic_int atom_3_r3_0; atomic_int atom_4_r3_0;...
2,976
26.564815
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0382.c
/* Copyright (C) 2018 Magnus Lång and 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,916
28.492308
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0624.c
/* Copyright (C) 2018 Magnus Lång and 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_r6_2; atomic_int atom_1_r7_3; void *t0(void *arg){ label_1:; atomic_store_e...
2,089
27.243243
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/lwswr000.c
/* Copyright (C) 2018 Magnus Lång and 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_r3_2; atomic_int atom_1_r5_0; atomic_int atom_2_r3_1; atomic_int atom_3_r3_2;...
3,338
29.354545
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO406.c
/* Copyright (C) 2018 Magnus Lång and 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,540
25.568966
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/RWC+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[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,787
24.913043
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0929.c
/* Copyright (C) 2018 Magnus Lång and 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_r7_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 3, memory_order_seq_cst); ato...
1,726
24.776119
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0031.c
/* Copyright (C) 2018 Magnus Lång and 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,963
28.313433
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO756.c
/* Copyright (C) 2018 Magnus Lång and 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,896
28.184615
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0524.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r5_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/3.LB+eieio+eieio+po.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_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/ISA2+lwsync+data+po.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,936
25.902778
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S0182.c
/* Copyright (C) 2018 Magnus Lång and 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,372
24.425926
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0876.c
/* Copyright (C) 2018 Magnus Lång and 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_r6_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,691
26.737705
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1159.c
/* Copyright (C) 2018 Magnus Lång and 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,308
24.173077
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0572.c
/* Copyright (C) 2018 Magnus Lång and 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_1; atomic_int atom_1_r7_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,774
27.174603
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0565.c
/* Copyright (C) 2018 Magnus Lång and 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,676
26.95
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRC+sync+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,886
25.577465
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRR+2W+addr-fri-rfi-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[3]; atomic_int atom_1_r1_2; atomic_int atom_1_r4_0; atomic_int atom_1_r7_1; atomic_int atom_1_r9_0; atomic_int atom_2_r3_1;...
2,840
30.21978
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0749.c
/* Copyright (C) 2018 Magnus Lång and 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,971
26.388889
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe471.c
/* Copyright (C) 2018 Magnus Lång and 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_2_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ l...
2,521
26.413043
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1121.c
/* Copyright (C) 2018 Magnus Lång and 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,892
25.661972
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R0056.c
/* Copyright (C) 2018 Magnus Lång and 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_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); int ...
1,460
25.089286
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB0101.c
/* Copyright (C) 2018 Magnus Lång and 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,651
26.533333
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.5+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_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); ato...
1,593
23.523077
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0135.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r6_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,691
26.737705
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.4.c
/* Copyright (C) 2018 Magnus Lång and 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,732
25.257576
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/aclwdrr011.c
/* Copyright (C) 2018 Magnus Lång and 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/MOREDETOUR0737.c
/* Copyright (C) 2018 Magnus Lång and 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_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
2,005
26.108108
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO764.c
/* Copyright (C) 2018 Magnus Lång and 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/LB+PPO0502.c
/* Copyright (C) 2018 Magnus Lång and 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
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.1+sync+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_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,594
23.166667
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO185.c
/* Copyright (C) 2018 Magnus Lång and 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,727
27.327869
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0838.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r3_2; atomic_int atom_1_r7_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,647
26.466667
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0902.c
/* Copyright (C) 2018 Magnus Lång and 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_r4_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,508
25.473684
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/IRIW+ctrl+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_1_r3_0; atomic_int atom_3_r1_1; atomic_int atom_3_r3_0; void *t0(void *arg){ l...
2,346
26.611765
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/IRIW+isync+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_1_r3_0; atomic_int atom_3_r1_1; atomic_int atom_3_r3_0; void *t0(void *arg){ l...
2,247
26.084337
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+sync+lwsync+addr-fri-rfi-addr.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; atomic_int atom_2_r4_0; atomic_int atom_2_r7_1; atomic_int atom_2_r9_0;...
2,687
29.202247
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/aclwdrr005.c
/* Copyright (C) 2018 Magnus Lång and 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_3_r1_2; atomic_int atom_3_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
2,055
24.382716
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R0034.c
/* Copyright (C) 2018 Magnus Lång and 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_r7_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); ato...
1,356
24.603774
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe078.c
/* Copyright (C) 2018 Magnus Lång and 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_1; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,291
25.651163
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO159.c
/* Copyright (C) 2018 Magnus Lång and 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,833
28.111111
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO203.c
/* Copyright (C) 2018 Magnus Lång and 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,024
28.779412
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0328.c
/* Copyright (C) 2018 Magnus Lång and 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,056
28.811594
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO142.c
/* Copyright (C) 2018 Magnus Lång and 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,892
28.578125
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO175.c
/* Copyright (C) 2018 Magnus Lång and 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,881
27.953846
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO709.c
/* Copyright (C) 2018 Magnus Lång and 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,837
27.276923
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S0083.c
/* Copyright (C) 2018 Magnus Lång and 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,509
25.034483
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0163.c
/* Copyright (C) 2018 Magnus Lång and 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_r7_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,575
25.711864
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0536.c
/* Copyright (C) 2018 Magnus Lång and 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_r6_1; atomic_int atom_1_r7_0; void *t0(void *arg){ l...
2,261
29.16
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0376.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
2,034
28.926471
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO150.c
/* Copyright (C) 2018 Magnus Lång and 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/MOREDETOUR0147.c
/* Copyright (C) 2018 Magnus Lång and 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_r4_0; atomic_int atom_2_r3_2; void *t0(void *arg){ l...
2,329
28.125
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0449.c
/* Copyright (C) 2018 Magnus Lång and 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,335
27.839506
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0277.c
/* Copyright (C) 2018 Magnus Lång and 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_2; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,108
27.12
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0932.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r6_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 3, memory_order_seq_cst); ato...
1,736
24.925373
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO298.c
/* Copyright (C) 2018 Magnus Lång and 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,887
27.179104
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+eieio+ctrl+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,975
25.702703
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R+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_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); ato...
1,188
22.78
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0829.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_2_r4_3; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,199
27.571429
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO190.c
/* Copyright (C) 2018 Magnus Lång and 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,901
28.261538
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/h3.c
/* Copyright (C) 2018 Magnus Lång and 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; 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/DETOUR0250.c
/* Copyright (C) 2018 Magnus Lång and 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,042
26.986301
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+lwsync+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; atomic_int atom_2_r4_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,914
25.597222
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0414.c
/* Copyright (C) 2018 Magnus Lång and 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,802
27.619048
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0032.c
/* Copyright (C) 2018 Magnus Lång and 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_2_r1_1; atomic_int atom_2_r4_0; void *t0(void *arg){ l...
2,208
28.065789
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe060.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
2,239
25.046512
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe170.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r1_1; atomic_int atom_0_r3_0; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,735
24.15942
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+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[5]; atomic_int atom_1_r1_1; atomic_int atom_1_r14_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, mem...
2,116
28.816901
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRW+2W+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[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/MP0052.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,618
26.913793
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO083.c
/* Copyright (C) 2018 Magnus Lång and 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,953
28.606061
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe311.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r1_1; atomic_int atom_0_r3_0; atomic_int atom_2_r1_2; atomic_int atom_2_r4_0; void *t0(void *arg){ l...
2,559
26.826087
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/podrwposwr032.c
/* Copyright (C) 2018 Magnus Lång and 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_r3_0; atomic_int atom_1_r3_0; atomic_int atom_3_r1_1; atomic_int atom_3_r7_0; void *t0(void *arg){ l...
2,620
27.182796
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0918.c
/* Copyright (C) 2018 Magnus Lång and 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; atomic_int atom_2_r3_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 3, memo...
1,961
26.25
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0355.c
/* Copyright (C) 2018 Magnus Lång and 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,090
28.871429
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO315.c
/* Copyright (C) 2018 Magnus Lång and 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,795
27.0625
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO776.c
/* Copyright (C) 2018 Magnus Lång and 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/WW+RR+WW+RW+RW+RR+sync+lwsync+lwsync+sync+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[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/safe176.c
/* Copyright (C) 2018 Magnus Lång and 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_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,830
24.788732
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0144.c
/* Copyright (C) 2018 Magnus Lång and 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,787
27.83871
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0483.c
/* Copyright (C) 2018 Magnus Lång and 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_r5_2; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_e...
1,831
27.625
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R+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[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/MOREDETOUR0789.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r6_0; atomic_int atom_2_r3_2; void *t0(void *arg){ label_1:; atomic_store_e...
2,267
27.35
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO605.c
/* Copyright (C) 2018 Magnus Lång and 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,041
29.029412
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO345.c
/* Copyright (C) 2018 Magnus Lång and 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/LB+PPO0065.c
/* Copyright (C) 2018 Magnus Lång and 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,013
28.617647
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.5+eieio+eieio+po.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); ato...
1,593
23.523077
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.3+sync+po+lwsync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_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+PPO581.c
/* Copyright (C) 2018 Magnus Lång and 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,868
27.318182
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0184.c
/* Copyright (C) 2018 Magnus Lång and 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_r7_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,513
25.561404
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/2+2W+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[2]; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); atomic_store_explicit(&vars[...
1,052
20.9375
64
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0600.c
/* Copyright (C) 2018 Magnus Lång and 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_2; atomic_int atom_1_r4_3; atomic_int atom_1_r5_0; void *t0(void *arg){ l...
2,367
26.858824
69
c