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/DETOUR0678.c | /* Copyright (C) 2018 Magnus Lång and 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,331 | 27.790123 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe269.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r1_2;
atomic_int atom_0_r3_0;
atomic_int atom_2_r1_2;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 2,291 | 25.651163 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB0023.c | /* Copyright (C) 2018 Magnus Lång and 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,684 | 26.622951 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/ISA2+rfi-data+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_0_r3_1;
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
atomic_int atom_2_r4_0;
void *t0(void *arg){
l... | 2,358 | 28.123457 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO655.c | /* Copyright (C) 2018 Magnus Lång and 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,089 | 28.857143 | 70 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR1257.c | /* Copyright (C) 2018 Magnus Lång and 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,529 | 25.37931 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO177.c | /* Copyright (C) 2018 Magnus Lång and 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,841 | 27.78125 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO455.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
atomic_int atom_1_r12_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, mem... | 1,901 | 27.818182 | 70 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe466.c | /* Copyright (C) 2018 Magnus Lång and 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_0_r3_0;
atomic_int atom_2_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
l... | 2,426 | 25.966667 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO594.c | /* Copyright (C) 2018 Magnus Lång and 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... | 1,936 | 27.910448 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/ISA2+eieio+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/S+PPO358.c | /* Copyright (C) 2018 Magnus Lång and 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/MP+PPO682.c | /* Copyright (C) 2018 Magnus Lång and 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,747 | 26.746032 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0098.c | /* Copyright (C) 2018 Magnus Lång and 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,910 | 27.954545 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0007.c | /* Copyright (C) 2018 Magnus Lång and 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,788 | 27.854839 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO937.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r11_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, mem... | 2,076 | 29.101449 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WRC+ctrlisync+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[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,887 | 25.222222 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+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[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,776 | 27.206349 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+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[2];
atomic_int atom_1_r1_1;
atomic_int atom_1_r6_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,642 | 26.383333 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0092.c | /* Copyright (C) 2018 Magnus Lång and 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_3_r1_3;
atomic_int atom_3_r4_0;
void *t0(void *arg){
l... | 2,771 | 28.806452 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO260.c | /* Copyright (C) 2018 Magnus Lång and 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,776 | 27.206349 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0306.c | /* Copyright (C) 2018 Magnus Lång and 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_0;
atomic_int atom_1_r6_1;
void *t0(void *arg){
l... | 2,094 | 29.362319 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0724.c | /* Copyright (C) 2018 Magnus Lång and 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;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,082 | 28.338028 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR1070.c | /* Copyright (C) 2018 Magnus Lång and 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_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,805 | 25.558824 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0722.c | /* Copyright (C) 2018 Magnus Lång and 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,445 | 25.290909 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe178.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r1_2;
atomic_int atom_1_r1_1;
atomic_int atom_1_r3_1;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 2,291 | 25.651163 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0542.c | /* Copyright (C) 2018 Magnus Lång and 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_r4_3;
atomic_int atom_1_r5_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,007 | 26.135135 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0294.c | /* Copyright (C) 2018 Magnus Lång and 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,831 | 27.184615 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0140.c | /* Copyright (C) 2018 Magnus Lång and 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,676 | 26.491803 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0417.c | /* Copyright (C) 2018 Magnus Lång and 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,828 | 27.578125 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.4+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_r3_0;
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/MOREDETOUR0222.c | /* Copyright (C) 2018 Magnus Lång and 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_0;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 2,130 | 27.039474 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO562.c | /* Copyright (C) 2018 Magnus Lång and 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,796 | 27.52381 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR1292.c | /* Copyright (C) 2018 Magnus Lång and 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], 3, memo... | 1,888 | 25.605634 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0534.c | /* Copyright (C) 2018 Magnus Lång and 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_r5_3;
atomic_int atom_1_r6_0;
void *t0(void *arg){
l... | 2,331 | 27.790123 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0473.c | /* Copyright (C) 2018 Magnus Lång and 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_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,837 | 27.276923 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+isync+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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,223 | 23 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/podrwposwr064.c | /* Copyright (C) 2018 Magnus Lång and 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_2_r1_1;
atomic_int atom_3_r1_1;
atomic_int atom_3_r5_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,467 | 26.422222 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+eieio+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/LB+PPO0298.c | /* Copyright (C) 2018 Magnus Lång and 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,971 | 28.878788 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0170.c | /* Copyright (C) 2018 Magnus Lång and 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,381 | 24.592593 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/W+RWC+po+sync+lwsync.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_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/DETOUR1211.c | /* Copyright (C) 2018 Magnus Lång and 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;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,089 | 27.243243 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0315.c | /* Copyright (C) 2018 Magnus Lång and 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,571 | 26.103448 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO222.c | /* Copyright (C) 2018 Magnus Lång and 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,023 | 28.333333 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO967.c | /* Copyright (C) 2018 Magnus Lång and 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_r9_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,760 | 27.868852 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe518.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_0_r1_1;
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
l... | 2,462 | 26.366667 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WW+RR+WR+WW+RW+RR+sync+lwsync+sync+lwsync+sync+lwsync.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[6];
atomic_int atom_1_r1_1;
atomic_int atom_1_r3_0;
atomic_int atom_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/SB0018.c | /* Copyright (C) 2018 Magnus Lång and 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_r6_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,709 | 26.142857 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0303.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[5];
atomic_int atom_0_r1_1;
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... | 2,090 | 28.871429 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0985.c | /* Copyright (C) 2018 Magnus Lång and 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,718 | 26.725806 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0163.c | /* Copyright (C) 2018 Magnus Lång and 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,411 | 24.672727 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0165.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,372 | 24.425926 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO688.c | /* Copyright (C) 2018 Magnus Lång and 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,834 | 27.671875 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP0048.c | /* Copyright (C) 2018 Magnus Lång and 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,570 | 26.561404 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO100.c | /* Copyright (C) 2018 Magnus Lång and 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,443 | 24.785714 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/3.SB+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_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/IRWIW+addr+po.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_1_r1_2;
atomic_int atom_3_r1_2;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 2,001 | 25 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0077.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_3;
atomic_int atom_2_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,174 | 28 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0090.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r3_2;
atomic_int atom_2_r1_1;
atomic_int atom_2_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,082 | 27.148649 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0909.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
atomic_int atom_1_r3_3;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,966 | 25.945205 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WRC+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[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,787 | 24.913043 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/podrr001.c | /* Copyright (C) 2018 Magnus Lång and 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_r3_0;
atomic_int atom_3_r1_1;
atomic_int atom_3_r3_0;
void *t0(void *arg){
l... | 2,424 | 26.556818 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0064.c | /* Copyright (C) 2018 Magnus Lång and 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,870 | 27.784615 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0607.c | /* Copyright (C) 2018 Magnus Lång and 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_r6_2;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,091 | 26.893333 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0167.c | /* Copyright (C) 2018 Magnus Lång and 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,323 | 23.981132 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+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;
atomic_int atom_1_r12_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, mem... | 1,901 | 28.261538 | 77 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0326.c | /* Copyright (C) 2018 Magnus Lång and 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/ppc-cookbook6.1-iwp2.3.a-amd4.c | /* Copyright (C) 2018 Magnus Lång and 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,326 | 24.519231 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO459.c | /* Copyright (C) 2018 Magnus Lång and 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,723 | 26.806452 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0072.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
atomic_int atom_2_r1_1;
atomic_int atom_2_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,034 | 26.876712 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WRR+2W+lwsyncs.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_1_r1_2;
atomic_int atom_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/MOREDETOUR0718.c | /* Copyright (C) 2018 Magnus Lång and 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... | 2,025 | 26.753425 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.3+eieio+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_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/MP0175.c | /* Copyright (C) 2018 Magnus Lång and 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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,485 | 25.535714 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO533.c | /* Copyright (C) 2018 Magnus Lång and 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,743 | 27.129032 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.3+eieio+po+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,733 | 24.880597 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/hh3.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,505 | 22.904762 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0261.c | /* Copyright (C) 2018 Magnus Lång and 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,278 | 27.848101 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/3.LB+lwsync+sync+addr.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_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,912 | 25.569444 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0435.c | /* Copyright (C) 2018 Magnus Lång and 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,783 | 27.31746 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0803.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,030 | 26.445946 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO335.c | /* Copyright (C) 2018 Magnus Lång and 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,925 | 27.746269 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0711.c | /* Copyright (C) 2018 Magnus Lång and 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_r7_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,957 | 26.577465 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/2+2W+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];
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/S0148.c | /* Copyright (C) 2018 Magnus Lång and 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/WW+RW+RR+WW+RW+WR+lwsync+sync+lwsync+sync+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[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_r3_0;... | 3,385 | 26.528455 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0629.c | /* Copyright (C) 2018 Magnus Lång and 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,745 | 26.714286 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0841.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r5_2;
atomic_int atom_1_r4_4;
atomic_int atom_1_r6_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,006 | 26.493151 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR1193.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r3_2;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,830 | 25.536232 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0408.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r3_2;
atomic_int atom_0_r4_3;
atomic_int atom_2_r5_2;
atomic_int atom_2_r1_1;
void *t0(void *arg){
l... | 2,327 | 28.1 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR1239.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r5_2;
atomic_int atom_1_r4_4;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,863 | 25.628571 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0966.c | /* Copyright (C) 2018 Magnus Lång and 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_0_r6_1;
atomic_int atom_1_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,957 | 28.223881 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO874.c | /* Copyright (C) 2018 Magnus Lång and 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,807 | 27.698413 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0765.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 3, memo... | 1,881 | 25.885714 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/ISA2+eieio+ctrlisync+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,976 | 25.36 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/SB0063.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r3_0;
atomic_int atom_1_r5_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,425 | 24.927273 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/rfe005.c | /* Copyright (C) 2018 Magnus Lång and 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_2_r1_2;
atomic_int atom_2_r4_0;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 2,181 | 25.938272 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.3+eieio+sync+po.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_2_r1_1;
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/LB+PPO0336.c | /* Copyright (C) 2018 Magnus Lång and 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,942 | 28 | 69 | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.