forked from github/verilator
Fix build on hppa (#3954)
As supplied by John David Anglin in Debian bug #1030913
This commit is contained in:
parent
5aa4f46101
commit
aff3f7c4f6
@ -519,6 +519,8 @@ using ssize_t = uint32_t; ///< signed size_t; returned from read()
|
||||
# define VL_CPU_RELAX() asm volatile("nop" ::: "memory");
|
||||
#elif defined(__aarch64__) || defined(__arm__)
|
||||
# define VL_CPU_RELAX() asm volatile("yield" ::: "memory")
|
||||
#elif defined(__hppa__) // HPPA does not currently have yield/pause
|
||||
# define VL_CPU_RELAX() asm volatile("nop" ::: "memory")
|
||||
#elif defined(__loongarch__) // LoongArch does not currently have yield/pause
|
||||
# define VL_CPU_RELAX() asm volatile("nop" ::: "memory")
|
||||
#elif defined(__mips64el__) || defined(__mips__) || defined(__mips64__) || defined(__mips64)
|
||||
|
Loading…
Reference in New Issue
Block a user