projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Inserting a blank line to changelog
[deliverable/binutils-gdb.git]
/
sim
/
ppc
/
gen-support.c
diff --git
a/sim/ppc/gen-support.c
b/sim/ppc/gen-support.c
index 56edec38e5fcae8099949eb3d573df88ff700158..ed02d7dc75a7733443d282bf1d9708f21ba3333d 100644
(file)
--- a/
sim/ppc/gen-support.c
+++ b/
sim/ppc/gen-support.c
@@
-1,6
+1,6
@@
/* This file is part of the program psim.
/* This file is part of the program psim.
- Copyright
(C) 1994-1995, Andrew Cagney <cagney@highland.com.au>
+ Copyright
1994, 1995, 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
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
@@
-38,7
+38,7
@@
print_support_function_name(lf *file,
int is_function_definition)
{
if (it_is("internal", function->fields[insn_flags])) {
int is_function_definition)
{
if (it_is("internal", function->fields[insn_flags])) {
- lf_print_function_type(file, SEMANTIC_FUNCTION_TYPE, "INLINE_SUPPORT",
+ lf_print_function_type(file, SEMANTIC_FUNCTION_TYPE, "
PSIM_
INLINE_SUPPORT",
(is_function_definition ? "\n" : " "));
print_function_name(file,
function->fields[function_name],
(is_function_definition ? "\n" : " "));
print_function_name(file,
function->fields[function_name],
@@
-52,7
+52,7
@@
print_support_function_name(lf *file,
else {
lf_print_function_type(file,
function->fields[function_type],
else {
lf_print_function_type(file,
function->fields[function_type],
- "INLINE_SUPPORT",
+ "
PSIM_
INLINE_SUPPORT",
(is_function_definition ? "\n" : " "));
lf_printf(file, "%s\n(%s)%s",
function->fields[function_name],
(is_function_definition ? "\n" : " "));
lf_printf(file, "%s\n(%s)%s",
function->fields[function_name],
@@
-122,6
+122,10
@@
gen_support_c(insn_table *table,
{
lf_printf(file, "#include \"cpu.h\"\n");
lf_printf(file, "#include \"idecode.h\"\n");
{
lf_printf(file, "#include \"cpu.h\"\n");
lf_printf(file, "#include \"idecode.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 \"support.h\"\n");
lf_printf(file, "\n");
This page took
0.023566 seconds
and
4
git commands to generate.