diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2007-10-22 16:06:38 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2007-10-22 16:06:38 +0000 |
commit | c9b3544acea166649878ad4a7afc502cf44a2c5a (patch) | |
tree | eef48cbeb0e81ca0a3dbbe692dc70b6c69f5dc88 /sim/cris/semcrisv10f-switch.c | |
parent | a69f60de1a65e45a5b9dccc539ab0b0647f199e7 (diff) | |
download | gdb-c9b3544acea166649878ad4a7afc502cf44a2c5a.zip gdb-c9b3544acea166649878ad4a7afc502cf44a2c5a.tar.gz gdb-c9b3544acea166649878ad4a7afc502cf44a2c5a.tar.bz2 |
* cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
cris/semcrisv32f-switch.c: Regenerate.
Diffstat (limited to 'sim/cris/semcrisv10f-switch.c')
-rw-r--r-- | sim/cris/semcrisv10f-switch.c | 55 |
1 files changed, 32 insertions, 23 deletions
diff --git a/sim/cris/semcrisv10f-switch.c b/sim/cris/semcrisv10f-switch.c index 968e10b..56d2e6b 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); } |