]>
Commit | Line | Data |
---|---|---|
f6bcefef HPN |
1 | /* CRIS v10 simulator support code |
2 | Copyright (C) 2004, 2005 Free Software Foundation, Inc. | |
3 | Contributed by Axis Communications. | |
4 | ||
5 | This file is part of the GNU simulators. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2, or (at your option) | |
10 | any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License along | |
18 | with this program; if not, write to the Free Software Foundation, Inc., | |
19 | 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | |
20 | ||
21 | /* The infrastructure is based on that of i960.c. */ | |
22 | ||
23 | #define WANT_CPU_CRISV10F | |
24 | ||
25 | #define BASENUM 10 | |
26 | #include "cris-tmpl.c" | |
27 | ||
28 | #if WITH_PROFILE_MODEL_P | |
29 | ||
30 | /* Model function for u-multiply unit. */ | |
31 | ||
32 | int | |
33 | MY (XCONCAT3 (f_model_crisv,BASENUM, | |
34 | _u_multiply)) (SIM_CPU *current_cpu ATTRIBUTE_UNUSED, | |
35 | const IDESC *idesc ATTRIBUTE_UNUSED, | |
36 | int unit_num ATTRIBUTE_UNUSED, | |
37 | int referenced ATTRIBUTE_UNUSED) | |
38 | { | |
39 | return 1; | |
40 | } | |
41 | ||
42 | #endif /* WITH_PROFILE_MODEL_P */ |