diff options
author | Andrew Waterman <andrew@sifive.com> | 2019-10-07 15:03:08 +0200 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2019-10-07 15:03:08 +0200 |
commit | bbe881f3c5435d02eeb7c28515bfb301470f2875 (patch) | |
tree | 40992ac01d7b5e9f2d92612b9921ee8b71380b31 /riscv/common.h | |
parent | 7cdcdfb01cb2f70aeead3743d767f2fad5c64cbf (diff) | |
download | spike-bbe881f3c5435d02eeb7c28515bfb301470f2875.zip spike-bbe881f3c5435d02eeb7c28515bfb301470f2875.tar.gz spike-bbe881f3c5435d02eeb7c28515bfb301470f2875.tar.bz2 |
Speed up compilation of disasm.cc, especially in clang
Diffstat (limited to 'riscv/common.h')
-rw-r--r-- | riscv/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/riscv/common.h b/riscv/common.h index 8ddd984..3c523d0 100644 --- a/riscv/common.h +++ b/riscv/common.h @@ -6,4 +6,6 @@ #define likely(x) __builtin_expect(x, 1) #define unlikely(x) __builtin_expect(x, 0) +#define NOINLINE __attribute__ ((noinline)) + #endif |