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/DETOUR0800.c | /* Copyright (C) 2018 Magnus Lång and 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;
atomic_int atom_1_r7_3;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,151 | 27.315789 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR1040.c | /* Copyright (C) 2018 Magnus Lång and 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_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,765 | 25.358209 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO696.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
atomic_int atom_1_r13_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, mem... | 2,019 | 28.705882 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR1332.c | /* Copyright (C) 2018 Magnus Lång and 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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,838 | 25.652174 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO432.c | /* Copyright (C) 2018 Magnus Lång and 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,909 | 27.939394 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0580.c | /* Copyright (C) 2018 Magnus Lång and 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,922 | 28.584615 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe545.c | /* Copyright (C) 2018 Magnus Lång and 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_0_r4_0;
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
atomic_int atom_2_r3_0;... | 2,881 | 28.111111 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0390.c | /* Copyright (C) 2018 Magnus Lång and 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,803 | 27.634921 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/n2l.c | /* Copyright (C) 2018 Magnus Lång and 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,426 | 25.966667 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe299.c | /* Copyright (C) 2018 Magnus Lång and 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_0_r3_0;
atomic_int atom_2_r1_1;
atomic_int atom_3_r1_2;
void *t0(void *arg){
l... | 2,740 | 27.552083 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0248.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r1_3;
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 2,260 | 27.987179 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe428.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r1_1;
atomic_int atom_1_r1_1;
atomic_int atom_1_r3_0;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 1,876 | 25.069444 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0411.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r3_2;
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,631 | 26.2 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO522.c | /* Copyright (C) 2018 Magnus Lång and 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,887 | 28.046154 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO902.c | /* Copyright (C) 2018 Magnus Lång and 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,712 | 27.55 | 77 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/isa1v3.c | /* Copyright (C) 2018 Magnus Lång and 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_r2_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,823 | 25.434783 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WRW+2W.c | /* Copyright (C) 2018 Magnus Lång and 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,503 | 23.655738 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0725.c | /* Copyright (C) 2018 Magnus Lång and 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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 2,022 | 26.712329 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0801.c | /* Copyright (C) 2018 Magnus Lång and 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_0;
atomic_int atom_2_r3_2;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,118 | 26.881579 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO905.c | /* Copyright (C) 2018 Magnus Lång and 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,632 | 27.155172 | 76 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0134.c | /* Copyright (C) 2018 Magnus Lång and 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_4;
atomic_int atom_2_r4_3;
atomic_int atom_2_r1_1;... | 2,871 | 28.608247 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0271.c | /* Copyright (C) 2018 Magnus Lång and 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_r4_0;
atomic_int atom_2_r3_2;
atomic_int atom_3_r1_2;... | 2,971 | 29.020202 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.0+rfi-data+data+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_1;
atomic_int atom_1_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,181 | 26.974359 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/wrcv0.c | /* Copyright (C) 2018 Magnus Lång and 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_1;
atomic_int atom_2_r5_1;
atomic_int atom_2_r6_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,787 | 24.913043 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.3+eieio+lwsync+po.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_2_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,734 | 24.514706 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0213.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r1_1;
atomic_int atom_1_r1_1;
atomic_int atom_1_r5_1;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 1,835 | 27.6875 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0267.c | /* Copyright (C) 2018 Magnus Lång and 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,022 | 28.318841 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.1+sync+sync+lwsync.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_2_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+PPO646.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r9_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 2,013 | 28.188406 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB0126.c | /* Copyright (C) 2018 Magnus Lång and 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,592 | 26.465517 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0821.c | /* Copyright (C) 2018 Magnus Lång and 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/S+PPO715.c | /* Copyright (C) 2018 Magnus Lång and 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,987 | 27.811594 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/m6.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_1_r2_1;
atomic_int atom_2_r2_2;
atomic_int atom_2_r1_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,105 | 25.658228 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO113.c | /* Copyright (C) 2018 Magnus Lång and 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,738 | 27.048387 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0329.c | /* Copyright (C) 2018 Magnus Lång and 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_1;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 1,835 | 27.6875 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB0006.c | /* Copyright (C) 2018 Magnus Lång and 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,683 | 26.606557 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0764.c | /* Copyright (C) 2018 Magnus Lång and 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,742 | 25.014925 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0168.c | /* Copyright (C) 2018 Magnus Lång and 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,948 | 28.530303 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe388.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r1_1;
atomic_int atom_0_r3_0;
atomic_int atom_1_r3_0;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 1,787 | 24.913043 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO155.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
atomic_int atom_1_r12_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, mem... | 1,910 | 28.4 | 77 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0097.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,406 | 24.581818 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0879.c | /* Copyright (C) 2018 Magnus Lång and 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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,629 | 25.721311 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO512.c | /* Copyright (C) 2018 Magnus Lång and 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/Z6.1+sync+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_2_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,630 | 23.712121 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0626.c | /* Copyright (C) 2018 Magnus Lång and 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;
atomic_int atom_1_r7_1;
void *t0(void *arg){
l... | 2,332 | 28.1625 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0523.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_1_r1_1;
atomic_int atom_1_r4_2;
atomic_int atom_1_r5_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,809 | 27.28125 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO170.c | /* Copyright (C) 2018 Magnus Lång and 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,768 | 27.079365 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.0+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_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/mb.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_1_r2_1;
atomic_int atom_1_r2_2;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 3, memo... | 2,547 | 27.311111 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/IRIW.c | /* Copyright (C) 2018 Magnus Lång and 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,246 | 26.402439 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WRC+ctrlisync+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,986 | 25.851351 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO868.c | /* Copyright (C) 2018 Magnus Lång and 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,952 | 28.590909 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0102.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
atomic_int atom_1_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,809 | 27.730159 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0588.c | /* Copyright (C) 2018 Magnus Lång and 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_r6_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,708 | 26.564516 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.3+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;
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/WRC+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_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,786 | 25.279412 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0489.c | /* Copyright (C) 2018 Magnus Lång and 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 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/W+RWC+eieio+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[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r4_0;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,914 | 25.597222 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/aclwdrr018.c | /* Copyright (C) 2018 Magnus Lång and 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_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/MP+PPO076.c | /* Copyright (C) 2018 Magnus Lång and 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/safe298.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r1_2;
atomic_int atom_1_r1_1;
atomic_int atom_1_r3_0;
atomic_int atom_3_r1_2;
void *t0(void *arg){
l... | 2,740 | 27.552083 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO404.c | /* Copyright (C) 2018 Magnus Lång and 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_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,681 | 26.129032 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/SyncWith4+sync.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[6];
atomic_int atom_0_r1_1;
atomic_int atom_0_r4_0;
atomic_int atom_0_r6_1;
atomic_int atom_2_r1_1;
atomic_int atom_2_r4_0;... | 3,434 | 29.131579 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0071.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[5];
atomic_int atom_0_r1_1;
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... | 2,055 | 28.797101 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/W+RWC+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_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,875 | 25.422535 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0397.c | /* Copyright (C) 2018 Magnus Lång and 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_0_r5_4;
atomic_int atom_2_r5_2;
atomic_int atom_2_r1_1;
void *t0(void *arg){
l... | 2,387 | 28.481481 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0188.c | /* Copyright (C) 2018 Magnus Lång and 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_r6_2;
atomic_int atom_2_r1_2;
void *t0(void *arg){
l... | 2,474 | 29.182927 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO699.c | /* Copyright (C) 2018 Magnus Lång and 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,908 | 27.492537 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.5+sync+lwsync+po.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_2_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/DETOUR1335.c | /* Copyright (C) 2018 Magnus Lång and 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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,766 | 24.985294 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0555.c | /* Copyright (C) 2018 Magnus Lång and 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,882 | 28.421875 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/dd3.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_2_r2_1;
atomic_int atom_3_r2_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,720 | 22.902778 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0659.c | /* Copyright (C) 2018 Magnus Lång and 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,976 | 26.458333 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/ppc-n6.c | /* Copyright (C) 2018 Magnus Lång and 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_r2_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,507 | 25.928571 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0310.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r1_3;
atomic_int atom_1_r1_1;
atomic_int atom_1_r5_2;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 2,029 | 26.808219 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO711.c | /* Copyright (C) 2018 Magnus Lång and 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,945 | 27.617647 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0849.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r5_1;
atomic_int atom_1_r6_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,697 | 25.952381 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0268.c | /* Copyright (C) 2018 Magnus Lång and 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_3;
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 2,190 | 27.828947 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO421.c | /* Copyright (C) 2018 Magnus Lång and 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,957 | 28.223881 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0373.c | /* Copyright (C) 2018 Magnus Lång and 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[... | 2,085 | 29.231884 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO898.c | /* Copyright (C) 2018 Magnus Lång and 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,724 | 27.278689 | 77 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/cc3.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_2_r2_0;
atomic_int atom_3_r2_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,720 | 22.902778 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe410.c | /* Copyright (C) 2018 Magnus Lång and 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_1_r3_0;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 1,971 | 25.648649 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe156.c | /* Copyright (C) 2018 Magnus Lång and 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_r4_1;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... | 1,868 | 25.323944 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0477.c | /* Copyright (C) 2018 Magnus Lång and 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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,694 | 26.786885 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0028.c | /* Copyright (C) 2018 Magnus Lång and 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);
int ... | 1,517 | 25.631579 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+lwsync+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);
ato... | 1,246 | 22.980769 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0335.c | /* Copyright (C) 2018 Magnus Lång and 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... | 1,920 | 28.106061 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO508.c | /* Copyright (C) 2018 Magnus Lång and 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,843 | 27.8125 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP0054.c | /* Copyright (C) 2018 Magnus Lång and 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,507 | 26.418182 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0344.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r1_1;
atomic_int atom_1_r1_1;
atomic_int atom_1_r3_2;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 1,978 | 26.873239 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe289.c | /* Copyright (C) 2018 Magnus Lång and 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/Z6.2+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_1_r1_1;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,734 | 24.514706 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR1191.c | /* Copyright (C) 2018 Magnus Lång and 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,596 | 26.067797 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/3.SB+sync+eieio+eieio.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r3_0;
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/MOREDETOUR0039.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r3_0;
atomic_int atom_2_r1_1;
atomic_int atom_2_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,095 | 27.324324 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO777.c | /* Copyright (C) 2018 Magnus Lång and 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/S+PPO496.c | /* Copyright (C) 2018 Magnus Lång and 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,833 | 27.65625 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO624.c | /* Copyright (C) 2018 Magnus Lång and 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,714 | 26.66129 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB0075.c | /* Copyright (C) 2018 Magnus Lång and 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,719 | 26.741935 | 69 | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.