summaryrefslogtreecommitdiff
path: root/sim/cris/semcrisv10f-switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/cris/semcrisv10f-switch.c')
-rw-r--r--sim/cris/semcrisv10f-switch.c55
1 files changed, 32 insertions, 23 deletions
diff --git a/sim/cris/semcrisv10f-switch.c b/sim/cris/semcrisv10f-switch.c
index 968e10b90dd..56d2e6b2b03 100644
--- a/sim/cris/semcrisv10f-switch.c
+++ b/sim/cris/semcrisv10f-switch.c
@@ -2,22 +2,23 @@
THIS FILE IS MACHINE GENERATED WITH CGEN.
-Copyright 1996-2005 Free Software Foundation, Inc.
+Copyright 1996-2007 Free Software Foundation, Inc.
This file is part of the GNU simulators.
-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
-the Free Software Foundation; either version 3 of the License, or
-(at your option) any later version.
+ This file is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+ It is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
@@ -726,10 +727,12 @@ SET_H_VBIT_MOVE (0);
vpc = SEM_NEXT_VPC (sem_arg, pc, 2);
{
- QI tmp_newval;
- tmp_newval = GET_H_GR (FLD (f_operand1));
+ QI tmp_tmpops;
+ SI tmp_newval;
+ tmp_tmpops = GET_H_GR (FLD (f_operand1));
+ tmp_newval = EXTQISI (tmp_tmpops);
{
- SI opval = EXTQISI (tmp_newval);
+ SI opval = tmp_newval;
SET_H_GR (FLD (f_operand2), opval);
TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
@@ -775,10 +778,12 @@ SET_H_VBIT_MOVE (0);
vpc = SEM_NEXT_VPC (sem_arg, pc, 2);
{
- HI tmp_newval;
- tmp_newval = GET_H_GR (FLD (f_operand1));
+ HI tmp_tmpops;
+ SI tmp_newval;
+ tmp_tmpops = GET_H_GR (FLD (f_operand1));
+ tmp_newval = EXTHISI (tmp_tmpops);
{
- SI opval = EXTHISI (tmp_newval);
+ SI opval = tmp_newval;
SET_H_GR (FLD (f_operand2), opval);
TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
@@ -824,10 +829,12 @@ SET_H_VBIT_MOVE (0);
vpc = SEM_NEXT_VPC (sem_arg, pc, 2);
{
- QI tmp_newval;
- tmp_newval = GET_H_GR (FLD (f_operand1));
+ QI tmp_tmpops;
+ SI tmp_newval;
+ tmp_tmpops = GET_H_GR (FLD (f_operand1));
+ tmp_newval = ZEXTQISI (tmp_tmpops);
{
- SI opval = ZEXTQISI (tmp_newval);
+ SI opval = tmp_newval;
SET_H_GR (FLD (f_operand2), opval);
TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
@@ -873,10 +880,12 @@ SET_H_VBIT_MOVE (0);
vpc = SEM_NEXT_VPC (sem_arg, pc, 2);
{
- HI tmp_newval;
- tmp_newval = GET_H_GR (FLD (f_operand1));
+ HI tmp_tmpops;
+ SI tmp_newval;
+ tmp_tmpops = GET_H_GR (FLD (f_operand1));
+ tmp_newval = ZEXTHISI (tmp_tmpops);
{
- SI opval = ZEXTHISI (tmp_newval);
+ SI opval = tmp_newval;
SET_H_GR (FLD (f_operand2), opval);
TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}