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/S0057.c | /* Copyright (C) 2018 Magnus Lång and 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/W+RWC+po+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_1_r3_0;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,874 | 25.785714 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0102.c | /* Copyright (C) 2018 Magnus Lång and 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,496 | 24.810345 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe563.c | /* Copyright (C) 2018 Magnus Lång and 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_2_r1_1;
atomic_int atom_3_r1_1;
void *t0(void *arg){
l... | 2,521 | 26.413043 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.4+po+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,734 | 24.514706 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0123.c | /* Copyright (C) 2018 Magnus Lång and 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;
atomic_int atom_1_r6_1;
void *t0(void *arg){
l... | 2,259 | 29.540541 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/3.SB+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_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/MP+PPO544.c | /* Copyright (C) 2018 Magnus Lång and 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,069 | 28.571429 | 70 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR1155.c | /* Copyright (C) 2018 Magnus Lång and 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,157 | 27.025974 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO479.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r9_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,878 | 27.469697 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP0127.c | /* Copyright (C) 2018 Magnus Lång and 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/DETOUR0916.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
atomic_int atom_1_r6_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,793 | 25.382353 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0531.c | /* Copyright (C) 2018 Magnus Lång and 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,898 | 28.215385 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/m4d.c | /* Copyright (C) 2018 Magnus Lång and 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_r2_0;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,825 | 25.463768 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0175.c | /* Copyright (C) 2018 Magnus Lång and 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,829 | 27.59375 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO248.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
atomic_int atom_1_r11_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, mem... | 2,043 | 28.2 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0521.c | /* Copyright (C) 2018 Magnus Lång and 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_1;
atomic_int atom_1_r6_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,899 | 27.358209 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0276.c | /* Copyright (C) 2018 Magnus Lång and 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... | 2,080 | 27.121622 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0866.c | /* Copyright (C) 2018 Magnus Lång and 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;
atomic_int atom_3_r4_4;
atomic_int atom_3_r1_2;... | 3,034 | 28.754902 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/W+RWC+sync+addr+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_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/S+PPO538.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,754 | 27.306452 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO762.c | /* Copyright (C) 2018 Magnus Lång and 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,043 | 28.623188 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.3+lwsync+sync+lwsync.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_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/MP+PPO011.c | /* Copyright (C) 2018 Magnus Lång and 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,838 | 28.190476 | 77 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0861.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_2_r4_3;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,190 | 27.454545 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0330.c | /* Copyright (C) 2018 Magnus Lång and 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,115 | 28.802817 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/W+RWC+eieio+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[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,913 | 25.957746 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/2+2W0027.c | /* Copyright (C) 2018 Magnus Lång and 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/LB+PPO0554.c | /* Copyright (C) 2018 Magnus Lång and 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,858 | 28.507937 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+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;
atomic_int atom_1_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,364 | 24.277778 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0147.c | /* Copyright (C) 2018 Magnus Lång and 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,932 | 27.850746 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP0158.c | /* Copyright (C) 2018 Magnus Lång and 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,522 | 25.719298 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO480.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
atomic_int atom_1_r12_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, mem... | 2,024 | 28.347826 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe482.c | /* Copyright (C) 2018 Magnus Lång and 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_0;
atomic_int atom_1_r1_1;
atomic_int atom_1_r3_1;
void *t0(void *arg){
l... | 2,333 | 27.814815 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0478.c | /* Copyright (C) 2018 Magnus Lång and 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/W+RWC+lwsync+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[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,913 | 25.957746 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0710.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_1_r4_3;
atomic_int atom_1_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,162 | 27.460526 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0735.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_1_r1_1;
atomic_int atom_1_r4_4;
atomic_int atom_2_r4_3;
atomic_int atom_2_r1_1;
void *t0(void *arg){
l... | 2,711 | 27.851064 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.1+syncs.c | /* Copyright (C) 2018 Magnus Lång and 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/SB+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_0_r3_0;
atomic_int atom_1_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,326 | 23.574074 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/podrwposwr010.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[5];
atomic_int atom_1_r1_1;
atomic_int atom_3_r1_1;
atomic_int atom_3_r8_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,640 | 27.397849 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/m3s.c | /* Copyright (C) 2018 Magnus Lång and 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_1;
atomic_int atom_2_r1_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,787 | 24.913043 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.2+rfi-data+sync+sync.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r3_2;
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,120 | 26.545455 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO684.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[5];
atomic_int atom_1_r1_1;
atomic_int atom_1_r15_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, mem... | 2,089 | 28.857143 | 77 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/podrr003.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,875 | 25.422535 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB0088.c | /* Copyright (C) 2018 Magnus Lång and 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,741 | 27.096774 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO299.c | /* Copyright (C) 2018 Magnus Lång and 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,871 | 27.363636 | 76 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0160.c | /* Copyright (C) 2018 Magnus Lång and 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/DETOUR0926.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,324 | 26.352941 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB0093.c | /* Copyright (C) 2018 Magnus Lång and 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,607 | 26.254237 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0010.c | /* Copyright (C) 2018 Magnus Lång and 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,882 | 27.969231 | 76 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO680.c | /* Copyright (C) 2018 Magnus Lång and 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,766 | 26.609375 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0303.c | /* Copyright (C) 2018 Magnus Lång and 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_r6_2;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 1,930 | 28.257576 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO919.c | /* Copyright (C) 2018 Magnus Lång and 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,562 | 26.421053 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO546.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r10_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, mem... | 1,883 | 27.984615 | 70 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0632.c | /* Copyright (C) 2018 Magnus Lång and 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_4;
atomic_int atom_1_r4_3;
atomic_int atom_1_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
l... | 2,536 | 28.847059 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO147.c | /* Copyright (C) 2018 Magnus Lång and 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,866 | 27.723077 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.3+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[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/safe057.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r1_1;
atomic_int atom_1_r1_2;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... | 2,275 | 25.465116 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/podrwposwr049.c | /* Copyright (C) 2018 Magnus Lång and 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_r3_0;
atomic_int atom_3_r1_1;
atomic_int atom_3_r7_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,483 | 26.6 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/podrwposwr069.c | /* Copyright (C) 2018 Magnus Lång and 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_2_r1_1;
atomic_int atom_3_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,481 | 26.577778 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/iriwv4.c | /* Copyright (C) 2018 Magnus Lång and 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_0_r2_0;
atomic_int atom_1_r1_0;
atomic_int atom_1_r2_2;
atomic_int atom_0_r2_2;... | 3,825 | 33.781818 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO678.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[5];
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,870 | 27.348485 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0850.c | /* Copyright (C) 2018 Magnus Lång and 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_r5_4;
atomic_int atom_1_r6_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,931 | 27.411765 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0567.c | /* Copyright (C) 2018 Magnus Lång and 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_r6_1;
atomic_int atom_2_r1_2;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,273 | 27.78481 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0071.c | /* Copyright (C) 2018 Magnus Lång and 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_0;
atomic_int atom_2_r1_2;
atomic_int atom_2_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,177 | 27.657895 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe385.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r1_1;
atomic_int atom_1_r1_1;
atomic_int atom_1_r3_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
l... | 2,432 | 26.337079 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/3.2W+syncs.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
atomic_store_explicit(&vars[... | 1,455 | 22.111111 | 64 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.0+lwsync+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[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,770 | 25.044118 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/b3.c | /* Copyright (C) 2018 Magnus Lång and 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_r2_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,364 | 24.277778 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.5+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[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,594 | 23.166667 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WW+RR+WW+RW+RW+RR+lwsync+sync+lwsync+sync+lwsync+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_3_r1_1;
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/LB+PPO0062.c | /* Copyright (C) 2018 Magnus Lång and 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[... | 1,990 | 28.716418 | 77 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0786.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 3, memo... | 1,855 | 25.514286 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WRC+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[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,886 | 25.577465 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe543.c | /* Copyright (C) 2018 Magnus Lång and 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_2_r1_2;
atomic_int atom_2_r3_0;
void *t0(void *arg){
l... | 2,616 | 26.840426 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/ISA2+rfi-data+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_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,261 | 27.275 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/R0114.c | /* Copyright (C) 2018 Magnus Lång and 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,256 | 23.647059 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.2+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_2;
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,219 | 27.461538 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.0+sync+addr+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_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,771 | 24.681159 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO417.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[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,911 | 27.537313 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.3+lwsync+sync+addr-fri-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[4];
atomic_int atom_2_r1_1;
atomic_int atom_2_r4_0;
atomic_int atom_2_r7_1;
atomic_int atom_2_r9_0;
void *t0(void *arg){
l... | 2,544 | 28.593023 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0343.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 2,041 | 26.972603 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0510.c | /* Copyright (C) 2018 Magnus Lång and 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_1;
atomic_int atom_1_r7_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,776 | 27.206349 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/ISA2+lwsync+data+addr.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
atomic_int atom_2_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,975 | 26.068493 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO650.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,741 | 26.650794 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR1000.c | /* Copyright (C) 2018 Magnus Lång and 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_r5_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,119 | 26.894737 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO291.c | /* Copyright (C) 2018 Magnus Lång and 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 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0585.c | /* Copyright (C) 2018 Magnus Lång and 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_3;
atomic_int atom_1_r6_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,769 | 27.548387 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+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_1_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,326 | 23.574074 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/3.LB+addr+lwsync+po.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r1_1;
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 1,911 | 25.929577 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0657.c | /* Copyright (C) 2018 Magnus Lång and 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_r7_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,035 | 26.513514 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe368.c | /* Copyright (C) 2018 Magnus Lång and 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_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/LB+PPO0509.c | /* Copyright (C) 2018 Magnus Lång and 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[... | 2,023 | 28.764706 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe194.c | /* Copyright (C) 2018 Magnus Lång and 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/Z6.4+lwsync+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_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/S+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_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,189 | 22.333333 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0519.c | /* Copyright (C) 2018 Magnus Lång and 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_2;
atomic_int atom_1_r7_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,985 | 26.583333 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0709.c | /* Copyright (C) 2018 Magnus Lång and 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_r4_3;
atomic_int atom_1_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
l... | 2,414 | 28.45122 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/R0080.c | /* Copyright (C) 2018 Magnus Lång and 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_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memory_order_seq_cst);
int ... | 1,523 | 25.275862 | 73 | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.