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/DETOUR1229.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; atomic_store_e...
1,990
28.279412
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WWC+addr+lwsync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_2; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,682
24.5
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0947.c
/* Copyright (C) 2018 Magnus Lång and 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_1_r7_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,939
26.323944
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO174.c
/* Copyright (C) 2018 Magnus Lång and 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,888
27.621212
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB0113.c
/* Copyright (C) 2018 Magnus Lång and 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,719
26.741935
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO955.c
/* Copyright (C) 2018 Magnus Lång and 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_r7_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,752
27.274194
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+lwsync+addr-bigdetour2-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[5]; atomic_int atom_1_r1_1; atomic_int atom_1_r9_0; atomic_int atom_1_r4_0; atomic_int atom_1_r6_1; void *t0(void *arg){ l...
2,770
27.56701
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+eieio+data+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,975
26.068493
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0534.c
/* Copyright (C) 2018 Magnus Lång and 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,161
29.027778
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO706.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,817
27.40625
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.0+eieio+po+sync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_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/n2d.c
/* Copyright (C) 2018 Magnus Lång and 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_0_r2_0; atomic_int atom_1_r2_0; void *t0(void *arg){ l...
2,498
26.766667
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WW+RW+RR+WW+RW+RR+sync+lwsync+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_2_r1_1; atomic_int atom_2_r3_0; 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/RWC+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_1_r3_0; 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/MOREDETOUR0509.c
/* Copyright (C) 2018 Magnus Lång and 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_4; atomic_int atom_2_r4_3; atomic_int atom_2_r1_1; void *t0(void *arg){ l...
2,611
27.703297
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO156.c
/* Copyright (C) 2018 Magnus Lång and 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,756
27.33871
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO069.c
/* Copyright (C) 2018 Magnus Lång and 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,758
27.836066
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0807.c
/* Copyright (C) 2018 Magnus Lång and 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_1_r8_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,108
27.12
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0833.c
/* Copyright (C) 2018 Magnus Lång and 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_r7_0; void *t0(void *arg){ l...
2,133
29.056338
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/2+2W0039.c
/* Copyright (C) 2018 Magnus Lång and 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]; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); atomic_store_explicit(&vars[...
1,270
23.442308
67
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO232.c
/* Copyright (C) 2018 Magnus Lång and 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,860
27.19697
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0162.c
/* Copyright (C) 2018 Magnus Lång and 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,876
27.876923
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.2+sync+addr+addr.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,807
25.202899
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1322.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,629
26.166667
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO639.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[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,845
27.4
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO714.c
/* Copyright (C) 2018 Magnus Lång and 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,830
27.169231
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0875.c
/* Copyright (C) 2018 Magnus Lång and 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_r6_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,190
27.089744
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0009.c
/* Copyright (C) 2018 Magnus Lång and 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_1_r4_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,595
26.517241
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0340.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_0_r5_0; atomic_int atom_2_r1_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,989
26.638889
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO369.c
/* Copyright (C) 2018 Magnus Lång and 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,976
28.073529
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1321.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r3_2; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
1,367
24.333333
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/W+RWC+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[3]; 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,876
25.069444
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0544.c
/* Copyright (C) 2018 Magnus Lång and 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,990
28.716418
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0745.c
/* Copyright (C) 2018 Magnus Lång and 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,250
27.493671
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO415.c
/* Copyright (C) 2018 Magnus Lång and 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_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,901
27.38806
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO503.c
/* Copyright (C) 2018 Magnus Lång and 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_r15_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, mem...
2,052
28.753623
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R0032.c
/* Copyright (C) 2018 Magnus Lång and 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,344
24.377358
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO434.c
/* Copyright (C) 2018 Magnus Lång and 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,001
28.014493
76
c
nidhugg
nidhugg-master/tests/litmus/C-tests/2+2W0017.c
/* Copyright (C) 2018 Magnus Lång and 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]; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); atomic_store_explicit(&vars[...
1,293
23.415094
67
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO417.c
/* Copyright (C) 2018 Magnus Lång and 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,974
28.044118
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.0+lwsync+eieio+sync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,735
24.15942
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0353.c
/* Copyright (C) 2018 Magnus Lång and 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_3; atomic_int atom_2_r1_1; atomic_int atom_3_r5_2; atomic_int atom_3_r1_3; void *t0(void *arg){ l...
2,707
28.11828
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0353.c
/* Copyright (C) 2018 Magnus Lång and 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,757
26.904762
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe018.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_0_r1_1; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
2,180
24.964286
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0585.c
/* Copyright (C) 2018 Magnus Lång and 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,998
28.835821
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.2+po+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; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,733
24.880597
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO608.c
/* Copyright (C) 2018 Magnus Lång and 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.892308
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0130.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; atomic_int atom_1_r5_4; atomic_int atom_2_r4_3; atomic_int atom_2_r1_1;...
2,734
29.730337
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0563.c
/* Copyright (C) 2018 Magnus Lång and 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,721
27.7
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRR+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]; atomic_int atom_1_r1_2; atomic_int atom_1_r3_0; 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/Z6.5.c
/* Copyright (C) 2018 Magnus Lång and 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,591
24.269841
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0626.c
/* Copyright (C) 2018 Magnus Lång and 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,997
26.75
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO636.c
/* Copyright (C) 2018 Magnus Lång and 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_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, mem...
2,094
28.507042
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO485.c
/* Copyright (C) 2018 Magnus Lång and 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,867
27.738462
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/WRW+WR+eieio+sync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,646
23.954545
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1209.c
/* Copyright (C) 2018 Magnus Lång and 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,892
28.123077
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0988.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r3_2; atomic_int atom_0_r5_3; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_e...
2,151
27.315789
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe174.c
/* Copyright (C) 2018 Magnus Lång and 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; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,291
25.651163
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/Z6.1+sync+rfi-data+lwsync.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r3_2; atomic_int atom_2_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,979
25.756757
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO551.c
/* Copyright (C) 2018 Magnus Lång and 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,956
28.208955
70
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+lwsync+po+eieio.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_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/S+PPO779.c
/* Copyright (C) 2018 Magnus Lång and 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,871
27.8
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO065.c
/* Copyright (C) 2018 Magnus Lång and 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,029
28.42029
77
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO192.c
/* Copyright (C) 2018 Magnus Lång and 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
27.233333
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0018.c
/* Copyright (C) 2018 Magnus Lång and 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...
2,225
27.909091
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0116.c
/* Copyright (C) 2018 Magnus Lång and 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,839
28.206349
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/ISA2+eieio+addr+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...
2,011
26.189189
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+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[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,326
23.574074
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP0057.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r4_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,560
26.385965
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0281.c
/* Copyright (C) 2018 Magnus Lång and 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,002
28.455882
75
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0733.c
/* Copyright (C) 2018 Magnus Lång and 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_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/safe332.c
/* Copyright (C) 2018 Magnus Lång and 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; atomic_int atom_2_r4_0; void *t0(void *arg){ l...
2,559
26.826087
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/SB0055.c
/* Copyright (C) 2018 Magnus Lång and 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_r3_0; 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/S+PPO246.c
/* Copyright (C) 2018 Magnus Lång and 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,703
27.4
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0594.c
/* Copyright (C) 2018 Magnus Lång and 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; atomic_int atom_1_r6_1; void *t0(void *arg){ label_1:; atomic_store_e...
2,252
27.518987
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+eieios.c
/* Copyright (C) 2018 Magnus Lång and 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,326
23.574074
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO284.c
/* Copyright (C) 2018 Magnus Lång and 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,385
24.2
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/R0060.c
/* Copyright (C) 2018 Magnus Lång and 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); int ...
1,365
24.773585
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR1225.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
1,666
26.327869
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0083.c
/* Copyright (C) 2018 Magnus Lång and 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,920
28.553846
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe003.c
/* Copyright (C) 2018 Magnus Lång and 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; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,416
26.157303
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/3.LB+addr+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_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,911
25.929577
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB+PPO0422.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[4]; atomic_int atom_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
1,936
28.348485
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0547.c
/* Copyright (C) 2018 Magnus Lång and 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_4; atomic_int atom_1_r5_0; atomic_int atom_2_r4_3; atomic_int atom_2_r1_1;...
2,850
28.391753
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO457.c
/* Copyright (C) 2018 Magnus Lång and 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,915
27.597015
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/LB0120.c
/* Copyright (C) 2018 Magnus Lång and 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,474
25.339286
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO692.c
/* Copyright (C) 2018 Magnus Lång and 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,777
27.222222
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/safe355.c
/* Copyright (C) 2018 Magnus Lång and 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_1; void *t0(void *arg){ label_1:; int v2_r1 = at...
2,009
26.162162
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+PPO454.c
/* Copyright (C) 2018 Magnus Lång and 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/MOREDETOUR0658.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_2; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
1,948
26.450704
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/aclwdrr034.c
/* Copyright (C) 2018 Magnus Lång and 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,735
24.15942
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO837.c
/* Copyright (C) 2018 Magnus Lång and 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,799
27.125
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO501.c
/* Copyright (C) 2018 Magnus Lång and 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,729
27.360656
74
c
nidhugg
nidhugg-master/tests/litmus/C-tests/DETOUR0592.c
/* Copyright (C) 2018 Magnus Lång and 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_1; atomic_int atom_1_r5_0; void *t0(void *arg){ label_1:; atomic_store_e...
1,721
27.229508
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0423.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_0_r3_0; atomic_int atom_1_r5_4; atomic_int atom_1_r6_0; atomic_int atom_2_r4_3; atomic_int atom_2_r1_1;...
2,713
29.494382
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/S+PPO357.c
/* Copyright (C) 2018 Magnus Lång and 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,848
27.446154
73
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MP+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; 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/ppc-cookbook6.1.barrier.c
/* Copyright (C) 2018 Magnus Lång and 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_r6_0; atomic_int atom_1_r5_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 55, mem...
1,328
23.611111
68
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0809.c
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[2]; atomic_int atom_1_r1_1; atomic_int atom_1_r5_2; atomic_int atom_3_r4_4; atomic_int atom_3_r1_2; void *t0(void *arg){ l...
2,673
27.752688
69
c
nidhugg
nidhugg-master/tests/litmus/C-tests/MOREDETOUR0084.c
/* Copyright (C) 2018 Magnus Lång and 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_2_r1_3; atomic_int atom_2_r4_0; void *t0(void *arg){ l...
2,489
29
74
c