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/S+PPO523.c | /* Copyright (C) 2018 Magnus Lång and 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,730 | 27.377049 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO814.c | /* Copyright (C) 2018 Magnus Lång and 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,715 | 26.677419 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.5+po+eieio+eieio.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memory_order_seq_cst);
atom... | 1,593 | 23.523077 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0947.c | /* Copyright (C) 2018 Magnus Lång and 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_4;
atomic_int atom_2_r1_2;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 5, memo... | 2,009 | 26.534247 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/RWC+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[2];
atomic_int atom_1_r1_1;
atomic_int atom_1_r3_0;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,787 | 24.913043 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0805.c | /* Copyright (C) 2018 Magnus Lång and 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;
atomic_int atom_2_r3_2;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,102 | 27.04 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0861.c | /* Copyright (C) 2018 Magnus Lång and 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_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,008 | 25.786667 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.5+eieio+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_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/WRC+addr+ctrl.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[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,922 | 26.084507 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0475.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_1_r6_0;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,117 | 27.24 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP0081.c | /* Copyright (C) 2018 Magnus Lång and 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/S+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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,761 | 26.968254 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/podrwposwr020.c | /* Copyright (C) 2018 Magnus Lång and 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_r5_1;
atomic_int atom_3_r1_1;
atomic_int atom_3_r5_1;
void *t0(void *arg){
l... | 2,790 | 28.072917 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.5+eieio+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_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/DETOUR0978.c | /* Copyright (C) 2018 Magnus Lång and 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_0_r4_2;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,066 | 26.932432 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0501.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r3_3;
atomic_int atom_2_r5_2;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,968 | 26.347222 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S0063.c | /* Copyright (C) 2018 Magnus Lång and 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);
int ... | 1,389 | 25.226415 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO859.c | /* Copyright (C) 2018 Magnus Lång and 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,516 | 25.614035 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0406.c | /* Copyright (C) 2018 Magnus Lång and 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/S+PPO513.c | /* Copyright (C) 2018 Magnus Lång and 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,786 | 27.822581 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0564.c | /* Copyright (C) 2018 Magnus Lång and 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_5;
atomic_int atom_1_r5_0;
atomic_int atom_2_r4_4;
atomic_int atom_2_r1_2;... | 2,912 | 28.13 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/podrwposwr017.c | /* Copyright (C) 2018 Magnus Lång and 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_2_r1_1;
atomic_int atom_3_r1_1;
atomic_int atom_3_r8_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,606 | 27.032258 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe137.c | /* Copyright (C) 2018 Magnus Lång and 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;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[0], memory_order_seq_cst)... | 1,914 | 23.551282 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0811.c | /* Copyright (C) 2018 Magnus Lång and 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_1;
atomic_int atom_1_r6_2;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,129 | 27.026316 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0724.c | /* Copyright (C) 2018 Magnus Lång and 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_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/S+PPO326.c | /* Copyright (C) 2018 Magnus Lång and 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,863 | 27.676923 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/W+RWC+sync+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_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/podrwposwr007.c | /* Copyright (C) 2018 Magnus Lång and 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_r3_0;
atomic_int atom_3_r1_1;
atomic_int atom_3_r8_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,606 | 27.032258 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/ISA2+eieio+ctrlisync+po.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
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/WW+WW+RR+WW+RW+RR+sync+sync+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_2_r1_1;
atomic_int atom_2_r3_0;
atomic_int atom_4_r1_1;
atomic_int atom_5_r1_1;
atomic_int atom_5_r3_0;... | 3,385 | 26.528455 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/2+2W0015.c | /* Copyright (C) 2018 Magnus Lång and 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,277 | 23.576923 | 67 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,650 | 26.516667 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/ISA2+eieio+sync+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/Z6.5+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_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/MP+PPO181.c | /* Copyright (C) 2018 Magnus Lång and 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,861 | 28.09375 | 77 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe480.c | /* Copyright (C) 2018 Magnus Lång and 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_2_r1_1;
atomic_int atom_2_r3_1;
void *t0(void *arg){
l... | 2,432 | 26.337079 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0808.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_1_r1_1;
atomic_int atom_1_r6_2;
atomic_int atom_3_r4_4;
atomic_int atom_3_r1_2;
void *t0(void *arg){
l... | 2,648 | 27.793478 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0547.c | /* Copyright (C) 2018 Magnus Lång and 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,996 | 28.80597 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/3.LB+lwsync+lwsync+po.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_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,875 | 25.422535 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/R02.c | /* Copyright (C) 2018 Magnus Lång and 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_r3_0;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... | 1,646 | 23.954545 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO961.c | /* Copyright (C) 2018 Magnus Lång and 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... | 2,005 | 28.940299 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe270.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r1_1;
atomic_int atom_0_r3_0;
atomic_int atom_2_r1_2;
void *t0(void *arg){
label_1:;
int v2_r1 = at... | 2,380 | 25.752809 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO380.c | /* Copyright (C) 2018 Magnus Lång and 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/3.LB+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_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,876 | 25.069444 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO832.c | /* Copyright (C) 2018 Magnus Lång and 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_r14_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, mem... | 1,960 | 28.712121 | 77 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO664.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,817 | 27.40625 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0447.c | /* Copyright (C) 2018 Magnus Lång and 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;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,168 | 27.539474 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/R+lwsync+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[2];
atomic_int atom_1_r3_2;
atomic_int atom_1_r5_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,547 | 25.689655 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO571.c | /* Copyright (C) 2018 Magnus Lång and 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_r12_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, mem... | 2,016 | 29.104478 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.0+lwsync+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_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/ISA2+sync+sync+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[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,876 | 25.069444 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0067.c | /* Copyright (C) 2018 Magnus Lång and 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,907 | 27.909091 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0585.c | /* Copyright (C) 2018 Magnus Lång and 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_0;
atomic_int atom_2_r1_2;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,162 | 27.460526 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO839.c | /* Copyright (C) 2018 Magnus Lång and 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/MOREDETOUR0921.c | /* Copyright (C) 2018 Magnus Lång and 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_0;
atomic_int atom_2_r3_2;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 3, memo... | 1,977 | 26.09589 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO890.c | /* Copyright (C) 2018 Magnus Lång and 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,745 | 27.622951 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO221.c | /* Copyright (C) 2018 Magnus Lång and 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,725 | 27.295082 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0769.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,960 | 26.619718 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/iriwv6.c | /* Copyright (C) 2018 Magnus Lång and 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,643 | 33.377358 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0201.c | /* Copyright (C) 2018 Magnus Lång and 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,968 | 28.38806 | 75 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO046.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[5];
atomic_int atom_1_r1_1;
atomic_int atom_1_r13_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, mem... | 1,991 | 28.294118 | 77 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0085.c | /* Copyright (C) 2018 Magnus Lång and 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,237 | 28.064935 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0592.c | /* Copyright (C) 2018 Magnus Lång and 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,781 | 28.213115 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+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[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,042 | 28.608696 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WW+RR+WW+RW+RR+WR+sync+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_1_r3_0;
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/Z6.0+eieio+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/DETOUR0423.c | /* Copyright (C) 2018 Magnus Lång and 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,731 | 26.935484 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/IRWIW+eieios.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_1_r1_2;
atomic_int atom_3_r1_2;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,966 | 24.217949 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO675.c | /* Copyright (C) 2018 Magnus Lång and 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,026 | 28.808824 | 70 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/Z6.0+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_1_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/WWC+addrs.c | /* Copyright (C) 2018 Magnus Lång and 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,718 | 25.045455 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WRW+WR+eieios.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_1_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,646 | 23.954545 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0555.c | /* Copyright (C) 2018 Magnus Lång and 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_r6_1;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,129 | 27.026316 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0669.c | /* Copyright (C) 2018 Magnus Lång and 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_0_r6_1;
atomic_int atom_1_r4_3;
atomic_int atom_1_r1_1;
atomic_int atom_2_r3_0;... | 2,738 | 29.775281 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP0167.c | /* Copyright (C) 2018 Magnus Lång and 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_r7_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... | 1,613 | 25.9 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO733.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
atomic_int atom_1_r13_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, mem... | 2,134 | 29.070423 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO649.c | /* Copyright (C) 2018 Magnus Lång and 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,028 | 28.838235 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/DETOUR0376.c | /* Copyright (C) 2018 Magnus Lång and 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_0;
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memo... | 1,680 | 27.016667 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO660.c | /* Copyright (C) 2018 Magnus Lång and 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,694 | 26.786885 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/podrwposwr031.c | /* Copyright (C) 2018 Magnus Lång and 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_r3_0;
atomic_int atom_3_r1_1;
atomic_int atom_3_r5_1;
void *t0(void *arg){
l... | 2,608 | 27.053763 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+isync+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;
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/DETOUR1167.c | /* Copyright (C) 2018 Magnus Lång and 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_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 3, memo... | 1,630 | 26.183333 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+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;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | 1,798 | 27.109375 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/LB+PPO0182.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[5];
atomic_int atom_0_r1_1;
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... | 2,055 | 28.371429 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO229.c | /* Copyright (C) 2018 Magnus Lång and 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_r12_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, mem... | 2,014 | 27.785714 | 76 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WRC+lwsync+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,787 | 24.913043 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/W+RWC+sync+sync+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_1_r1_1;
atomic_int atom_1_r3_0;
atomic_int atom_2_r3_1;
atomic_int atom_2_r5_0;
void *t0(void *arg){
l... | 2,238 | 27.341772 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO051.c | /* Copyright (C) 2018 Magnus Lång and 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,837 | 27.71875 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe523.c | /* Copyright (C) 2018 Magnus Lång and 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/hh1.c | /* Copyright (C) 2018 Magnus Lång and 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);
atom... | 1,503 | 23.655738 | 68 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/ISA2+lwsync+addr+lwsync.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_2_r1_1;
atomic_int atom_2_r3_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 1,912 | 25.569444 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MOREDETOUR0767.c | /* Copyright (C) 2018 Magnus Lång and 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_4;
atomic_int atom_2_r4_3;
atomic_int atom_2_r1_1;
void *t0(void *arg){
l... | 2,474 | 28.819277 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/2+2W0053.c | /* Copyright (C) 2018 Magnus Lång and 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,215 | 23.32 | 67 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/MP+PPO265.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[5];
atomic_int atom_1_r1_1;
atomic_int atom_1_r13_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, mem... | 2,041 | 28.171429 | 77 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/safe107.c | /* Copyright (C) 2018 Magnus Lång and 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/MP+PPO691.c | /* Copyright (C) 2018 Magnus Lång and 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,082 | 28.757143 | 74 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/S+PPO729.c | /* Copyright (C) 2018 Magnus Lång and 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,864 | 27.692308 | 69 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/WRW+WR+sync+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[2];
atomic_int atom_1_r1_1;
atomic_int atom_2_r3_2;
atomic_int atom_2_r5_0;
void *t0(void *arg){
label_1:;
atomic_store_e... | 2,008 | 26.520548 | 73 | c |
nidhugg | nidhugg-master/tests/litmus/C-tests/W+RWC+lwsync+eieio+sync.c | /* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
atomic_int atom_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/WRR+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];
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,645 | 24.323077 | 68 | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.