Skip to content

wangyuliu/oprofile

Repository files navigation

[ 491s] operf_utils.cpp:1423:9: error: 'rmb' was not declared in this scope [ 491s] 1423 | rmb(); [ 491s] | ^~~ [ 491s] make[2]: *** [Makefile:474: operf_utils.o] Error 1

#define RISCV_FENCE(p, s)
asm volatile ("fence " #p "," #s : : : "memory")

/* These barriers need to enforce ordering on both devices or memory. */ #define mb() RISCV_FENCE(iorw,iorw) #define rmb() RISCV_FENCE(ir,ir) #define wmb() RISCV_FENCE(ow,ow)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages