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/MOREDETOUR0410.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r3_0;
atomic_int atom_1_r3_0;
atomic_int atom_1_r6_3;
atomic_int atom_2_r3_2;
void *t0(void *arg){
l... | 2,551 | 27.355556 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.2+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;
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/MP+PPO657.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r11_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, mem... | 1,918 | 28.523077 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WRW+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];
atomic_int atom_1_r1_2;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
retu... | 1,505 | 22.904762 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.5+lwsync+eieio+po.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memory_order_seq_cst);
ato... | 1,593 | 23.523077 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO303.c | /* Copyright (C) 2018 Magnus Lång and 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,645 | 25.983607 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0543.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r5_2;
atomic_int atom_1_r6_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,096 | 26.592105 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0006.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_2;
atomic_int atom_1_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,585 | 26.344828 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO188.c | /* Copyright (C) 2018 Magnus Lång and 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,750 | 27.704918 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0426.c | /* Copyright (C) 2018 Magnus Lång and 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_r4_4;
atomic_int atom_2_r5_2;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,090 | 26.88 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0871.c | /* Copyright (C) 2018 Magnus Lång and 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_r7_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,127 | 27 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP0123.c | /* Copyright (C) 2018 Magnus Lång and 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,709 | 26.580645 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0030.c | /* Copyright (C) 2018 Magnus Lång and 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);
int ... | 1,537 | 25.982456 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/ISA2+sync+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_r1_1;
atomic_int atom_2_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,937 | 25.547945 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/SB0011.c | /* Copyright (C) 2018 Magnus Lång and 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_r8_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,663 | 25.83871 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/R0117.c | /* Copyright (C) 2018 Magnus Lång and 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,328 | 24.557692 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO366.c | /* Copyright (C) 2018 Magnus Lång and 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/ppc-adir6.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
atomic_int atom_1_r3_2;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 1,849 | 27.461538 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR1045.c | /* Copyright (C) 2018 Magnus Lång and 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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,596 | 26.067797 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0940.c | /* Copyright (C) 2018 Magnus Lång and 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_r4_3;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 4, memo... | 2,083 | 26.786667 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0498.c | /* Copyright (C) 2018 Magnus Lång and 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,777 | 27.677419 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO228.c | /* Copyright (C) 2018 Magnus Lång and 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,688 | 27.15 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0056.c | /* Copyright (C) 2018 Magnus Lång and 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,405 | 25.037037 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP0093.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r7_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,647 | 26.466667 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.5+lwsync+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_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memory_order_seq_cst);
ato... | 1,592 | 23.890625 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0558.c | /* Copyright (C) 2018 Magnus Lång and 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,790 | 27.887097 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO949.c | /* Copyright (C) 2018 Magnus Lång and 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,067 | 28.971014 | 70 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WRR+2W+addr-fri-rfi-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_2;
atomic_int atom_1_r4_0;
atomic_int atom_1_r7_1;
atomic_int atom_1_r9_0;
void *t0(void *arg){
l... | 2,455 | 28.590361 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0107.c | /* Copyright (C) 2018 Magnus Lång and 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_2_r1_2;
atomic_int atom_2_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,944 | 26.785714 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO767.c | /* Copyright (C) 2018 Magnus Lång and 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,066 | 28.956522 | 70 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO950.c | /* Copyright (C) 2018 Magnus Lång and 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/MOREDETOUR0459.c | /* Copyright (C) 2018 Magnus Lång and 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_1_r6_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,932 | 27.850746 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0837.c | /* Copyright (C) 2018 Magnus Lång and 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_3_r4_3;
atomic_int atom_3_r1_1;
void *t0(void *arg){
l... | 2,673 | 27.752688 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0137.c | /* Copyright (C) 2018 Magnus Lång and 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,439 | 25.181818 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/ISA2+lwsync+eieio+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/ISA2+eieio+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[3];
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
atomic_int atom_2_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,914 | 25.597222 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+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[2];
atomic_int atom_0_r1_1;
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... | 1,423 | 24.890909 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/2+2W0043.c | /* Copyright (C) 2018 Magnus Lång and 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,333 | 23.703704 | 67 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/3.SB+eieio+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/PPO013.c | /* Copyright (C) 2018 Magnus Lång and 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,698 | 25.968254 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0700.c | /* Copyright (C) 2018 Magnus Lång and 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_r6_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,029 | 26.808219 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.3+rfi-data+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_0_r3_1;
atomic_int atom_1_r3_2;
atomic_int atom_2_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
l... | 2,503 | 28.458824 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0471.c | /* Copyright (C) 2018 Magnus Lång and 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_r6_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,018 | 26.657534 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0252.c | /* Copyright (C) 2018 Magnus Lång and 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_2_r1_2;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 2,187 | 27.789474 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0190.c | /* Copyright (C) 2018 Magnus Lång and 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_r3_0;
atomic_int atom_1_r6_1;
atomic_int atom_2_r1_1;... | 2,736 | 30.102273 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.4+lwsync+lwsync+sync.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_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/MP+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;
atomic_int atom_1_r11_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, mem... | 1,963 | 27.882353 | 70 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0094.c | /* Copyright (C) 2018 Magnus Lång and 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,992 | 28.308824 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR1129.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r3_0;
atomic_int atom_1_r5_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,119 | 26.894737 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0558.c | /* Copyright (C) 2018 Magnus Lång and 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_1;
atomic_int atom_1_r6_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,832 | 27.640625 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO550.c | /* Copyright (C) 2018 Magnus Lång and 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,774 | 27.629032 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0375.c | /* Copyright (C) 2018 Magnus Lång and 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,966 | 28.358209 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO914.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
atomic_int atom_1_r12_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, mem... | 2,006 | 28.514706 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0530.c | /* Copyright (C) 2018 Magnus Lång and 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,929 | 28.692308 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.2+sync+lwsync+eieio.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[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,735 | 24.15942 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WRW+2W+eieio+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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
retu... | 1,505 | 22.904762 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO272.c | /* Copyright (C) 2018 Magnus Lång and 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/MP+PPO911.c | /* Copyright (C) 2018 Magnus Lång and 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,984 | 28.626866 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.1+rfi-data+lwsync+sync.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r3_2;
atomic_int atom_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+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;
atomic_int atom_1_r12_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, mem... | 2,010 | 28.573529 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0010.c | /* Copyright (C) 2018 Magnus Lång and 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_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,174 | 28 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WW+RW+RW+RW+RR+WR+lwsync+lwsync+lwsync+sync+lwsync+sync.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[6];
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
atomic_int atom_3_r1_1;
atomic_int atom_4_r1_1;
atomic_int atom_4_r3_0;... | 3,524 | 26.97619 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0201.c | /* Copyright (C) 2018 Magnus Lång and 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_0;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 1,782 | 27.758065 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO005.c | /* Copyright (C) 2018 Magnus Lång and 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,761 | 27.419355 | 76 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO413.c | /* Copyright (C) 2018 Magnus Lång and 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 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0934.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,387 | 26.448276 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0873.c | /* Copyright (C) 2018 Magnus Lång and 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... | 2,003 | 26.081081 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0007.c | /* Copyright (C) 2018 Magnus Lång and 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);
atom... | 1,470 | 25.267857 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO223.c | /* Copyright (C) 2018 Magnus Lång and 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,831 | 27.625 | 76 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe421.c | /* Copyright (C) 2018 Magnus Lång and 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_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
l... | 2,432 | 26.337079 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/PPO018.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r7_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,758 | 26.484375 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe041.c | /* Copyright (C) 2018 Magnus Lång and 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;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... | 2,055 | 24.382716 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO001.c | /* Copyright (C) 2018 Magnus Lång and 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,360 | 24.203704 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/W+RWC+sync+sync+eieio.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_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/S+PPO661.c | /* Copyright (C) 2018 Magnus Lång and 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,767 | 27.516129 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO817.c | /* Copyright (C) 2018 Magnus Lång and 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,881 | 27.953846 | 76 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0747.c | /* Copyright (C) 2018 Magnus Lång and 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_1_r6_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,992 | 28.308824 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO563.c | /* Copyright (C) 2018 Magnus Lång and 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,066 | 28.956522 | 70 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/SyncWith2.c | /* Copyright (C) 2018 Magnus Lång and 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_r6_1;
atomic_int atom_1_r1_1;
atomic_int atom_1_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,832 | 26.772727 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0666.c | /* Copyright (C) 2018 Magnus Lång and 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,905 | 25.84507 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0458.c | /* Copyright (C) 2018 Magnus Lång and 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,912 | 28.430769 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO018.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
atomic_int atom_1_r13_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, mem... | 1,948 | 28.530303 | 76 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB0062.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r1_2;
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... | 1,678 | 26.983333 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO772.c | /* Copyright (C) 2018 Magnus Lång and 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/Z6.3+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[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/ppc-adir8.c | /* Copyright (C) 2018 Magnus Lång and 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_0;
atomic_int atom_1_r2_2;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,769 | 24.652174 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0582.c | /* Copyright (C) 2018 Magnus Lång and 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_r6_0;
atomic_int atom_2_r1_1;
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/LB+PPO0142.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[6];
atomic_int atom_0_r1_1;
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... | 2,017 | 28.676471 | 77 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.5+rfi-data+rfi-data+rfi-addr.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r3_1;
atomic_int atom_1_r3_2;
atomic_int atom_2_r3_2;
atomic_int atom_2_r5_0;
void *t0(void *arg){
l... | 2,724 | 29.617978 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0055.c | /* Copyright (C) 2018 Magnus Lång and 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_3_r1_1;
atomic_int atom_3_r4_0;
void *t0(void *arg){
l... | 2,440 | 27.383721 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO345.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
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,823 | 26.636364 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO872.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[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,617 | 26.423729 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0281.c | /* Copyright (C) 2018 Magnus Lång and 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_3;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 2,067 | 26.945946 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0066.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r3_1;
atomic_int atom_1_r1_1;
atomic_int atom_1_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,817 | 27.857143 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO288.c | /* Copyright (C) 2018 Magnus Lång and 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,788 | 27.396825 | 76 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/2+2W+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];
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memory_order_seq_cst);
atomic_store_explicit(&vars[... | 1,051 | 21.382979 | 64 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WWC+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_2_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,681 | 24.876923 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0288.c | /* Copyright (C) 2018 Magnus Lång and 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;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... | 1,568 | 26.051724 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0364.c | /* Copyright (C) 2018 Magnus Lång and 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);
int ... | 1,477 | 25.392857 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0002.c | /* Copyright (C) 2018 Magnus Lång and 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,859 | 28.0625 | 77 | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.