From e8125348b3d13a2e96ae389efc2a16a1e8e34ea3 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 28 Jul 2010 19:08:04 -0700 Subject: [sim,xcc] Changed instruction format to RISC-V Massive changes to gcc, binutils to support new instruction encoding. Simulator reflects these changes. --- riscv/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'riscv/common.h') diff --git a/riscv/common.h b/riscv/common.h index 447d631..cbb8e95 100644 --- a/riscv/common.h +++ b/riscv/common.h @@ -20,4 +20,6 @@ print_and_die(__str); \ } } while(0) +#define static_assert(x) switch (x) case 0: case (x): + #endif -- cgit v1.1