diff options
Diffstat (limited to 'sim/ppc/gen-idecode.c')
-rw-r--r-- | sim/ppc/gen-idecode.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sim/ppc/gen-idecode.c b/sim/ppc/gen-idecode.c index 3b88866..8c29cc4 100644 --- a/sim/ppc/gen-idecode.c +++ b/sim/ppc/gen-idecode.c @@ -1,6 +1,6 @@ /* This file is part of the program psim. - Copyright (C) 1994-1997, Andrew Cagney <cagney@highland.com.au> + Copyright 1994, 1995, 1996, 1997, 2003 Andrew Cagney This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1499,6 +1499,10 @@ gen_idecode_c(lf *file, lf_printf(file, "#include \"idecode.h\"\n"); lf_printf(file, "#include \"semantics.h\"\n"); lf_printf(file, "#include \"icache.h\"\n"); + lf_printf(file, "#ifdef HAVE_COMMON_FPU\n"); + lf_printf(file, "#include \"sim-inline.h\"\n"); + lf_printf(file, "#include \"sim-fpu.h\"\n"); + lf_printf(file, "#endif\n"); lf_printf(file, "#include \"support.h\"\n"); lf_printf(file, "\n"); lf_printf(file, "#include <setjmp.h>\n"); |