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/DETOUR1307.c
/* Copyright (C) 2018 Magnus Lång and 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,199
23
64
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0226.c
/* Copyright (C) 2018 Magnus Lång and 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_2; atomic_int atom_1_r4_0; void *t0(void *arg){ l...
2,649
27.804348
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO634.c
/* Copyright (C) 2018 Magnus Lång and 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,035
28.507246
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0763.c
/* Copyright (C) 2018 Magnus Lång and 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_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,948
26.450704
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0242.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; atomic_int atom_1_r6_2; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,020
28.289855
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO264.c
/* Copyright (C) 2018 Magnus Lång and 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_r13_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
2,002
28.028986
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0810.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r5_1; atomic_int atom_1_r6_2; void *t0(void *arg){ label_1:; atomic_store_e...
2,091
26.893333
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0828.c
/* Copyright (C) 2018 Magnus Lång and 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,264
27.670886
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0605.c
/* Copyright (C) 2018 Magnus Lång and 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_2; atomic_int atom_1_r5_3; atomic_int atom_1_r6_0; void *t0(void *arg){ l...
2,194
29.068493
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO447.c
/* Copyright (C) 2018 Magnus Lång and 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,855
27.553846
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO370.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; atomic_int atom_1_r11_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
1,963
27.882353
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO049.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; atomic_int atom_1_r11_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
1,996
28.367647
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+eieio+data+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[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/MP+PPO381.c
/* Copyright (C) 2018 Magnus Lång and 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/MOREDETOUR0757.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,916
26
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/IRIW+isync+ctrlisync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r3_0; atomic_int atom_3_r1_1; atomic_int atom_3_r3_0; void *t0(void *arg){ l...
2,348
26
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/podrwposwr053.c
/* Copyright (C) 2018 Magnus Lång and 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_3_r1_1; atomic_int atom_3_r7_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
2,342
25.931034
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO437.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,720
26.758065
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO886.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,745
27.622951
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/IRIW+ctrls.c
/* Copyright (C) 2018 Magnus Lång and 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,446
26.806818
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe081.c
/* Copyright (C) 2018 Magnus Lång and 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_1_r3_0; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,380
25.752809
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/SB+isyncs.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,326
23.574074
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB0002.c
/* Copyright (C) 2018 Magnus Lång and 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,631
26.661017
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO467.c
/* Copyright (C) 2018 Magnus Lång and 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/podrwposwr044.c
/* Copyright (C) 2018 Magnus Lång and 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_3_r1_1; atomic_int atom_3_r7_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,517
26.977778
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO578.c
/* Copyright (C) 2018 Magnus Lång and 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...
1,982
28.597015
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0111.c
/* Copyright (C) 2018 Magnus Lång and 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,794
27.951613
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+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; atomic_int atom_1_r13_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
1,908
28.369231
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0425.c
/* Copyright (C) 2018 Magnus Lång and 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_0; atomic_int atom_1_r6_1; atomic_int atom_1_r7_0; void *t0(void *arg){ l...
2,161
29.027778
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO105.c
/* Copyright (C) 2018 Magnus Lång and 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,033
28.478261
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0140.c
/* Copyright (C) 2018 Magnus Lång and 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_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,608
26.271186
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe493.c
/* Copyright (C) 2018 Magnus Lång and 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_1_r1_1; atomic_int atom_2_r1_1; atomic_int atom_2_r3_1;...
2,881
28.111111
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+lwsync+isync+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,876
25.069444
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+sync+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[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/MP+PPO579.c
/* Copyright (C) 2018 Magnus Lång and 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,916
28.492308
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0883.c
/* Copyright (C) 2018 Magnus Lång and 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_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
2,121
26.921053
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO809.c
/* Copyright (C) 2018 Magnus Lång and 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,895
28.169231
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/bclwdww025.c
/* Copyright (C) 2018 Magnus Lång and 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_1; atomic_int atom_3_r1_1; atomic_int atom_3_r3_0; void *t0(void *arg){ l...
2,559
26.826087
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+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_1_r1_1; atomic_int atom_2_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,875
25.422535
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/aclwdrr001.c
/* Copyright (C) 2018 Magnus Lång and 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/IRWIW+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[2]; atomic_int atom_1_r1_2; atomic_int atom_3_r1_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
2,002
24.679487
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe497.c
/* Copyright (C) 2018 Magnus Lång and 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_1; void *t0(void *arg){ label_1:; int v2_r1 = at...
1,971
25.648649
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/3.LB+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_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/SB0034.c
/* Copyright (C) 2018 Magnus Lång and 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_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,536
25.964912
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0636.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r3_1; atomic_int atom_1_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,770
26.671875
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe262.c
/* Copyright (C) 2018 Magnus Lång and 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,735
24.15942
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0333.c
/* Copyright (C) 2018 Magnus Lång and 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,916
28.045455
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.3+sync+po+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,772
25.073529
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.1+rfi-data+sync+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_0_r3_2; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
2,040
26.213333
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0366.c
/* Copyright (C) 2018 Magnus Lång and 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; atomic_int atom_3_r5_2; atomic_int atom_3_r1_3; void *t0(void *arg){ l...
2,855
28.75
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0412.c
/* Copyright (C) 2018 Magnus Lång and 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,813
27.793651
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0360.c
/* Copyright (C) 2018 Magnus Lång and 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,954
28.179104
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe179.c
/* Copyright (C) 2018 Magnus Lång and 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_1; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,380
25.752809
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0114.c
/* Copyright (C) 2018 Magnus Lång and 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,780
27.725806
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0569.c
/* Copyright (C) 2018 Magnus Lång and 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_3; atomic_int atom_2_r4_3; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,273
27.78481
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R+rfi-data+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[2]; atomic_int atom_0_r3_1; atomic_int atom_1_r3_2; atomic_int atom_1_r5_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,932
28.287879
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.2+rfi-data+lwsync+sync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r3_2; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,120
26.545455
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe279.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,380
25.752809
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.2+po+addr+addr.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,806
25.573529
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+po+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_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); atom...
1,245
23.431373
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/podrwposwr040.c
/* Copyright (C) 2018 Magnus Lång and 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_r3_0; atomic_int atom_3_r1_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,481
26.577778
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0746.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r3_2; atomic_int atom_1_r5_3; atomic_int atom_1_r6_0; void *t0(void *arg){ l...
2,230
27.974026
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO116.c
/* Copyright (C) 2018 Magnus Lång and 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,877
27.892308
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRW+WR+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[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,645
24.323077
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO657.c
/* Copyright (C) 2018 Magnus Lång and 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,754
27.306452
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO872.c
/* Copyright (C) 2018 Magnus Lång and 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/lwswr001.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r3_1; atomic_int atom_0_r5_0; atomic_int atom_1_r3_1; atomic_int atom_2_r3_2; atomic_int atom_2_r5_0;...
2,695
28.955556
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB0067.c
/* Copyright (C) 2018 Magnus Lång and 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,731
26.935484
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0832.c
/* Copyright (C) 2018 Magnus Lång and 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,327
27.740741
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1174.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r4_0; atomic_int atom_1_r7_1; void *t0(void *arg){ label_1:; atomic_store_e...
1,931
28.272727
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO704.c
/* Copyright (C) 2018 Magnus Lång and 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,741
26.650794
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0282.c
/* Copyright (C) 2018 Magnus Lång and 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,039
28.565217
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO567.c
/* Copyright (C) 2018 Magnus Lång and 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,760
27.403226
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0517.c
/* Copyright (C) 2018 Magnus Lång and 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_r6_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,957
26.577465
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0265.c
/* Copyright (C) 2018 Magnus Lång and 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,954
28.179104
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1061.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r6_2; atomic_int atom_1_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,656
26.616667
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/aclwdrr031.c
/* Copyright (C) 2018 Magnus Lång and 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_2; atomic_int atom_3_r3_0; void *t0(void *arg){ l...
2,521
26.413043
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO669.c
/* Copyright (C) 2018 Magnus Lång and 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,870
27.348485
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+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_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,424
24.909091
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.1+lwsync+po+sync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_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/ISA2+sync+fri+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_2; atomic_int atom_2_r4_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,008
26.520548
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO658.c
/* Copyright (C) 2018 Magnus Lång and 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,808
27.714286
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.1+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_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+PPO250.c
/* Copyright (C) 2018 Magnus Lång and 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_r13_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
2,153
28.506849
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe292.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_2; atomic_int atom_2_r1_1; atomic_int atom_3_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,380
25.752809
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO747.c
/* Copyright (C) 2018 Magnus Lång and 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,129
29
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/2+2W+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]; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); atomic_store_explicit(&vars[...
1,052
20.9375
64
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO120.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,698
26.852459
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe125.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r1_1; atomic_int atom_0_r3_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,380
25.752809
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0153.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,483
25.5
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S0091.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,457
25.035714
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0126.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r5_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,608
25.816667
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.0+sync+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_1_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/MOREDETOUR0707.c
/* Copyright (C) 2018 Magnus Lång and 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_r4_3; atomic_int atom_1_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,150
27.302632
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0218.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r1_4; atomic_int atom_1_r1_1; atomic_int atom_1_r5_2; atomic_int atom_3_r1_2; void *t0(void *arg){ l...
2,611
28.022222
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0771.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r6_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 3, memo...
1,839
25.666667
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO804.c
/* Copyright (C) 2018 Magnus Lång and 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,637
26.762712
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO066.c
/* Copyright (C) 2018 Magnus Lång and 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/safe354.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_2; atomic_int atom_2_r1_1; atomic_int atom_2_r4_1; void *t0(void *arg){ l...
2,654
27.244681
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO620.c
/* Copyright (C) 2018 Magnus Lång and 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,844
27.828125
77
c