THIS FILE IS MACHINE GENERATED WITH CGEN.
-Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+Copyright 1996-2017 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 2, 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, write to the Free Software Foundation, Inc.,
-59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "cgen-ops.h"
#undef GET_ATTR
-#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define GET_ATTR(cpu, num, attr) CGEN_ATTR_VALUE (NULL, abuf->idesc->attrs, CGEN_INSN_##attr)
-#else
-#define GET_ATTR(cpu, num, attr) CGEN_ATTR_VALUE (NULL, abuf->idesc->attrs, CGEN_INSN_/**/attr)
-#endif
/* This is used so that we can compile two copies of the semantic code,
one with full feature support and one without that runs fast(er).
FAST_P, when desired, is defined on the command line, -DFAST_P=1. */
#if FAST_P
#define SEM_FN_NAME(cpu,fn) XCONCAT3 (cpu,_semf_,fn)
-#undef TRACE_RESULT
-#define TRACE_RESULT(cpu, abuf, name, type, val)
+#undef CGEN_TRACE_RESULT
+#define CGEN_TRACE_RESULT(cpu, abuf, name, type, val)
#else
#define SEM_FN_NAME(cpu,fn) XCONCAT3 (cpu,_sem_,fn)
#endif
static SEM_PC
SEM_FN_NAME (frvbf,x_invalid) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,x_after) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,x_before) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,x_cti_chain) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,x_chain) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,x_begin) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
{
SI opval = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = SUBSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = ANDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = ORSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = XORSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = INVSI (GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
DI opval = MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))));
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
return vpc;
{
DI opval = MULDI (ZEXTSIDI (GET_H_GR (FLD (f_GRi))), ZEXTSIDI (GET_H_GR (FLD (f_GRj))));
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
return vpc;
{
DI opval = MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))));
sim_queue_fn_di_write (current_cpu, frvbf_h_iacc0_set, ((UINT) 0), opval);
- TRACE_RESULT (current_cpu, abuf, "iacc0", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iacc0", 'D', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- DI opval = (ANDIF (ANDIF (GTDI (MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj)))), 0), GTDI (GET_H_IACC0 (((UINT) 0)), 0)), LTDI (SUBDI (9223372036854775807, MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))))), GET_H_IACC0 (((UINT) 0))))) ? (MAKEDI (2147483647, 0xffffffff)) : (ANDIF (ANDIF (LTDI (MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj)))), 0), LTDI (GET_H_IACC0 (((UINT) 0)), 0)), GTDI (SUBDI (9223372036854775808, MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))))), GET_H_IACC0 (((UINT) 0))))) ? (MAKEDI (0x80000000, 0)) : (ADDDI (GET_H_IACC0 (((UINT) 0)), MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))))));
+ DI opval = (ANDIF (ANDIF (GTDI (MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj)))), 0), GTDI (GET_H_IACC0 (((UINT) 0)), 0)), LTDI (SUBDI (MAKEDI (2147483647, 0xffffffff), MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))))), GET_H_IACC0 (((UINT) 0))))) ? (MAKEDI (2147483647, 0xffffffff)) : (ANDIF (ANDIF (LTDI (MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj)))), 0), LTDI (GET_H_IACC0 (((UINT) 0)), 0)), GTDI (SUBDI (MAKEDI (0x80000000, 0), MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))))), GET_H_IACC0 (((UINT) 0))))) ? (MAKEDI (0x80000000, 0)) : (ADDDI (GET_H_IACC0 (((UINT) 0)), MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))))));
sim_queue_fn_di_write (current_cpu, frvbf_h_iacc0_set, ((UINT) 0), opval);
- TRACE_RESULT (current_cpu, abuf, "iacc0", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iacc0", 'D', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- DI opval = (ANDIF (ANDIF (LTDI (MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj)))), 0), GTDI (GET_H_IACC0 (((UINT) 0)), 0)), LTDI (ADDDI (9223372036854775807, MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))))), GET_H_IACC0 (((UINT) 0))))) ? (MAKEDI (2147483647, 0xffffffff)) : (ANDIF (ANDIF (GTDI (MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj)))), 0), LTDI (GET_H_IACC0 (((UINT) 0)), 0)), GTDI (ADDDI (9223372036854775808, MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))))), GET_H_IACC0 (((UINT) 0))))) ? (MAKEDI (0x80000000, 0)) : (SUBDI (GET_H_IACC0 (((UINT) 0)), MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))))));
+ DI opval = (ANDIF (ANDIF (LTDI (MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj)))), 0), GTDI (GET_H_IACC0 (((UINT) 0)), 0)), LTDI (ADDDI (MAKEDI (2147483647, 0xffffffff), MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))))), GET_H_IACC0 (((UINT) 0))))) ? (MAKEDI (2147483647, 0xffffffff)) : (ANDIF (ANDIF (GTDI (MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj)))), 0), LTDI (GET_H_IACC0 (((UINT) 0)), 0)), GTDI (ADDDI (MAKEDI (0x80000000, 0), MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))))), GET_H_IACC0 (((UINT) 0))))) ? (MAKEDI (0x80000000, 0)) : (SUBDI (GET_H_IACC0 (((UINT) 0)), MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))))));
sim_queue_fn_di_write (current_cpu, frvbf_h_iacc0_set, ((UINT) 0), opval);
- TRACE_RESULT (current_cpu, abuf, "iacc0", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iacc0", 'D', opval);
}
return vpc;
{
SI opval = SLLSI (GET_H_GR (FLD (f_GRi)), ANDSI (GET_H_GR (FLD (f_GRj)), 31));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = SRLSI (GET_H_GR (FLD (f_GRi)), ANDSI (GET_H_GR (FLD (f_GRj)), 31));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = SRASI (GET_H_GR (FLD (f_GRi)), ANDSI (GET_H_GR (FLD (f_GRj)), 31));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_shift_left_arith_saturate (current_cpu, GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_iacc_cut (current_cpu, GET_H_IACC0 (((UINT) 0)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_scan_result (current_cpu, XORSI (tmp_tmp1, tmp_tmp2));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = SUBSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = ANDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = ORSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = XORSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = INVSI (GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
DI opval = MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))));
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
}
SI opval = SLLSI (GET_H_GR (FLD (f_GRi)), ANDSI (GET_H_GR (FLD (f_GRj)), 31));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = SRLSI (GET_H_GR (FLD (f_GRi)), ANDSI (GET_H_GR (FLD (f_GRj)), 31));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = SRASI (GET_H_GR (FLD (f_GRi)), ANDSI (GET_H_GR (FLD (f_GRj)), 31));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = frvbf_scan_result (current_cpu, XORSI (tmp_tmp1, tmp_tmp2));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
{
SI opval = tmp_result;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
SI opval = tmp_result;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
{
UQI opval = ORQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 7), 4);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
if (LTSI (tmp_tmp, 0)) {
UQI opval = ORQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 11), 8);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
{
UQI opval = ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 3);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
{
UQI opval = ORQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 7), 4);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
if (LTSI (tmp_tmp, 0)) {
UQI opval = ORQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 11), 8);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
{
UQI opval = ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 3);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
{
UQI opval = ORQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 7), 4);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
if (LTSI (tmp_tmp, 0)) {
UQI opval = ORQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 11), 8);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
{
UQI opval = ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 3);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
tmp_cc = ORQI (ANDQI (tmp_cc, 7), 4);
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
tmp_cc = ORQI (ANDQI (tmp_cc, 7), 4);
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
tmp_cc = ORQI (ANDQI (tmp_cc, 7), 4);
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
BI tmp_tmp;
QI tmp_cc;
SI tmp_result;
- tmp_cc = CPU (h_iccr[((FLD (f_CCi)) & (3))]);
+ tmp_cc = CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]);
tmp_tmp = ADDOFSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), 0);
if (EQBI (tmp_tmp, 0)) {
tmp_cc = ANDQI (tmp_cc, 13);
SI opval = tmp_result;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
UQI opval = tmp_cc;
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
BI tmp_tmp;
QI tmp_cc;
SI tmp_result;
- tmp_cc = CPU (h_iccr[((FLD (f_CCi)) & (3))]);
+ tmp_cc = CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]);
tmp_tmp = SUBOFSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), 0);
if (EQBI (tmp_tmp, 0)) {
tmp_cc = ANDQI (tmp_cc, 13);
SI opval = tmp_result;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
UQI opval = tmp_cc;
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
{
DI tmp_tmp;
QI tmp_cc;
- tmp_cc = CPU (h_iccr[((FLD (f_CCi)) & (3))]);
+ tmp_cc = CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]);
tmp_tmp = MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (GET_H_GR (FLD (f_GRj))));
if (EQDI (SRLDI (tmp_tmp, 63), 0)) {
tmp_cc = ANDQI (tmp_cc, 7);
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
{
UQI opval = tmp_cc;
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
{
- UQI opval = ORQI (ANDQI (CPU (h_iccr[((FLD (f_CCi)) & (3))]), 7), 4);
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ UQI opval = ORQI (ANDQI (CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), 7), 4);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
if (LTSI (tmp_tmp, 0)) {
{
- UQI opval = ORQI (ANDQI (CPU (h_iccr[((FLD (f_CCi)) & (3))]), 11), 8);
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ UQI opval = ORQI (ANDQI (CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), 11), 8);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
{
- UQI opval = ANDQI (CPU (h_iccr[((FLD (f_CCi)) & (3))]), 3);
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ UQI opval = ANDQI (CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), 3);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
{
- UQI opval = ORQI (ANDQI (CPU (h_iccr[((FLD (f_CCi)) & (3))]), 7), 4);
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ UQI opval = ORQI (ANDQI (CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), 7), 4);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
if (LTSI (tmp_tmp, 0)) {
{
- UQI opval = ORQI (ANDQI (CPU (h_iccr[((FLD (f_CCi)) & (3))]), 11), 8);
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ UQI opval = ORQI (ANDQI (CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), 11), 8);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
{
- UQI opval = ANDQI (CPU (h_iccr[((FLD (f_CCi)) & (3))]), 3);
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ UQI opval = ANDQI (CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), 3);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
{
- UQI opval = ORQI (ANDQI (CPU (h_iccr[((FLD (f_CCi)) & (3))]), 7), 4);
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ UQI opval = ORQI (ANDQI (CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), 7), 4);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
if (LTSI (tmp_tmp, 0)) {
{
- UQI opval = ORQI (ANDQI (CPU (h_iccr[((FLD (f_CCi)) & (3))]), 11), 8);
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ UQI opval = ORQI (ANDQI (CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), 11), 8);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
{
- UQI opval = ANDQI (CPU (h_iccr[((FLD (f_CCi)) & (3))]), 3);
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ UQI opval = ANDQI (CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), 3);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
SI tmp_tmp;
QI tmp_cc;
tmp_shift = ANDSI (GET_H_GR (FLD (f_GRj)), 31);
- tmp_cc = frvbf_set_icc_for_shift_left (current_cpu, GET_H_GR (FLD (f_GRi)), tmp_shift, CPU (h_iccr[((FLD (f_CCi)) & (3))]));
+ tmp_cc = frvbf_set_icc_for_shift_left (current_cpu, GET_H_GR (FLD (f_GRi)), tmp_shift, CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]));
tmp_tmp = SLLSI (GET_H_GR (FLD (f_GRi)), tmp_shift);
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
tmp_cc = ORQI (ANDQI (tmp_cc, 7), 4);
}
{
UQI opval = tmp_cc;
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
SI tmp_tmp;
QI tmp_cc;
tmp_shift = ANDSI (GET_H_GR (FLD (f_GRj)), 31);
- tmp_cc = frvbf_set_icc_for_shift_right (current_cpu, GET_H_GR (FLD (f_GRi)), tmp_shift, CPU (h_iccr[((FLD (f_CCi)) & (3))]));
+ tmp_cc = frvbf_set_icc_for_shift_right (current_cpu, GET_H_GR (FLD (f_GRi)), tmp_shift, CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]));
tmp_tmp = SRLSI (GET_H_GR (FLD (f_GRi)), tmp_shift);
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
tmp_cc = ORQI (ANDQI (tmp_cc, 7), 4);
}
{
UQI opval = tmp_cc;
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
SI tmp_tmp;
QI tmp_cc;
tmp_shift = ANDSI (GET_H_GR (FLD (f_GRj)), 31);
- tmp_cc = frvbf_set_icc_for_shift_right (current_cpu, GET_H_GR (FLD (f_GRi)), tmp_shift, CPU (h_iccr[((FLD (f_CCi)) & (3))]));
+ tmp_cc = frvbf_set_icc_for_shift_right (current_cpu, GET_H_GR (FLD (f_GRi)), tmp_shift, CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]));
tmp_tmp = SRASI (GET_H_GR (FLD (f_GRi)), tmp_shift);
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
tmp_cc = ORQI (ANDQI (tmp_cc, 7), 4);
}
{
UQI opval = tmp_cc;
- sim_queue_qi_write (current_cpu, & CPU (h_iccr[((FLD (f_CCi)) & (3))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_iccr[ANDSI (FLD (f_CCi), 3)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
{
SI opval = ADDCSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), TRUNCQIBI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 1)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = SUBCSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), TRUNCQIBI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 1)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
QI tmp_cc;
tmp_cc = CPU (h_iccr[FLD (f_ICCi_1)]);
tmp_tmp = ADDCSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), TRUNCQIBI (ANDQI (tmp_cc, 1)));
-if (EQSI (ADDOFSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
+if (EQBI (ADDOFSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
tmp_cc = ANDQI (tmp_cc, 13);
} else {
tmp_cc = ORQI (tmp_cc, 2);
}
-if (EQSI (ADDCFSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
+if (EQBI (ADDCFSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
tmp_cc = ANDQI (tmp_cc, 14);
} else {
tmp_cc = ORQI (tmp_cc, 1);
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
QI tmp_cc;
tmp_cc = CPU (h_iccr[FLD (f_ICCi_1)]);
tmp_tmp = SUBCSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), TRUNCQIBI (ANDQI (tmp_cc, 1)));
-if (EQSI (SUBOFSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
+if (EQBI (SUBOFSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
tmp_cc = ANDQI (tmp_cc, 13);
} else {
tmp_cc = ORQI (tmp_cc, 2);
}
-if (EQSI (SUBCFSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
+if (EQBI (SUBCFSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
tmp_cc = ANDQI (tmp_cc, 14);
} else {
tmp_cc = ORQI (tmp_cc, 1);
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
SI opval = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (ADDOFSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), 0)) {
{
SI opval = (GTSI (GET_H_GR (FLD (f_GRi)), 0)) ? (2147483647) : (LTSI (GET_H_GR (FLD (f_GRi)), 0)) ? (0x80000000) : (0);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
{
SI opval = SUBSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (SUBOFSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)), 0)) {
{
SI opval = (GTSI (GET_H_GR (FLD (f_GRi)), 0)) ? (2147483647) : (LTSI (GET_H_GR (FLD (f_GRi)), 0)) ? (0x80000000) : (0);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
{
SI opval = ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = SUBSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = ANDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = ORSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = XORSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
DI opval = MULDI (EXTSIDI (GET_H_GR (FLD (f_GRi))), EXTSIDI (FLD (f_d12)));
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
return vpc;
{
DI opval = MULDI (ZEXTSIDI (GET_H_GR (FLD (f_GRi))), ZEXTSIDI (FLD (f_d12)));
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
return vpc;
{
SI opval = SLLSI (GET_H_GR (FLD (f_GRi)), ANDSI (FLD (f_d12), 31));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = SRLSI (GET_H_GR (FLD (f_GRi)), ANDSI (FLD (f_d12), 31));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = SRASI (GET_H_GR (FLD (f_GRi)), ANDSI (FLD (f_d12), 31));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_scan_result (current_cpu, XORSI (tmp_tmp1, tmp_tmp2));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
{
SI opval = tmp_result;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
SI opval = tmp_result;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
{
UQI opval = ORQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 7), 4);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
if (LTSI (tmp_tmp, 0)) {
UQI opval = ORQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 11), 8);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
{
UQI opval = ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 3);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
{
UQI opval = ORQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 7), 4);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
if (LTSI (tmp_tmp, 0)) {
UQI opval = ORQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 11), 8);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
{
UQI opval = ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 3);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
{
UQI opval = ORQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 7), 4);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
if (LTSI (tmp_tmp, 0)) {
UQI opval = ORQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 11), 8);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
} else {
{
UQI opval = ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 3);
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
}
{
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
tmp_cc = ORQI (ANDQI (tmp_cc, 7), 4);
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
tmp_cc = ORQI (ANDQI (tmp_cc, 7), 4);
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (EQSI (tmp_tmp, 0)) {
tmp_cc = ORQI (ANDQI (tmp_cc, 7), 4);
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
SI opval = ADDCSI (GET_H_GR (FLD (f_GRi)), FLD (f_s10), TRUNCQIBI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 1)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = SUBCSI (GET_H_GR (FLD (f_GRi)), FLD (f_s10), TRUNCQIBI (ANDQI (CPU (h_iccr[FLD (f_ICCi_1)]), 1)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
QI tmp_cc;
tmp_cc = CPU (h_iccr[FLD (f_ICCi_1)]);
tmp_tmp = ADDCSI (GET_H_GR (FLD (f_GRi)), FLD (f_s10), TRUNCQIBI (ANDQI (tmp_cc, 1)));
-if (EQSI (ADDOFSI (GET_H_GR (FLD (f_GRi)), FLD (f_s10), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
+if (EQBI (ADDOFSI (GET_H_GR (FLD (f_GRi)), FLD (f_s10), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
tmp_cc = ANDQI (tmp_cc, 13);
} else {
tmp_cc = ORQI (tmp_cc, 2);
}
-if (EQSI (ADDCFSI (GET_H_GR (FLD (f_GRi)), FLD (f_s10), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
+if (EQBI (ADDCFSI (GET_H_GR (FLD (f_GRi)), FLD (f_s10), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
tmp_cc = ANDQI (tmp_cc, 14);
} else {
tmp_cc = ORQI (tmp_cc, 1);
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
QI tmp_cc;
tmp_cc = CPU (h_iccr[FLD (f_ICCi_1)]);
tmp_tmp = SUBCSI (GET_H_GR (FLD (f_GRi)), FLD (f_s10), TRUNCQIBI (ANDQI (tmp_cc, 1)));
-if (EQSI (SUBOFSI (GET_H_GR (FLD (f_GRi)), FLD (f_s10), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
+if (EQBI (SUBOFSI (GET_H_GR (FLD (f_GRi)), FLD (f_s10), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
tmp_cc = ANDQI (tmp_cc, 13);
} else {
tmp_cc = ORQI (tmp_cc, 2);
}
-if (EQSI (SUBCFSI (GET_H_GR (FLD (f_GRi)), FLD (f_s10), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
+if (EQBI (SUBCFSI (GET_H_GR (FLD (f_GRi)), FLD (f_s10), TRUNCQIBI (ANDQI (tmp_cc, 1))), 0)) {
tmp_cc = ANDQI (tmp_cc, 14);
} else {
tmp_cc = ORQI (tmp_cc, 1);
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
UQI opval = tmp_cc;
sim_queue_qi_write (current_cpu, & CPU (h_iccr[FLD (f_ICCi_1)]), opval);
- TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "iccr", 'x', opval);
}
}
{
UHI opval = FLD (f_u16);
sim_queue_fn_hi_write (current_cpu, frvbf_h_gr_lo_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_lo", 'x', opval);
}
return vpc;
{
UHI opval = FLD (f_u16);
sim_queue_fn_hi_write (current_cpu, frvbf_h_gr_hi_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_hi", 'x', opval);
}
return vpc;
{
SI opval = FLD (f_s16);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_QI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_UQI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_HI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_UHI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
#undef FLD
}
-/* ld: ld$pack @($GRi,$GRj),$GRk */
+/* ld: ld$pack $ldann($GRi,$GRj),$GRk */
static SEM_PC
SEM_FN_NAME (frvbf,ld) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
SI opval = frvbf_read_mem_SI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_UQI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_UHI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_SI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_SI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_si_write (current_cpu, & CPU (h_cpr[FLD (f_CPRk)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cpr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cpr", 'x', opval);
}
return vpc;
SI opval = frvbf_read_mem_QI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_UQI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_HI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_UHI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_SI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_UQI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_UHI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_SI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
}
#undef FLD
}
-/* ldd: ldd$pack @($GRi,$GRj),$GRdoublek */
+/* ldd: ldd$pack $lddann($GRi,$GRj),$GRdoublek */
static SEM_PC
SEM_FN_NAME (frvbf,ldd) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
DI opval = frvbf_read_mem_DI (current_cpu, pc, tmp_address);
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
}
}
{
DF opval = frvbf_read_mem_DF (current_cpu, pc, tmp_address);
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
}
}
{
DI opval = frvbf_read_mem_DI (current_cpu, pc, tmp_address);
sim_queue_fn_di_write (current_cpu, frvbf_h_cpr_double_set, FLD (f_CPRk), opval);
- TRACE_RESULT (current_cpu, abuf, "cpr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cpr_double", 'D', opval);
}
}
}
DI opval = frvbf_read_mem_DI (current_cpu, pc, tmp_address);
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
}
}
DF opval = frvbf_read_mem_DF (current_cpu, pc, tmp_address);
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
}
}
{
SI opval = frvbf_read_mem_QI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
SI opval = frvbf_read_mem_UQI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
SI opval = frvbf_read_mem_HI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
SI opval = frvbf_read_mem_UHI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
SI opval = frvbf_read_mem_SI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
SI opval = frvbf_read_mem_QI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
SI opval = frvbf_read_mem_UQI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
SI opval = frvbf_read_mem_HI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
SI opval = frvbf_read_mem_UHI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
SI opval = frvbf_read_mem_SI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
SI opval = frvbf_read_mem_UQI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
SI opval = frvbf_read_mem_UHI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
SI opval = frvbf_read_mem_SI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
SI opval = frvbf_read_mem_SI (current_cpu, pc, tmp_address);
sim_queue_si_write (current_cpu, & CPU (h_cpr[FLD (f_CPRk)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cpr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cpr", 'x', opval);
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
SI opval = frvbf_read_mem_UQI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
SI opval = frvbf_read_mem_UHI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
SI opval = frvbf_read_mem_SI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
DI opval = frvbf_read_mem_DI (current_cpu, pc, tmp_address);
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
}
}
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
DI opval = frvbf_read_mem_DI (current_cpu, pc, tmp_address);
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
}
}
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
DF opval = frvbf_read_mem_DF (current_cpu, pc, tmp_address);
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
DI opval = frvbf_read_mem_DI (current_cpu, pc, tmp_address);
sim_queue_fn_di_write (current_cpu, frvbf_h_cpr_double_set, FLD (f_CPRk), opval);
- TRACE_RESULT (current_cpu, abuf, "cpr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cpr_double", 'D', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
DF opval = frvbf_read_mem_DF (current_cpu, pc, tmp_address);
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_force_update (current_cpu);
}
{
SI opval = frvbf_read_mem_QI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_HI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_SI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_UQI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_UHI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_UQI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_UHI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = frvbf_read_mem_SI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
SI opval = frvbf_read_mem_QI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_UQI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_HI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_UHI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_SI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_UQI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_UHI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_SI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
}
DI opval = frvbf_read_mem_DI (current_cpu, pc, tmp_address);
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
}
}
{
DF opval = frvbf_read_mem_DF (current_cpu, pc, tmp_address);
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
}
}
DI opval = frvbf_read_mem_DI (current_cpu, pc, tmp_address);
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
}
}
DF opval = frvbf_read_mem_DF (current_cpu, pc, tmp_address);
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
}
}
#undef FLD
}
-/* rstb: rstb$pack $GRk,@($GRi,$GRj) */
-
-static SEM_PC
-SEM_FN_NAME (frvbf,rstb) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
-{
-#define FLD(f) abuf->fields.sfmt_cswap.f
- ARGBUF *abuf = SEM_ARGBUF (sem_arg);
- int UNUSED written = 0;
- IADDR UNUSED pc = abuf->addr;
- SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
-
-{
- SI tmp_address;
- tmp_address = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
-frvbf_write_mem_QI (current_cpu, pc, tmp_address, GET_H_GR (FLD (f_GRk)));
-frvbf_check_recovering_store (current_cpu, tmp_address, FLD (f_GRk), 1, 0);
-}
-
- return vpc;
-#undef FLD
-}
-
-/* rsth: rsth$pack $GRk,@($GRi,$GRj) */
-
-static SEM_PC
-SEM_FN_NAME (frvbf,rsth) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
-{
-#define FLD(f) abuf->fields.sfmt_cswap.f
- ARGBUF *abuf = SEM_ARGBUF (sem_arg);
- int UNUSED written = 0;
- IADDR UNUSED pc = abuf->addr;
- SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
-
-{
- SI tmp_address;
- tmp_address = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
-frvbf_write_mem_HI (current_cpu, pc, tmp_address, GET_H_GR (FLD (f_GRk)));
-frvbf_check_recovering_store (current_cpu, tmp_address, FLD (f_GRk), 2, 0);
-}
-
- return vpc;
-#undef FLD
-}
-
-/* rst: rst$pack $GRk,@($GRi,$GRj) */
-
-static SEM_PC
-SEM_FN_NAME (frvbf,rst) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
-{
-#define FLD(f) abuf->fields.sfmt_cswap.f
- ARGBUF *abuf = SEM_ARGBUF (sem_arg);
- int UNUSED written = 0;
- IADDR UNUSED pc = abuf->addr;
- SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
-
-{
- SI tmp_address;
- tmp_address = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
-frvbf_write_mem_SI (current_cpu, pc, tmp_address, GET_H_GR (FLD (f_GRk)));
-frvbf_check_recovering_store (current_cpu, tmp_address, FLD (f_GRk), 4, 0);
-}
-
- return vpc;
-#undef FLD
-}
-
-/* rstbf: rstbf$pack $FRintk,@($GRi,$GRj) */
-
-static SEM_PC
-SEM_FN_NAME (frvbf,rstbf) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
-{
-#define FLD(f) abuf->fields.sfmt_cstbfu.f
- ARGBUF *abuf = SEM_ARGBUF (sem_arg);
- int UNUSED written = 0;
- IADDR UNUSED pc = abuf->addr;
- SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
-
-{
- SI tmp_address;
- tmp_address = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
-frvbf_write_mem_QI (current_cpu, pc, tmp_address, GET_H_FR_INT (FLD (f_FRk)));
-frvbf_check_recovering_store (current_cpu, tmp_address, FLD (f_FRk), 1, 1);
-}
-
- return vpc;
-#undef FLD
-}
-
-/* rsthf: rsthf$pack $FRintk,@($GRi,$GRj) */
-
-static SEM_PC
-SEM_FN_NAME (frvbf,rsthf) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
-{
-#define FLD(f) abuf->fields.sfmt_cstbfu.f
- ARGBUF *abuf = SEM_ARGBUF (sem_arg);
- int UNUSED written = 0;
- IADDR UNUSED pc = abuf->addr;
- SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
-
-{
- SI tmp_address;
- tmp_address = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
-frvbf_write_mem_HI (current_cpu, pc, tmp_address, GET_H_FR_INT (FLD (f_FRk)));
-frvbf_check_recovering_store (current_cpu, tmp_address, FLD (f_FRk), 2, 1);
-}
-
- return vpc;
-#undef FLD
-}
-
-/* rstf: rstf$pack $FRintk,@($GRi,$GRj) */
-
-static SEM_PC
-SEM_FN_NAME (frvbf,rstf) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
-{
-#define FLD(f) abuf->fields.sfmt_cstbfu.f
- ARGBUF *abuf = SEM_ARGBUF (sem_arg);
- int UNUSED written = 0;
- IADDR UNUSED pc = abuf->addr;
- SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
-
-{
- SI tmp_address;
- tmp_address = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
-frvbf_write_mem_SI (current_cpu, pc, tmp_address, GET_H_FR_INT (FLD (f_FRk)));
-frvbf_check_recovering_store (current_cpu, tmp_address, FLD (f_FRk), 4, 1);
-}
-
- return vpc;
-#undef FLD
-}
-
-/* std: std$pack $GRk,@($GRi,$GRj) */
+/* std: std$pack $GRdoublek,@($GRi,$GRj) */
static SEM_PC
SEM_FN_NAME (frvbf,std) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
#undef FLD
}
-/* stdf: stdf$pack $FRk,@($GRi,$GRj) */
+/* stdf: stdf$pack $FRdoublek,@($GRi,$GRj) */
static SEM_PC
SEM_FN_NAME (frvbf,stdf) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
#undef FLD
}
-/* stdc: stdc$pack $CPRk,@($GRi,$GRj) */
+/* stdc: stdc$pack $CPRdoublek,@($GRi,$GRj) */
static SEM_PC
SEM_FN_NAME (frvbf,stdc) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
#undef FLD
}
-/* rstd: rstd$pack $GRk,@($GRi,$GRj) */
-
-static SEM_PC
-SEM_FN_NAME (frvbf,rstd) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
-{
-#define FLD(f) abuf->fields.sfmt_cstdu.f
- ARGBUF *abuf = SEM_ARGBUF (sem_arg);
- int UNUSED written = 0;
- IADDR UNUSED pc = abuf->addr;
- SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
-
-{
- SI tmp_address;
-{
- tmp_address = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
-frvbf_write_mem_DI (current_cpu, pc, tmp_address, GET_H_GR_DOUBLE (FLD (f_GRk)));
-}
-frvbf_check_recovering_store (current_cpu, tmp_address, FLD (f_GRk), 8, 0);
-}
-
- return vpc;
-#undef FLD
-}
-
-/* rstdf: rstdf$pack $FRk,@($GRi,$GRj) */
-
-static SEM_PC
-SEM_FN_NAME (frvbf,rstdf) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
-{
-#define FLD(f) abuf->fields.sfmt_cstdfu.f
- ARGBUF *abuf = SEM_ARGBUF (sem_arg);
- int UNUSED written = 0;
- IADDR UNUSED pc = abuf->addr;
- SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
-
-{
- SI tmp_address;
-{
- tmp_address = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
-frvbf_write_mem_DF (current_cpu, pc, tmp_address, GET_H_FR_DOUBLE (FLD (f_FRk)));
-}
-frvbf_check_recovering_store (current_cpu, tmp_address, FLD (f_FRk), 8, 1);
-}
-
- return vpc;
-#undef FLD
-}
-
/* stq: stq$pack $GRk,@($GRi,$GRj) */
static SEM_PC
#undef FLD
}
-/* rstq: rstq$pack $GRk,@($GRi,$GRj) */
-
-static SEM_PC
-SEM_FN_NAME (frvbf,rstq) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
-{
-#define FLD(f) abuf->fields.sfmt_smulcc.f
- ARGBUF *abuf = SEM_ARGBUF (sem_arg);
- int UNUSED written = 0;
- IADDR UNUSED pc = abuf->addr;
- SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
-
-{
- SI tmp_address;
-{
- tmp_address = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
-frvbf_store_quad_GR (current_cpu, pc, tmp_address, FLD (f_GRk));
-}
-frvbf_check_recovering_store (current_cpu, tmp_address, FLD (f_GRk), 16, 0);
-}
-
- return vpc;
-#undef FLD
-}
-
-/* rstqf: rstqf$pack $FRintk,@($GRi,$GRj) */
-
-static SEM_PC
-SEM_FN_NAME (frvbf,rstqf) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
-{
-#define FLD(f) abuf->fields.sfmt_cstdfu.f
- ARGBUF *abuf = SEM_ARGBUF (sem_arg);
- int UNUSED written = 0;
- IADDR UNUSED pc = abuf->addr;
- SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
-
-{
- SI tmp_address;
-{
- tmp_address = ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj)));
-frvbf_store_quad_FRint (current_cpu, pc, tmp_address, FLD (f_FRk));
-}
-frvbf_check_recovering_store (current_cpu, tmp_address, FLD (f_FRk), 16, 1);
-}
-
- return vpc;
-#undef FLD
-}
-
/* stbu: stbu$pack $GRk,@($GRi,$GRj) */
static SEM_PC
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
#undef FLD
}
-/* stdu: stdu$pack $GRk,@($GRi,$GRj) */
+/* stdu: stdu$pack $GRdoublek,@($GRi,$GRj) */
static SEM_PC
SEM_FN_NAME (frvbf,stdu) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
#undef FLD
}
-/* stdfu: stdfu$pack $FRk,@($GRi,$GRj) */
+/* stdfu: stdfu$pack $FRdoublek,@($GRi,$GRj) */
static SEM_PC
SEM_FN_NAME (frvbf,stdfu) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
#undef FLD
}
-/* stdcu: stdcu$pack $CPRk,@($GRi,$GRj) */
+/* stdcu: stdcu$pack $CPRdoublek,@($GRi,$GRj) */
static SEM_PC
SEM_FN_NAME (frvbf,stdcu) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = frvbf_read_mem_QI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = frvbf_read_mem_UQI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = frvbf_read_mem_HI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = frvbf_read_mem_UHI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = frvbf_read_mem_SI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = frvbf_read_mem_UQI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
SI opval = frvbf_read_mem_UHI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
SI opval = frvbf_read_mem_SI (current_cpu, pc, ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
DI opval = frvbf_read_mem_DI (current_cpu, pc, tmp_address);
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
}
}
DF opval = frvbf_read_mem_DF (current_cpu, pc, tmp_address);
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
}
}
SI opval = frvbf_read_mem_QI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_UQI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_HI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_UHI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_SI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
if (NESI (FLD (f_GRi), FLD (f_GRk))) {
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_UQI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_UHI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = frvbf_read_mem_SI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
DI opval = frvbf_read_mem_DI (current_cpu, pc, tmp_address);
sim_queue_fn_di_write (current_cpu, frvbf_h_gr_double_set, FLD (f_GRk), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr_double", 'D', opval);
}
}
}
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
DF opval = frvbf_read_mem_DF (current_cpu, pc, tmp_address);
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
}
{
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
#undef FLD
}
-/* cstd: cstd$pack $GRk,@($GRi,$GRj),$CCi,$cond */
+/* cstd: cstd$pack $GRdoublek,@($GRi,$GRj),$CCi,$cond */
static SEM_PC
SEM_FN_NAME (frvbf,cstd) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
#undef FLD
}
-/* cstdf: cstdf$pack $FRk,@($GRi,$GRj),$CCi,$cond */
+/* cstdf: cstdf$pack $FRdoublek,@($GRi,$GRj),$CCi,$cond */
static SEM_PC
SEM_FN_NAME (frvbf,cstdf) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
#undef FLD
}
-/* cstdu: cstdu$pack $GRk,@($GRi,$GRj),$CCi,$cond */
+/* cstdu: cstdu$pack $GRdoublek,@($GRi,$GRj),$CCi,$cond */
static SEM_PC
SEM_FN_NAME (frvbf,cstdu) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
#undef FLD
}
-/* cstdfu: cstdfu$pack $FRk,@($GRi,$GRj),$CCi,$cond */
+/* cstdfu: cstdfu$pack $FRdoublek,@($GRi,$GRj),$CCi,$cond */
static SEM_PC
SEM_FN_NAME (frvbf,cstdfu) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
SI opval = tmp_address;
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
#undef FLD
}
-/* stdi: stdi$pack $GRk,@($GRi,$d12) */
+/* stdi: stdi$pack $GRdoublek,@($GRi,$d12) */
static SEM_PC
SEM_FN_NAME (frvbf,stdi) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
#undef FLD
}
-/* stdfi: stdfi$pack $FRk,@($GRi,$d12) */
+/* stdfi: stdfi$pack $FRdoublek,@($GRi,$d12) */
static SEM_PC
SEM_FN_NAME (frvbf,stdfi) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
SI opval = frvbf_read_mem_WI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_write_mem_WI (current_cpu, pc, tmp_address, tmp_tmp);
}
{
SI opval = frvbf_read_mem_WI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_write_mem_WI (current_cpu, pc, tmp_address, tmp_tmp);
}
SI opval = frvbf_read_mem_WI (current_cpu, pc, tmp_address);
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
frvbf_write_mem_WI (current_cpu, pc, tmp_address, tmp_tmp);
}
{
SI opval = GET_H_GR (FLD (f_GRj));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = GET_H_FR_INT (FLD (f_FRk));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRj), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
SI opval = 0;
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
USI opval = 0;
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
} else {
SI opval = GET_H_GR (FLD (f_GRj));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- USI opval = GET_H_GR (((FLD (f_GRj)) + (1)));
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (1)), opval);
+ USI opval = GET_H_GR (ADDSI (FLD (f_GRj), 1));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
}
SI opval = GET_H_FR_INT (FLD (f_FRk));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRj), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
- USI opval = GET_H_FR_INT (((FLD (f_FRk)) + (1)));
- sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, ((FLD (f_GRj)) + (1)), opval);
+ USI opval = GET_H_FR_INT (ADDSI (FLD (f_FRk), 1));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, ADDSI (FLD (f_GRj), 1), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = 0;
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
USI opval = 0;
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
USI opval = 0;
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (2)), opval);
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 2), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
USI opval = 0;
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (3)), opval);
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 3), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
} else {
SI opval = GET_H_GR (FLD (f_GRj));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- USI opval = GET_H_GR (((FLD (f_GRj)) + (1)));
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (1)), opval);
+ USI opval = GET_H_GR (ADDSI (FLD (f_GRj), 1));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- USI opval = GET_H_GR (((FLD (f_GRj)) + (2)));
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (2)), opval);
+ USI opval = GET_H_GR (ADDSI (FLD (f_GRj), 2));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 2), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- USI opval = GET_H_GR (((FLD (f_GRj)) + (3)));
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (3)), opval);
+ USI opval = GET_H_GR (ADDSI (FLD (f_GRj), 3));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 3), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
}
SI opval = GET_H_FR_INT (FLD (f_FRk));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRj), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
- USI opval = GET_H_FR_INT (((FLD (f_FRk)) + (1)));
- sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, ((FLD (f_GRj)) + (1)), opval);
+ USI opval = GET_H_FR_INT (ADDSI (FLD (f_FRk), 1));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, ADDSI (FLD (f_GRj), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
- USI opval = GET_H_FR_INT (((FLD (f_FRk)) + (2)));
- sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, ((FLD (f_GRj)) + (2)), opval);
+ USI opval = GET_H_FR_INT (ADDSI (FLD (f_FRk), 2));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, ADDSI (FLD (f_GRj), 2), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
- USI opval = GET_H_FR_INT (((FLD (f_FRk)) + (3)));
- sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, ((FLD (f_GRj)) + (3)), opval);
+ USI opval = GET_H_FR_INT (ADDSI (FLD (f_FRk), 3));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, ADDSI (FLD (f_GRj), 3), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
SI opval = GET_H_GR (FLD (f_GRj));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
SI opval = GET_H_FR_INT (FLD (f_FRk));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRj), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
SI opval = 0;
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
USI opval = 0;
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
} else {
SI opval = GET_H_GR (FLD (f_GRj));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- USI opval = GET_H_GR (((FLD (f_GRj)) + (1)));
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (1)), opval);
+ USI opval = GET_H_GR (ADDSI (FLD (f_GRj), 1));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
}
SI opval = GET_H_FR_INT (FLD (f_FRk));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRj), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
{
- USI opval = GET_H_FR_INT (((FLD (f_FRk)) + (1)));
- sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, ((FLD (f_GRj)) + (1)), opval);
+ USI opval = GET_H_FR_INT (ADDSI (FLD (f_FRk), 1));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, ADDSI (FLD (f_GRj), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
}
}
{
USI opval = GET_H_GR (FLD (f_GRj));
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, FLD (f_spr), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
return vpc;
{
SI opval = GET_H_SPR (FLD (f_spr));
sim_queue_fn_si_write (current_cpu, frvbf_h_gr_set, FLD (f_GRj), opval);
- TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval);
}
return vpc;
{
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = FLD (i_label16);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (EQSI (FLD (f_ccond), 0)) {
if (NESI (tmp_tmp, 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (EQSI (FLD (f_ccond), 0)) {
if (NESI (tmp_tmp, 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
((void) 0); /*nop*/
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 4), 2))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (NOTBI (TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 4), 2)))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 4), 2)), XORBI (TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 8), 3)), TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 2), 1))))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (NOTBI (ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 4), 2)), XORBI (TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 8), 3)), TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 2), 1)))))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (XORBI (TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 8), 3)), TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 2), 1)))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (NOTBI (XORBI (TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 8), 3)), TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 2), 1))))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (ORIF (TRUNCQIBI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 1)), TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 4), 2)))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (NOTBI (ORIF (TRUNCQIBI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 1)), TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 4), 2))))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (TRUNCQIBI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 1))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (NOTBI (TRUNCQIBI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 1)))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 8), 3))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (NOTBI (TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 8), 3)))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 2), 1))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (NOTBI (TRUNCQIBI (SRLQI (ANDQI (CPU (h_iccr[FLD (f_ICCi_2)]), 2), 1)))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (EQSI (FLD (f_ccond), 0)) {
if (NESI (tmp_tmp, 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
((void) 0); /*nop*/
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 8), 3))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 4), 2)), ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 2), 1)), TRUNCQIBI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 1))))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 4), 2)), TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 2), 1)))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 8), 3)), TRUNCQIBI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 1)))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 4), 2)), TRUNCQIBI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 1)))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 8), 3)), TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 2), 1)))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 4), 2))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 8), 3)), ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 2), 1)), TRUNCQIBI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 1))))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 2), 1)), TRUNCQIBI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 1)))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 8), 3)), TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 4), 2)))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 2), 1))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 8), 3)), ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 4), 2)), TRUNCQIBI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 1))))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (TRUNCQIBI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 1))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_spr_set, ((UINT) 273), opval);
- TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "spr", 'x', opval);
}
if (ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 8), 3)), ORIF (TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 4), 2)), TRUNCQIBI (SRLQI (ANDQI (CPU (h_fccr[FLD (f_FCCi_2)]), 2), 1))))) {
if (EQSI (FLD (f_ccond), 0)) {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
} else {
USI opval = GET_H_SPR (((UINT) 272));
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
}
}
{
USI opval = ANDSI (ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))), 0xfffffffc);
sim_queue_pc_write (current_cpu, opval);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
frvbf_model_branch (current_cpu, pc, 2);
}
#undef FLD
}
-/* calll: calll$pack @($GRi,$GRj) */
+/* calll: calll$pack $callann($GRi,$GRj) */
static SEM_PC
SEM_FN_NAME (frvbf,calll) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
USI opval = ANDSI (ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))), 0xfffffffc);
sim_queue_pc_write (current_cpu, opval);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
frvbf_model_branch (current_cpu, pc, 2);
}
{
USI opval = ANDSI (ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)), 0xfffffffc);
sim_queue_pc_write (current_cpu, opval);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
frvbf_model_branch (current_cpu, pc, 2);
}
{
USI opval = ANDSI (ADDSI (GET_H_GR (FLD (f_GRi)), FLD (f_d12)), 0xfffffffc);
sim_queue_pc_write (current_cpu, opval);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
frvbf_model_branch (current_cpu, pc, 2);
}
{
USI opval = FLD (i_label24);
sim_queue_pc_write (current_cpu, opval);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
frvbf_model_branch (current_cpu, pc, 2);
}
{
USI opval = frv_rett (current_cpu, pc, FLD (f_debug));
sim_queue_pc_write (current_cpu, opval);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
frvbf_model_branch (current_cpu, pc, 2);
}
static SEM_PC
SEM_FN_NAME (frvbf,rei) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,tno) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,ftno) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,tino) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,ftino) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,mtrap) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
{
UQI opval = frvbf_cr_logic (current_cpu, 0, CPU (h_cccr[FLD (f_CRi)]), CPU (h_cccr[FLD (f_CRj)]));
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRk)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
{
UQI opval = frvbf_cr_logic (current_cpu, 1, CPU (h_cccr[FLD (f_CRi)]), CPU (h_cccr[FLD (f_CRj)]));
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRk)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
{
UQI opval = frvbf_cr_logic (current_cpu, 2, CPU (h_cccr[FLD (f_CRi)]), CPU (h_cccr[FLD (f_CRj)]));
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRk)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
{
UQI opval = frvbf_cr_logic (current_cpu, 3, CPU (h_cccr[FLD (f_CRi)]), CPU (h_cccr[FLD (f_CRj)]));
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRk)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
{
UQI opval = frvbf_cr_logic (current_cpu, 4, CPU (h_cccr[FLD (f_CRi)]), CPU (h_cccr[FLD (f_CRj)]));
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRk)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
{
UQI opval = frvbf_cr_logic (current_cpu, 5, CPU (h_cccr[FLD (f_CRi)]), CPU (h_cccr[FLD (f_CRj)]));
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRk)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
{
UQI opval = frvbf_cr_logic (current_cpu, 6, CPU (h_cccr[FLD (f_CRi)]), CPU (h_cccr[FLD (f_CRj)]));
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRk)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
{
UQI opval = frvbf_cr_logic (current_cpu, 7, CPU (h_cccr[FLD (f_CRi)]), CPU (h_cccr[FLD (f_CRj)]));
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRk)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
{
UQI opval = frvbf_cr_logic (current_cpu, 8, CPU (h_cccr[FLD (f_CRi)]), CPU (h_cccr[FLD (f_CRj)]));
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRk)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
{
UQI opval = XORQI (CPU (h_cccr[FLD (f_CRj)]), 1);
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRk)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
{
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
{
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
return vpc;
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 1);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_int)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
UQI opval = 3;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
} else {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
} else {
UQI opval = 0;
sim_queue_qi_write (current_cpu, & CPU (h_cccr[FLD (f_CRj_float)]), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "cccr", 'x', opval);
}
}
USI opval = ANDSI (ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))), 0xfffffffc);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
frvbf_model_branch (current_cpu, pc, 2);
}
USI opval = ANDSI (ADDSI (GET_H_GR (FLD (f_GRi)), GET_H_GR (FLD (f_GRj))), 0xfffffffc);
sim_queue_pc_write (current_cpu, opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
frvbf_model_branch (current_cpu, pc, 2);
}
static SEM_PC
SEM_FN_NAME (frvbf,witlb) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,wdtlb) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,itlbi) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,dtlbi) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,bar) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,membar) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
+ ARGBUF *abuf = SEM_ARGBUF (sem_arg);
+ int UNUSED written = 0;
+ IADDR UNUSED pc = abuf->addr;
+ SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
+
+((void) 0); /*nop*/
+
+ return vpc;
+#undef FLD
+}
+
+/* lrai: lrai$pack $GRi,$GRk,$LRAE,$LRAD,$LRAS */
+
+static SEM_PC
+SEM_FN_NAME (frvbf,lrai) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
+{
+#define FLD(f) abuf->fields.sfmt_empty.f
+ ARGBUF *abuf = SEM_ARGBUF (sem_arg);
+ int UNUSED written = 0;
+ IADDR UNUSED pc = abuf->addr;
+ SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
+
+((void) 0); /*nop*/
+
+ return vpc;
+#undef FLD
+}
+
+/* lrad: lrad$pack $GRi,$GRk,$LRAE,$LRAD,$LRAS */
+
+static SEM_PC
+SEM_FN_NAME (frvbf,lrad) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
+{
+#define FLD(f) abuf->fields.sfmt_empty.f
+ ARGBUF *abuf = SEM_ARGBUF (sem_arg);
+ int UNUSED written = 0;
+ IADDR UNUSED pc = abuf->addr;
+ SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
+
+((void) 0); /*nop*/
+
+ return vpc;
+#undef FLD
+}
+
+/* tlbpr: tlbpr$pack $GRi,$GRj,$TLBPRopx,$TLBPRL */
+
+static SEM_PC
+SEM_FN_NAME (frvbf,tlbpr) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
+{
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,cop1) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,cop2) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,clrga) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,clrfa) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,commitga) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,commitfa) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->floatsisf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_INT (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->floatsisf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SI opval = (* CGEN_CPU_FPU (current_cpu)->ops->fixsfsi) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SI opval = CGEN_CPU_FPU (current_cpu)->ops->fixsfsi (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- DF opval = (* CGEN_CPU_FPU (current_cpu)->ops->floatsidf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_INT (FLD (f_FRj)));
+ DF opval = CGEN_CPU_FPU (current_cpu)->ops->floatsidf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SI opval = (* CGEN_CPU_FPU (current_cpu)->ops->fixdfsi) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRj)));
+ SI opval = CGEN_CPU_FPU (current_cpu)->ops->fixdfsi (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR_DOUBLE (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->floatsisf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_INT (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->floatsisf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->floatsisf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_INT (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->floatsisf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR_INT (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
{
- SI opval = (* CGEN_CPU_FPU (current_cpu)->ops->fixsfsi) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SI opval = CGEN_CPU_FPU (current_cpu)->ops->fixsfsi (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- USI opval = (* CGEN_CPU_FPU (current_cpu)->ops->fixsfsi) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ USI opval = CGEN_CPU_FPU (current_cpu)->ops->fixsfsi (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->floatsisf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_INT (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->floatsisf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->floatsisf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_INT (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->floatsisf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR_INT (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SI opval = (* CGEN_CPU_FPU (current_cpu)->ops->fixsfsi) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SI opval = CGEN_CPU_FPU (current_cpu)->ops->fixsfsi (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
{
- USI opval = (* CGEN_CPU_FPU (current_cpu)->ops->fixsfsi) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ USI opval = CGEN_CPU_FPU (current_cpu)->ops->fixsfsi (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->floatsisf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_INT (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->floatsisf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
- SI opval = (* CGEN_CPU_FPU (current_cpu)->ops->fixsfsi) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SI opval = CGEN_CPU_FPU (current_cpu)->ops->fixsfsi (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->floatsisf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_INT (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->floatsisf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SI opval = (* CGEN_CPU_FPU (current_cpu)->ops->fixsfsi) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SI opval = CGEN_CPU_FPU (current_cpu)->ops->fixsfsi (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
{
SF opval = GET_H_FR (FLD (f_FRj));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
return vpc;
{
DF opval = GET_H_FR_DOUBLE (FLD (f_FRj));
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
return vpc;
{
SF opval = GET_H_FR (FLD (f_FRj));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = GET_H_FR (((FLD (f_FRj)) + (1)));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = GET_H_FR (ADDSI (FLD (f_FRj), 1));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
SF opval = GET_H_FR (FLD (f_FRj));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->negsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->negsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- DF opval = (* CGEN_CPU_FPU (current_cpu)->ops->negdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRj)));
+ DF opval = CGEN_CPU_FPU (current_cpu)->ops->negdf (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRj)));
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
return vpc;
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->negsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->negsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->negsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->negsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->negsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->negsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->abssf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->abssf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- DF opval = (* CGEN_CPU_FPU (current_cpu)->ops->absdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRj)));
+ DF opval = CGEN_CPU_FPU (current_cpu)->ops->absdf (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRj)));
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
return vpc;
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->abssf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->abssf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->abssf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->abssf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->abssf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->abssf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->sqrtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->sqrtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
return vpc;
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->sqrtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->sqrtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->sqrtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->sqrtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->sqrtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->sqrtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->sqrtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->sqrtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- DF opval = (* CGEN_CPU_FPU (current_cpu)->ops->sqrtdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRj)));
+ DF opval = CGEN_CPU_FPU (current_cpu)->ops->sqrtdf (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRj)));
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
return vpc;
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->sqrtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->sqrtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->sqrtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->sqrtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->divsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->divsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- DF opval = (* CGEN_CPU_FPU (current_cpu)->ops->adddf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)));
+ DF opval = CGEN_CPU_FPU (current_cpu)->ops->adddf (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)));
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- DF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)));
+ DF opval = CGEN_CPU_FPU (current_cpu)->ops->subdf (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)));
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- DF opval = (* CGEN_CPU_FPU (current_cpu)->ops->muldf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)));
+ DF opval = CGEN_CPU_FPU (current_cpu)->ops->muldf (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)));
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- DF opval = (* CGEN_CPU_FPU (current_cpu)->ops->divdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)));
+ DF opval = CGEN_CPU_FPU (current_cpu)->ops->divdf (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)));
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
return vpc;
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->divsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->divsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->divsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->divsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
IADDR UNUSED pc = abuf->addr;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
-if ((* CGEN_CPU_FPU (current_cpu)->ops->gtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->gtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->eqsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->eqsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
{
UQI opval = 8;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->ltsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->ltsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
{
UQI opval = 4;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
{
UQI opval = 1;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
}
}
IADDR UNUSED pc = abuf->addr;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
-if ((* CGEN_CPU_FPU (current_cpu)->ops->gtdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->gtdf (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)))) {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->eqdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->eqdf (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)))) {
{
UQI opval = 8;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->ltdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->ltdf (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj)))) {
{
UQI opval = 4;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
{
UQI opval = 1;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 2);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
}
}
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->gtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->gtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->eqsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->eqsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
{
UQI opval = 8;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->ltsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->ltsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
{
UQI opval = 4;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
{
UQI opval = 1;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
}
}
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
-if ((* CGEN_CPU_FPU (current_cpu)->ops->gtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->gtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->eqsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->eqsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
{
UQI opval = 8;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->ltsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->ltsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
{
UQI opval = 4;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
{
UQI opval = 1;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
}
}
}
-if ((* CGEN_CPU_FPU (current_cpu)->ops->gtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->gtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)))) {
{
UQI opval = 2;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCi_2)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCi_2), 1)]), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->eqsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->eqsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)))) {
{
UQI opval = 8;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCi_2)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCi_2), 1)]), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->ltsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->ltsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)))) {
{
UQI opval = 4;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCi_2)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCi_2), 1)]), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
{
UQI opval = 1;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCi_2)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCi_2), 1)]), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
}
}
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- DF opval = (* CGEN_CPU_FPU (current_cpu)->ops->adddf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->muldf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj))), GET_H_FR_DOUBLE (FLD (f_FRk)));
+ DF opval = CGEN_CPU_FPU (current_cpu)->ops->adddf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->muldf (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj))), GET_H_FR_DOUBLE (FLD (f_FRk)));
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- DF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subdf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->muldf) (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj))), GET_H_FR_DOUBLE (FLD (f_FRk)));
+ DF opval = CGEN_CPU_FPU (current_cpu)->ops->subdf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->muldf (CGEN_CPU_FPU (current_cpu), GET_H_FR_DOUBLE (FLD (f_FRi)), GET_H_FR_DOUBLE (FLD (f_FRj))), GET_H_FR_DOUBLE (FLD (f_FRk)));
sim_queue_fn_df_write (current_cpu, frvbf_h_fr_double_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_double", 'f', opval);
}
return vpc;
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1)))), GET_H_FR (((FLD (f_FRk)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1))), GET_H_FR (ADDSI (FLD (f_FRk), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1)))), GET_H_FR (((FLD (f_FRk)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1))), GET_H_FR (ADDSI (FLD (f_FRk), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj))), GET_H_FR (FLD (f_FRk)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (2))), GET_H_FR (((FLD (f_FRj)) + (2))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (2)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 2)), GET_H_FR (ADDSI (FLD (f_FRj), 2)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 2), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (3))), GET_H_FR (((FLD (f_FRj)) + (3))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (3)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 3)), GET_H_FR (ADDSI (FLD (f_FRj), 3)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 3), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (2))), GET_H_FR (((FLD (f_FRj)) + (2))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (2)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 2)), GET_H_FR (ADDSI (FLD (f_FRj), 2)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 2), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (3))), GET_H_FR (((FLD (f_FRj)) + (3))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (3)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 3)), GET_H_FR (ADDSI (FLD (f_FRj), 3)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 3), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 2));
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 3));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (2))), GET_H_FR (((FLD (f_FRj)) + (2))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (2)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 2)), GET_H_FR (ADDSI (FLD (f_FRj), 2)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 2), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (3))), GET_H_FR (((FLD (f_FRj)) + (3))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (3)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 3)), GET_H_FR (ADDSI (FLD (f_FRj), 3)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 3), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 2));
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 3));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (2))), GET_H_FR (((FLD (f_FRj)) + (2))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (2)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 2)), GET_H_FR (ADDSI (FLD (f_FRj), 2)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 2), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (3))), GET_H_FR (((FLD (f_FRj)) + (3))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (3)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 3)), GET_H_FR (ADDSI (FLD (f_FRj), 3)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 3), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
}
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
}
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->ftruncdfsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->muldf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->fextsfdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi))), (* CGEN_CPU_FPU (current_cpu)->ops->fextsfdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)))));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->ftruncdfsf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, CGEN_CPU_FPU (current_cpu)->ops->muldf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->fextsfdf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (FLD (f_FRi))), CGEN_CPU_FPU (current_cpu)->ops->fextsfdf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (FLD (f_FRj)))));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->ftruncdfsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->adddf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->fextsfdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1)))), (* CGEN_CPU_FPU (current_cpu)->ops->fextsfdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRj)) + (1))))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->ftruncdfsf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, CGEN_CPU_FPU (current_cpu)->ops->adddf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->fextsfdf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (ADDSI (FLD (f_FRi), 1))), CGEN_CPU_FPU (current_cpu)->ops->fextsfdf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (ADDSI (FLD (f_FRj), 1)))));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->ftruncdfsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->muldf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->fextsfdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi))), (* CGEN_CPU_FPU (current_cpu)->ops->fextsfdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRj)))));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->ftruncdfsf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, CGEN_CPU_FPU (current_cpu)->ops->muldf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->fextsfdf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (FLD (f_FRi))), CGEN_CPU_FPU (current_cpu)->ops->fextsfdf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (FLD (f_FRj)))));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->ftruncdfsf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->subdf) (CGEN_CPU_FPU (current_cpu), (* CGEN_CPU_FPU (current_cpu)->ops->fextsfdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1)))), (* CGEN_CPU_FPU (current_cpu)->ops->fextsfdf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRj)) + (1))))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->ftruncdfsf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, CGEN_CPU_FPU (current_cpu)->ops->subdf (CGEN_CPU_FPU (current_cpu), CGEN_CPU_FPU (current_cpu)->ops->fextsfdf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (ADDSI (FLD (f_FRi), 1))), CGEN_CPU_FPU (current_cpu)->ops->fextsfdf (CGEN_CPU_FPU (current_cpu), FPCONV_DEFAULT, GET_H_FR (ADDSI (FLD (f_FRj), 1)))));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->divsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->divsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->divsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->divsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (((FLD (f_FRj)) + (1))));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (FLD (f_FRj)));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (FLD (f_FRj)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (((FLD (f_FRj)) + (1))));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (FLD (f_FRj)));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (FLD (f_FRj)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->mulsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->mulsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->divsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->divsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->divsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->divsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->addsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->addsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)));
sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
{
- SF opval = (* CGEN_CPU_FPU (current_cpu)->ops->subsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))));
- sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ((FLD (f_FRk)) + (1)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->subsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)));
+ sim_queue_fn_sf_write (current_cpu, frvbf_h_fr_set, ADDSI (FLD (f_FRk), 1), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
{
frvbf_set_ne_index (current_cpu, FLD (f_FRk));
-if ((* CGEN_CPU_FPU (current_cpu)->ops->gtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->gtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->eqsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->eqsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
{
UQI opval = 8;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->ltsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->ltsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (FLD (f_FRi)), GET_H_FR (FLD (f_FRj)))) {
{
UQI opval = 4;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
{
UQI opval = 1;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCi_2)]), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
}
}
}
frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 1));
-if ((* CGEN_CPU_FPU (current_cpu)->ops->gtsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->gtsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)))) {
{
UQI opval = 2;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCi_2)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCi_2), 1)]), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->eqsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->eqsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)))) {
{
UQI opval = 8;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCi_2)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCi_2), 1)]), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
-if ((* CGEN_CPU_FPU (current_cpu)->ops->ltsf) (CGEN_CPU_FPU (current_cpu), GET_H_FR (((FLD (f_FRi)) + (1))), GET_H_FR (((FLD (f_FRj)) + (1))))) {
+if (CGEN_CPU_FPU (current_cpu)->ops->ltsf (CGEN_CPU_FPU (current_cpu), GET_H_FR (ADDSI (FLD (f_FRi), 1)), GET_H_FR (ADDSI (FLD (f_FRj), 1)))) {
{
UQI opval = 4;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCi_2)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCi_2), 1)]), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
{
UQI opval = 1;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCi_2)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCi_2), 1)]), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
}
}
{
UHI opval = FLD (f_u12);
sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
return vpc;
{
UHI opval = FLD (f_u12);
sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
return vpc;
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
UHI opval = FLD (f_u12);
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
UHI opval = FLD (f_u12);
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
{
UHI opval = tmp_tmp;
sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
{
UHI opval = tmp_tmp;
sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
HI tmp_tmp;
- tmp_tmp = GET_H_FR_HI (((FLD (f_FRk)) + (0)));
+ tmp_tmp = GET_H_FR_HI (ADDSI (FLD (f_FRk), 0));
tmp_tmp = ANDHI (tmp_tmp, 2047);
tmp_tmp = ORHI (tmp_tmp, SLLSI (ANDSI (FLD (f_s5), 31), 11));
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
{
HI tmp_tmp;
- tmp_tmp = GET_H_FR_LO (((FLD (f_FRk)) + (0)));
+ tmp_tmp = GET_H_FR_LO (ADDSI (FLD (f_FRk), 0));
tmp_tmp = ANDHI (tmp_tmp, 2047);
tmp_tmp = ORHI (tmp_tmp, SLLSI (ANDSI (FLD (f_s5), 31), 11));
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
{
SI opval = ANDSI (GET_H_FR_INT (FLD (f_FRi)), GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = ORSI (GET_H_FR_INT (FLD (f_FRi)), GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = XORSI (GET_H_FR_INT (FLD (f_FRi)), GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
SI opval = ANDSI (GET_H_FR_INT (FLD (f_FRi)), GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
SI opval = ORSI (GET_H_FR_INT (FLD (f_FRi)), GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
SI opval = XORSI (GET_H_FR_INT (FLD (f_FRi)), GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
{
SI opval = INVSI (GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
SI opval = INVSI (GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 3);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
{
SI opval = ROLSI (GET_H_FR_INT (FLD (f_FRi)), ANDSI (FLD (f_u6), 31));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = RORSI (GET_H_FR_INT (FLD (f_FRi)), ANDSI (FLD (f_u6), 31));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SI opval = frvbf_cut (current_cpu, GET_H_FR_INT (FLD (f_FRi)), GET_H_FR_INT (((FLD (f_FRi)) + (1))), GET_H_FR_INT (FLD (f_FRj)));
+ SI opval = frvbf_cut (current_cpu, GET_H_FR_INT (FLD (f_FRi)), GET_H_FR_INT (ADDSI (FLD (f_FRi), 1)), GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SI opval = frvbf_cut (current_cpu, GET_H_FR_INT (FLD (f_FRi)), GET_H_FR_INT (((FLD (f_FRi)) + (1))), FLD (f_u6));
+ SI opval = frvbf_cut (current_cpu, GET_H_FR_INT (FLD (f_FRi)), GET_H_FR_INT (ADDSI (FLD (f_FRi), 1)), FLD (f_u6));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = frvbf_media_cut (current_cpu, GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = frvbf_media_cut (current_cpu, GET_H_ACC40S (FLD (f_ACC40Si)), FLD (f_s6));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = frvbf_media_cut_ss (current_cpu, GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = frvbf_media_cut_ss (current_cpu, GET_H_ACC40S (FLD (f_ACC40Si)), FLD (f_s6));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
SI opval = frvbf_media_cut_ss (current_cpu, GET_H_ACC40S (FLD (f_ACC40Si)), FLD (f_s6));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- USI opval = frvbf_media_cut_ss (current_cpu, GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))), FLD (f_s6));
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (1)), opval);
+ USI opval = frvbf_media_cut_ss (current_cpu, GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)), FLD (f_s6));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
}
{
SI opval = frvbf_media_average (current_cpu, GET_H_FR_INT (FLD (f_FRi)), GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRi)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRi), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- UHI opval = SLLHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), ANDSI (FLD (f_u6), 15));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ UHI opval = SLLHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = SLLHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), ANDSI (FLD (f_u6), 15));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ UHI opval = SLLHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRi)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRi), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- UHI opval = SRLHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), ANDSI (FLD (f_u6), 15));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ UHI opval = SRLHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = SRLHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), ANDSI (FLD (f_u6), 15));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ UHI opval = SRLHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRi)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRi), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- UHI opval = SRAHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), ANDSI (FLD (f_u6), 15));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ UHI opval = SRAHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = SRAHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), ANDSI (FLD (f_u6), 15));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ UHI opval = SRAHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
SI opval = ROLSI (GET_H_FR_INT (FLD (f_FRi)), ANDSI (FLD (f_s6), 31));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- USI opval = ROLSI (GET_H_FR_INT (((FLD (f_FRi)) + (1))), ANDSI (FLD (f_s6), 31));
- sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ((FLD (f_FRk)) + (1)), opval);
+ USI opval = ROLSI (GET_H_FR_INT (ADDSI (FLD (f_FRi), 1)), ANDSI (FLD (f_s6), 31));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRi)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRi), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
tmp_shift = ANDSI (FLD (f_u6), 15);
- tmp_arg1 = SLLHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), tmp_shift);
+ tmp_arg1 = SLLHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), tmp_shift);
if (NEHI (tmp_shift, 0)) {
{
- tmp_arg2 = GET_H_FR_HI (((FLD (f_FRi)) + (1)));
+ tmp_arg2 = GET_H_FR_HI (ADDSI (FLD (f_FRi), 1));
tmp_arg2 = SRLHI (SLLHI (tmp_arg2, SUBSI (15, tmp_shift)), SUBSI (15, tmp_shift));
tmp_arg1 = ORHI (tmp_arg1, tmp_arg2);
}
}
{
UHI opval = tmp_arg1;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
if (NESI (tmp_shift, 0)) {
{
SI tmp_tmp1;
- tmp_tmp1 = SRLSI (SLLSI (GET_H_FR_INT (((FLD (f_FRi)) + (1))), SUBSI (31, tmp_shift)), SUBSI (31, tmp_shift));
+ tmp_tmp1 = SRLSI (SLLSI (GET_H_FR_INT (ADDSI (FLD (f_FRi), 1)), SUBSI (31, tmp_shift)), SUBSI (31, tmp_shift));
tmp_tmp = ORSI (tmp_tmp, tmp_tmp1);
}
}
{
SI opval = tmp_tmp;
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
if (GTHI (tmp_argihi, tmp_argjhi)) {
{
UHI opval = tmp_argjhi;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
} else {
if (LTHI (tmp_argihi, INVHI (tmp_argjhi))) {
{
UHI opval = INVHI (tmp_argjhi);
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
} else {
{
UHI opval = tmp_argihi;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
if (GTHI (tmp_argilo, tmp_argjlo)) {
{
UHI opval = tmp_argjlo;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
} else {
if (LTHI (tmp_argilo, INVHI (tmp_argjlo))) {
{
UHI opval = INVHI (tmp_argjlo);
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
} else {
{
UHI opval = tmp_argilo;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
if (GTHI (tmp_argihi, tmp_argjhi)) {
{
UHI opval = tmp_argjhi;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
} else {
if (LTHI (tmp_argihi, INVHI (tmp_argjhi))) {
{
UHI opval = INVHI (tmp_argjhi);
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
} else {
{
UHI opval = tmp_argihi;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
if (GTHI (tmp_argilo, tmp_argjlo)) {
{
UHI opval = tmp_argjlo;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
} else {
if (LTHI (tmp_argilo, INVHI (tmp_argjlo))) {
{
UHI opval = INVHI (tmp_argjlo);
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
} else {
{
UHI opval = tmp_argilo;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
if (GTHI (tmp_argihi, tmp_argjhi)) {
{
UHI opval = tmp_argjhi;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
} else {
if (LTHI (tmp_argihi, INVHI (tmp_argjhi))) {
{
UHI opval = INVHI (tmp_argjhi);
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
} else {
{
UHI opval = tmp_argihi;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
if (GTHI (tmp_argilo, tmp_argjlo)) {
{
UHI opval = tmp_argjlo;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
} else {
if (LTHI (tmp_argilo, INVHI (tmp_argjlo))) {
{
UHI opval = INVHI (tmp_argjlo);
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
} else {
{
UHI opval = tmp_argilo;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
if (GTUHI (tmp_argihi, tmp_argjhi)) {
{
UHI opval = tmp_argjhi;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
} else {
{
UHI opval = tmp_argihi;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
if (GTUHI (tmp_argilo, tmp_argjlo)) {
{
UHI opval = tmp_argjlo;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
} else {
{
UHI opval = tmp_argilo;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
if (GTHI (tmp_argihi, tmp_argjhi)) {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCk)]), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
if (EQHI (tmp_argihi, tmp_argjhi)) {
UQI opval = 8;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCk)]), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
if (LTHI (tmp_argihi, tmp_argjhi)) {
UQI opval = 4;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCk)]), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
{
UQI opval = 1;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCk)]), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
}
}
if (GTHI (tmp_argilo, tmp_argjlo)) {
{
UQI opval = 2;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCk)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCk), 1)]), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
if (EQHI (tmp_argilo, tmp_argjlo)) {
{
UQI opval = 8;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCk)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCk), 1)]), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
if (LTHI (tmp_argilo, tmp_argjlo)) {
{
UQI opval = 4;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCk)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCk), 1)]), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
{
UQI opval = 1;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCk)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCk), 1)]), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
if (GTUHI (tmp_argihi, tmp_argjhi)) {
{
UQI opval = 2;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCk)]), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
if (EQHI (tmp_argihi, tmp_argjhi)) {
UQI opval = 8;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCk)]), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
if (LTUHI (tmp_argihi, tmp_argjhi)) {
UQI opval = 4;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCk)]), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
{
UQI opval = 1;
sim_queue_qi_write (current_cpu, & CPU (h_fccr[FLD (f_FCCk)]), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
}
}
if (GTUHI (tmp_argilo, tmp_argjlo)) {
{
UQI opval = 2;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCk)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCk), 1)]), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
if (EQHI (tmp_argilo, tmp_argjlo)) {
{
UQI opval = 8;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCk)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCk), 1)]), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
if (LTUHI (tmp_argilo, tmp_argjlo)) {
{
UQI opval = 4;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCk)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCk), 1)]), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
} else {
{
UQI opval = 1;
- sim_queue_qi_write (current_cpu, & CPU (h_fccr[((FLD (f_FCCk)) + (1))]), opval);
+ sim_queue_qi_write (current_cpu, & CPU (h_fccr[ADDSI (FLD (f_FCCk), 1)]), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fccr", 'x', opval);
}
}
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRj), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
- tmp_arghi = GET_H_FR_HI (((FLD (f_FRj)) + (0)));
- tmp_arglo = GET_H_FR_LO (((FLD (f_FRj)) + (0)));
-if (GTDI (ABSHI (tmp_arghi), 32767)) {
+ tmp_arghi = GET_H_FR_HI (ADDSI (FLD (f_FRj), 0));
+ tmp_arglo = GET_H_FR_LO (ADDSI (FLD (f_FRj), 0));
+if (GTDI (ABSDI (EXTHIDI (tmp_arghi)), 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
-if (LTDI (ABSHI (tmp_arghi), -32768)) {
+if (LTDI (ABSDI (EXTHIDI (tmp_arghi)), -32768)) {
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
- UHI opval = ABSHI (tmp_arghi);
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = ABSDI (EXTHIDI (tmp_arghi));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
-if (GTDI (ABSHI (tmp_arglo), 32767)) {
+if (GTDI (ABSDI (EXTHIDI (tmp_arglo)), 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
-if (LTDI (ABSHI (tmp_arglo), -32768)) {
+if (LTDI (ABSDI (EXTHIDI (tmp_arglo)), -32768)) {
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
- UHI opval = ABSHI (tmp_arglo);
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = ABSDI (EXTHIDI (tmp_arglo));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = ADDDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = ADDDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = ADDDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = ADDDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = SUBDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = SUBDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = SUBDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = SUBDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = ADDDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = ADDDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = ADDDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = ADDDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = SUBDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = SUBDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = SUBDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = SUBDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = ADDDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = ADDDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = ADDDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = ADDDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = ADDDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = ADDDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = ADDDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = ADDDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = SUBDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = SUBDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = SUBDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = SUBDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = SUBDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = SUBDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = SUBDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = SUBDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = ADDDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = ADDDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = ADDDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = ADDDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = ADDDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = ADDDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = ADDDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = ADDDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = SUBDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = SUBDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = SUBDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = SUBDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 32767)) {
{
{
UHI opval = 32767;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
UHI opval = -32768;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = SUBDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = SUBDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argihi, tmp_argjhi);
+ tmp_tmp = SUBDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBHI (tmp_argilo, tmp_argjlo);
+ tmp_tmp = SUBDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
if (GTDI (tmp_tmp, 65535)) {
{
{
UHI opval = 65535;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
UHI opval = 0;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
#undef FLD
}
+/* mqlclrhs: mqlclrhs$pack $FRintieven,$FRintjeven,$FRintkeven */
+
+static SEM_PC
+SEM_FN_NAME (frvbf,mqlclrhs) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
+{
+#define FLD(f) abuf->fields.sfmt_cmqaddhss.f
+ ARGBUF *abuf = SEM_ARGBUF (sem_arg);
+ int UNUSED written = 0;
+ IADDR UNUSED pc = abuf->addr;
+ SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
+
+if (ORIF (ANDSI (FLD (f_FRi), SUBSI (2, 1)), ORIF (ANDSI (FLD (f_FRj), SUBSI (2, 1)), ANDSI (FLD (f_FRk), SUBSI (2, 1))))) {
+frvbf_media_register_not_aligned (current_cpu);
+} else {
+{
+ HI tmp_a1;
+ HI tmp_a2;
+ HI tmp_a3;
+ HI tmp_a4;
+ HI tmp_b1;
+ HI tmp_b2;
+ HI tmp_b3;
+ HI tmp_b4;
+ {
+ SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
+ written |= (1 << 14);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ }
+{
+ tmp_a1 = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_a2 = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_b1 = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_b2 = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+}
+{
+ tmp_a3 = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_a4 = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_b3 = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_b4 = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+}
+ {
+ UHI opval = (LEUHI (ABSHI (tmp_a1), ABSHI (tmp_b1))) ? (0) : (LEHI (0, tmp_b1)) ? (tmp_a1) : (EQHI (tmp_a1, -32768)) ? (32767) : (NEGHI (tmp_a1));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
+ written |= (1 << 15);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ }
+ {
+ UHI opval = (LEUHI (ABSHI (tmp_a2), ABSHI (tmp_b2))) ? (0) : (LEHI (0, tmp_b2)) ? (tmp_a2) : (EQHI (tmp_a2, -32768)) ? (32767) : (NEGHI (tmp_a2));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
+ written |= (1 << 17);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ }
+ {
+ UHI opval = (LEUHI (ABSHI (tmp_a3), ABSHI (tmp_b3))) ? (0) : (LEHI (0, tmp_b3)) ? (tmp_a3) : (EQHI (tmp_a3, -32768)) ? (32767) : (NEGHI (tmp_a3));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
+ written |= (1 << 16);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ }
+ {
+ UHI opval = (LEUHI (ABSHI (tmp_a4), ABSHI (tmp_b4))) ? (0) : (LEHI (0, tmp_b4)) ? (tmp_a4) : (EQHI (tmp_a4, -32768)) ? (32767) : (NEGHI (tmp_a4));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
+ written |= (1 << 18);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ }
+}
+}
+
+ abuf->written = written;
+ return vpc;
+#undef FLD
+}
+
+/* mqlmths: mqlmths$pack $FRintieven,$FRintjeven,$FRintkeven */
+
+static SEM_PC
+SEM_FN_NAME (frvbf,mqlmths) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
+{
+#define FLD(f) abuf->fields.sfmt_cmqaddhss.f
+ ARGBUF *abuf = SEM_ARGBUF (sem_arg);
+ int UNUSED written = 0;
+ IADDR UNUSED pc = abuf->addr;
+ SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
+
+if (ORIF (ANDSI (FLD (f_FRi), SUBSI (2, 1)), ORIF (ANDSI (FLD (f_FRj), SUBSI (2, 1)), ANDSI (FLD (f_FRk), SUBSI (2, 1))))) {
+frvbf_media_register_not_aligned (current_cpu);
+} else {
+{
+ HI tmp_a1;
+ HI tmp_a2;
+ HI tmp_a3;
+ HI tmp_a4;
+ HI tmp_b1;
+ HI tmp_b2;
+ HI tmp_b3;
+ HI tmp_b4;
+ {
+ SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
+ written |= (1 << 14);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ }
+{
+ tmp_a1 = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_a2 = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_b1 = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_b2 = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+}
+{
+ tmp_a3 = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_a4 = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_b3 = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_b4 = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+}
+ {
+ UHI opval = (ANDIF (GTHI (tmp_b1, -32768), GEHI (tmp_a1, ABSHI (tmp_b1)))) ? (tmp_b1) : (GTHI (tmp_a1, NEGHI (ABSHI (tmp_b1)))) ? (tmp_a1) : (EQHI (tmp_b1, -32768)) ? (32767) : (NEGHI (tmp_b1));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
+ written |= (1 << 15);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ }
+ {
+ UHI opval = (ANDIF (GTHI (tmp_b2, -32768), GEHI (tmp_a2, ABSHI (tmp_b2)))) ? (tmp_b2) : (GTHI (tmp_a2, NEGHI (ABSHI (tmp_b2)))) ? (tmp_a2) : (EQHI (tmp_b2, -32768)) ? (32767) : (NEGHI (tmp_b2));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
+ written |= (1 << 17);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ }
+ {
+ UHI opval = (ANDIF (GTHI (tmp_b3, -32768), GEHI (tmp_a3, ABSHI (tmp_b3)))) ? (tmp_b3) : (GTHI (tmp_a3, NEGHI (ABSHI (tmp_b3)))) ? (tmp_a3) : (EQHI (tmp_b3, -32768)) ? (32767) : (NEGHI (tmp_b3));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
+ written |= (1 << 16);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ }
+ {
+ UHI opval = (ANDIF (GTHI (tmp_b4, -32768), GEHI (tmp_a4, ABSHI (tmp_b4)))) ? (tmp_b4) : (GTHI (tmp_a4, NEGHI (ABSHI (tmp_b4)))) ? (tmp_a4) : (EQHI (tmp_b4, -32768)) ? (32767) : (NEGHI (tmp_b4));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
+ written |= (1 << 18);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ }
+}
+}
+
+ abuf->written = written;
+ return vpc;
+#undef FLD
+}
+
+/* mqsllhi: mqsllhi$pack $FRintieven,$u6,$FRintkeven */
+
+static SEM_PC
+SEM_FN_NAME (frvbf,mqsllhi) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
+{
+#define FLD(f) abuf->fields.sfmt_mqsllhi.f
+ ARGBUF *abuf = SEM_ARGBUF (sem_arg);
+ int UNUSED written = 0;
+ IADDR UNUSED pc = abuf->addr;
+ SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
+
+if (ORIF (ANDSI (FLD (f_FRi), SUBSI (2, 1)), ANDSI (FLD (f_FRk), SUBSI (2, 1)))) {
+frvbf_media_register_not_aligned (current_cpu);
+} else {
+{
+ {
+ SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRi)));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRi), opval);
+ written |= (1 << 9);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ }
+ {
+ SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
+ written |= (1 << 10);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ }
+ {
+ UHI opval = SLLHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
+ written |= (1 << 11);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ }
+ {
+ UHI opval = SLLHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
+ written |= (1 << 13);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ }
+ {
+ UHI opval = SLLHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
+ written |= (1 << 12);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ }
+ {
+ UHI opval = SLLHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
+ written |= (1 << 14);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ }
+}
+}
+
+ abuf->written = written;
+ return vpc;
+#undef FLD
+}
+
+/* mqsrahi: mqsrahi$pack $FRintieven,$u6,$FRintkeven */
+
+static SEM_PC
+SEM_FN_NAME (frvbf,mqsrahi) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
+{
+#define FLD(f) abuf->fields.sfmt_mqsllhi.f
+ ARGBUF *abuf = SEM_ARGBUF (sem_arg);
+ int UNUSED written = 0;
+ IADDR UNUSED pc = abuf->addr;
+ SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
+
+if (ORIF (ANDSI (FLD (f_FRi), SUBSI (2, 1)), ANDSI (FLD (f_FRk), SUBSI (2, 1)))) {
+frvbf_media_register_not_aligned (current_cpu);
+} else {
+{
+ {
+ SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRi)));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRi), opval);
+ written |= (1 << 9);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ }
+ {
+ SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
+ sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
+ written |= (1 << 10);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ }
+ {
+ UHI opval = SRAHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
+ written |= (1 << 11);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ }
+ {
+ UHI opval = SRAHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
+ written |= (1 << 13);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ }
+ {
+ UHI opval = SRAHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
+ written |= (1 << 12);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ }
+ {
+ UHI opval = SRAHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), ANDSI (FLD (f_u6), 15));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
+ written |= (1 << 14);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ }
+}
+}
+
+ abuf->written = written;
+ return vpc;
+#undef FLD
+}
+
/* maddaccs: maddaccs$pack $ACC40Si,$ACC40Sk */
static SEM_PC
} else {
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
-if (GTDI (tmp_tmp, 549755813887)) {
+ tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
+if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
- DI opval = 549755813887;
+ DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
-if (LTDI (tmp_tmp, INVDI (549755813887))) {
+if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
- DI opval = INVDI (549755813887);
+ DI opval = INVDI (MAKEDI (127, 0xffffffff));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
} else {
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
-if (GTDI (tmp_tmp, 549755813887)) {
+ tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
+if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
- DI opval = 549755813887;
+ DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
-if (LTDI (tmp_tmp, INVDI (549755813887))) {
+if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
- DI opval = INVDI (549755813887);
+ DI opval = INVDI (MAKEDI (127, 0xffffffff));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
{
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
-if (GTDI (tmp_tmp, 549755813887)) {
+ tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
+if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
- DI opval = 549755813887;
+ DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
-if (LTDI (tmp_tmp, INVDI (549755813887))) {
+if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
- DI opval = INVDI (549755813887);
+ DI opval = INVDI (MAKEDI (127, 0xffffffff));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Si)) + (2))), GET_H_ACC40S (((FLD (f_ACC40Si)) + (3))));
-if (GTDI (tmp_tmp, 549755813887)) {
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 2)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 3)));
+if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
- DI opval = 549755813887;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ DI opval = MAKEDI (127, 0xffffffff);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
-if (LTDI (tmp_tmp, INVDI (549755813887))) {
+if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
- DI opval = INVDI (549755813887);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ DI opval = INVDI (MAKEDI (127, 0xffffffff));
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
{
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
-if (GTDI (tmp_tmp, 549755813887)) {
+ tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
+if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
- DI opval = 549755813887;
+ DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
-if (LTDI (tmp_tmp, INVDI (549755813887))) {
+if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
- DI opval = INVDI (549755813887);
+ DI opval = INVDI (MAKEDI (127, 0xffffffff));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (((FLD (f_ACC40Si)) + (2))), GET_H_ACC40S (((FLD (f_ACC40Si)) + (3))));
-if (GTDI (tmp_tmp, 549755813887)) {
+ tmp_tmp = SUBDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 2)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 3)));
+if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
- DI opval = 549755813887;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ DI opval = MAKEDI (127, 0xffffffff);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
-if (LTDI (tmp_tmp, INVDI (549755813887))) {
+if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
- DI opval = INVDI (549755813887);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ DI opval = INVDI (MAKEDI (127, 0xffffffff));
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
{
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
-if (GTDI (tmp_tmp, 549755813887)) {
+ tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
+if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
- DI opval = 549755813887;
+ DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
-if (LTDI (tmp_tmp, INVDI (549755813887))) {
+if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
- DI opval = INVDI (549755813887);
+ DI opval = INVDI (MAKEDI (127, 0xffffffff));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 4);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
-if (GTDI (tmp_tmp, 549755813887)) {
+ tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
+if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
- DI opval = 549755813887;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ DI opval = MAKEDI (127, 0xffffffff);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
-if (LTDI (tmp_tmp, INVDI (549755813887))) {
+if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
- DI opval = INVDI (549755813887);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ DI opval = INVDI (MAKEDI (127, 0xffffffff));
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 5);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
{
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
-if (GTDI (tmp_tmp, 549755813887)) {
+ tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
+if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
- DI opval = 549755813887;
+ DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
} else {
-if (LTDI (tmp_tmp, INVDI (549755813887))) {
+if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
- DI opval = INVDI (549755813887);
+ DI opval = INVDI (MAKEDI (127, 0xffffffff));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
-if (GTDI (tmp_tmp, 549755813887)) {
+ tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
+if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
- DI opval = 549755813887;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ DI opval = MAKEDI (127, 0xffffffff);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
-if (LTDI (tmp_tmp, INVDI (549755813887))) {
+if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
- DI opval = INVDI (549755813887);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ DI opval = INVDI (MAKEDI (127, 0xffffffff));
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Si)) + (2))), GET_H_ACC40S (((FLD (f_ACC40Si)) + (3))));
-if (GTDI (tmp_tmp, 549755813887)) {
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 2)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 3)));
+if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
- DI opval = 549755813887;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ DI opval = MAKEDI (127, 0xffffffff);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
-if (LTDI (tmp_tmp, INVDI (549755813887))) {
+if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
- DI opval = INVDI (549755813887);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ DI opval = INVDI (MAKEDI (127, 0xffffffff));
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (((FLD (f_ACC40Si)) + (2))), GET_H_ACC40S (((FLD (f_ACC40Si)) + (3))));
-if (GTDI (tmp_tmp, 549755813887)) {
+ tmp_tmp = SUBDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 2)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 3)));
+if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
- DI opval = 549755813887;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ DI opval = MAKEDI (127, 0xffffffff);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
-if (LTDI (tmp_tmp, INVDI (549755813887))) {
+if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
- DI opval = INVDI (549755813887);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ DI opval = INVDI (MAKEDI (127, 0xffffffff));
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjlo));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjhi));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjlo));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjhi));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjlo));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjhi));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjhi));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjlo));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjhi));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjhi));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
{
DI opval = MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo));
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (1))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 1)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
UDI opval = MAKEDI (255, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
UDI opval = MAKEDI (0, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
UDI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40U (((FLD (f_ACC40Uk)) + (1))), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40U (ADDSI (FLD (f_ACC40Uk), 1)), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (255, 0xffffffff))) {
{
{
UDI opval = MAKEDI (255, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UDI opval = MAKEDI (0, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UDI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (1))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
+ tmp_tmp = SUBDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 1)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
UDI opval = MAKEDI (255, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
UDI opval = MAKEDI (0, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
UDI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40U (((FLD (f_ACC40Uk)) + (1))), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
+ tmp_tmp = SUBDI (GET_H_ACC40U (ADDSI (FLD (f_ACC40Uk), 1)), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (255, 0xffffffff))) {
{
{
UDI opval = MAKEDI (255, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UDI opval = MAKEDI (0, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UDI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (1))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 1)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
UDI opval = MAKEDI (255, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
UDI opval = MAKEDI (0, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
UDI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40U (((FLD (f_ACC40Uk)) + (1))), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40U (ADDSI (FLD (f_ACC40Uk), 1)), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (255, 0xffffffff))) {
{
{
UDI opval = MAKEDI (255, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UDI opval = MAKEDI (0, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UDI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (1))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 1)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (2))), MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 2)), MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (3))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 3)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
UDI opval = MAKEDI (255, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
UDI opval = MAKEDI (0, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
UDI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40U (((FLD (f_ACC40Uk)) + (1))), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40U (ADDSI (FLD (f_ACC40Uk), 1)), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (255, 0xffffffff))) {
{
{
UDI opval = MAKEDI (255, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UDI opval = MAKEDI (0, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UDI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40U (((FLD (f_ACC40Uk)) + (2))), MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi)));
+ tmp_tmp = ADDDI (GET_H_ACC40U (ADDSI (FLD (f_ACC40Uk), 2)), MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi)));
if (GTDI (tmp_tmp, MAKEDI (255, 0xffffffff))) {
{
{
UDI opval = MAKEDI (255, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
UDI opval = MAKEDI (0, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
UDI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40U (((FLD (f_ACC40Uk)) + (3))), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40U (ADDSI (FLD (f_ACC40Uk), 3)), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (255, 0xffffffff))) {
{
{
UDI opval = MAKEDI (255, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
UDI opval = MAKEDI (0, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
UDI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (1))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 1)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (2))), MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 2)), MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 21);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 21);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 21);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (3))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 3)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 22);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 22);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 22);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
UDI opval = MAKEDI (255, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
UDI opval = MAKEDI (0, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
UDI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, FLD (f_ACC40Uk), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40U (((FLD (f_ACC40Uk)) + (1))), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40U (ADDSI (FLD (f_ACC40Uk), 1)), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (255, 0xffffffff))) {
{
{
UDI opval = MAKEDI (255, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
UDI opval = MAKEDI (0, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
UDI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 1), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40U (((FLD (f_ACC40Uk)) + (2))), MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi)));
+ tmp_tmp = ADDDI (GET_H_ACC40U (ADDSI (FLD (f_ACC40Uk), 2)), MULDI (ZEXTHIDI (tmp_argihi), ZEXTHIDI (tmp_argjhi)));
if (GTDI (tmp_tmp, MAKEDI (255, 0xffffffff))) {
{
{
UDI opval = MAKEDI (255, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 2), opval);
written |= (1 << 21);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
UDI opval = MAKEDI (0, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 2), opval);
written |= (1 << 21);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
UDI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 2), opval);
written |= (1 << 21);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40U (((FLD (f_ACC40Uk)) + (3))), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40U (ADDSI (FLD (f_ACC40Uk), 3)), MULDI (ZEXTHIDI (tmp_argilo), ZEXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (255, 0xffffffff))) {
{
{
UDI opval = MAKEDI (255, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 3), opval);
written |= (1 << 22);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
UDI opval = MAKEDI (0, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 3), opval);
written |= (1 << 22);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
UDI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ((FLD (f_ACC40Uk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40U_set, ADDSI (FLD (f_ACC40Uk), 3), opval);
written |= (1 << 22);
- TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40U", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (2))), MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 2)), MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjhi)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (3))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 3)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (1))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 1)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (2))), MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 2)), MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (3))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjhi)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 3)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjhi)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (1))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjhi)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 1)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjhi)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (1))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjhi)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 1)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjhi)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (2))), MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjlo)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 2)), MULDI (EXTHIDI (tmp_argihi), EXTHIDI (tmp_argjlo)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 2);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (2)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 2), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Sk)) + (3))), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjhi)));
+ tmp_tmp = ADDDI (GET_H_ACC40S (ADDSI (FLD (f_ACC40Sk), 3)), MULDI (EXTHIDI (tmp_argilo), EXTHIDI (tmp_argjhi)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 1);
}
} else {
{
DI opval = tmp_tmp;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (3)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 3), opval);
written |= (1 << 20);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp1;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
DI opval = MAKEDI (255, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp1;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp1;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
DI opval = MAKEDI (255, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp1;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp1;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
DI opval = MAKEDI (255, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp1;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp1;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
DI opval = MAKEDI (255, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp1;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp1;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp1;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
DI opval = MAKEDI (255, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp1;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
{
{
DI opval = MAKEDI (255, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
DI opval = MAKEDI (0, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp1;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
HI tmp_argjhi;
HI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
DI opval = MAKEDI (127, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0xffffff80, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp1;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
{
{
DI opval = MAKEDI (127, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
DI opval = MAKEDI (0xffffff80, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp1;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
UHI tmp_argjhi;
UHI tmp_argjlo;
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 0)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 0)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
DI opval = MAKEDI (255, 0xffffffff);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = MAKEDI (0, 0);
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 8);
}
DI opval = tmp_tmp1;
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
}
{
- tmp_argihi = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argilo = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_argjhi = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_argjlo = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argihi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argilo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRi), 1)), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
+ tmp_argjhi = ADDHI (GET_H_FR_HI (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ tmp_argjlo = ADDHI (GET_H_FR_LO (ADDSI (FLD (f_FRj), 1)), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
}
{
DI tmp_tmp1;
{
{
DI opval = MAKEDI (255, 0xffffffff);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
{
{
DI opval = MAKEDI (0, 0);
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
frvbf_media_overflow (current_cpu, 4);
}
} else {
{
DI opval = tmp_tmp1;
- sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ((FLD (f_ACC40Sk)) + (1)), opval);
+ sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, ADDSI (FLD (f_ACC40Sk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
}
}
{
UHI tmp_tmp;
if (ANDSI (FLD (f_u6), 1)) {
- tmp_tmp = GET_H_FR_LO (((FLD (f_FRi)) + (0)));
+ tmp_tmp = GET_H_FR_LO (ADDSI (FLD (f_FRi), 0));
} else {
- tmp_tmp = GET_H_FR_HI (((FLD (f_FRi)) + (0)));
+ tmp_tmp = GET_H_FR_HI (ADDSI (FLD (f_FRi), 0));
}
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
{
UHI tmp_tmp;
if (ANDSI (FLD (f_u6), 1)) {
- tmp_tmp = GET_H_FR_LO (((FLD (f_FRi)) + (0)));
+ tmp_tmp = GET_H_FR_LO (ADDSI (FLD (f_FRi), 0));
} else {
- tmp_tmp = GET_H_FR_HI (((FLD (f_FRi)) + (0)));
+ tmp_tmp = GET_H_FR_HI (ADDSI (FLD (f_FRi), 0));
}
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
if (ANDSI (FLD (f_u6), 1)) {
- tmp_tmp = GET_H_FR_LO (((FLD (f_FRi)) + (0)));
+ tmp_tmp = GET_H_FR_LO (ADDSI (FLD (f_FRi), 0));
} else {
- tmp_tmp = GET_H_FR_HI (((FLD (f_FRi)) + (0)));
+ tmp_tmp = GET_H_FR_HI (ADDSI (FLD (f_FRi), 0));
}
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
if (ANDSI (FLD (f_u6), 1)) {
- tmp_tmp = GET_H_FR_LO (((FLD (f_FRi)) + (0)));
+ tmp_tmp = GET_H_FR_LO (ADDSI (FLD (f_FRi), 0));
} else {
- tmp_tmp = GET_H_FR_HI (((FLD (f_FRi)) + (0)));
+ tmp_tmp = GET_H_FR_HI (ADDSI (FLD (f_FRi), 0));
}
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
UHI opval = tmp_tmp;
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
{
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRi)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRi), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRi)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRi), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRj), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRi)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRi), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
{
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRi)) + (1)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRi), 1));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRj)) + (1)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRj), 1));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRi)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRi), opval);
written |= (1 << 6);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 7);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
{
- UHI opval = GET_H_FR_HI (((FLD (f_FRi)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_HI (ADDSI (FLD (f_FRi), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_HI (((FLD (f_FRi)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_HI (ADDSI (FLD (f_FRi), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRi)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (ADDSI (0, 1))), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRi), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), ADDSI (0, 1)), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRi)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (ADDSI (0, 1))), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRi), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), ADDSI (0, 1)), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRi)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRi), opval);
written |= (1 << 8);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
written |= (1 << 9);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
{
- UHI opval = GET_H_FR_HI (((FLD (f_FRi)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_HI (ADDSI (FLD (f_FRi), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_HI (((FLD (f_FRi)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_HI (ADDSI (FLD (f_FRi), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRi)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (ADDSI (0, 1))), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRi), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), ADDSI (0, 1)), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRi)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (ADDSI (0, 1))), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRi), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), ADDSI (0, 1)), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
{
{
- UHI opval = GET_H_FR_HI (((FLD (f_FRi)) + (1)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (2)), opval);
+ UHI opval = GET_H_FR_HI (ADDSI (FLD (f_FRi), 1));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 2), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_HI (((FLD (f_FRi)) + (1)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (2)), opval);
+ UHI opval = GET_H_FR_HI (ADDSI (FLD (f_FRi), 1));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 2), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRi)) + (1)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (ADDSI (2, 1))), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRi), 1));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), ADDSI (2, 1)), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRi)) + (1)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (ADDSI (2, 1))), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRi), 1));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), ADDSI (2, 1)), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRj), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
if (ANDSI (FLD (f_FRk), SUBSI (2, 1))) {
frvbf_media_register_not_aligned (current_cpu);
} else {
{
{
- UHI opval = GET_H_FR_3 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_3 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_2 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_2 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = GET_H_FR_1 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ UHI opval = GET_H_FR_1 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_0 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ UHI opval = GET_H_FR_0 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRj), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
if (ANDSI (FLD (f_FRk), SUBSI (2, 1))) {
frvbf_media_register_not_aligned (current_cpu);
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
{
- UHI opval = GET_H_FR_3 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_3 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_2 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_2 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = GET_H_FR_1 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ UHI opval = GET_H_FR_1 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_0 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ UHI opval = GET_H_FR_0 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRj), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
if (ANDSI (FLD (f_FRj), SUBSI (2, 1))) {
frvbf_media_register_not_aligned (current_cpu);
} else {
{
{
- UHI opval = GET_H_FR_HI (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_3_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_HI (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_3_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "fr_3", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_3", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_2_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_2_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_2", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_2", 'x', opval);
}
{
- UHI opval = GET_H_FR_HI (((FLD (f_FRj)) + (1)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_1_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_HI (ADDSI (FLD (f_FRj), 1));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_1_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_1", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_1", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRj)) + (1)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_0_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRj), 1));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_0_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_0", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_0", 'x', opval);
}
}
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRj), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
if (ANDSI (FLD (f_FRj), SUBSI (2, 1))) {
frvbf_media_register_not_aligned (current_cpu);
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
{
- UHI opval = GET_H_FR_HI (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_3_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_HI (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_3_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_3", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_3", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_2_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_2_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "fr_2", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_2", 'x', opval);
}
{
- UHI opval = GET_H_FR_HI (((FLD (f_FRj)) + (1)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_1_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_HI (ADDSI (FLD (f_FRj), 1));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_1_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "fr_1", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_1", 'x', opval);
}
{
- UHI opval = GET_H_FR_LO (((FLD (f_FRj)) + (1)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_0_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_LO (ADDSI (FLD (f_FRj), 1));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_0_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_0", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_0", 'x', opval);
}
}
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRj), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
if (ANDSI (FLD (f_FRk), SUBSI (4, 1))) {
frvbf_media_register_not_aligned (current_cpu);
} else {
{
{
- UHI opval = GET_H_FR_3 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_3 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 10);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_3 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_3 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = GET_H_FR_2 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ UHI opval = GET_H_FR_2 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 11);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_2 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ UHI opval = GET_H_FR_2 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = GET_H_FR_1 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (2)), opval);
+ UHI opval = GET_H_FR_1 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 2), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_1 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (2)), opval);
+ UHI opval = GET_H_FR_1 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 2), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = GET_H_FR_0 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (3)), opval);
+ UHI opval = GET_H_FR_0 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 3), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_0 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (3)), opval);
+ UHI opval = GET_H_FR_0 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 3), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRj)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRj), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
SI opval = frv_ref_SI (GET_H_FR_INT (FLD (f_FRk)));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
if (ANDSI (FLD (f_FRk), SUBSI (4, 1))) {
frvbf_media_register_not_aligned (current_cpu);
if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
{
- UHI opval = GET_H_FR_3 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_3 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 12);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_3 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (0)), opval);
+ UHI opval = GET_H_FR_3 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
written |= (1 << 16);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = GET_H_FR_2 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), opval);
+ UHI opval = GET_H_FR_2 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 13);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_2 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), opval);
+ UHI opval = GET_H_FR_2 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 1), opval);
written |= (1 << 17);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = GET_H_FR_1 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (2)), opval);
+ UHI opval = GET_H_FR_1 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 2), opval);
written |= (1 << 14);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_1 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (2)), opval);
+ UHI opval = GET_H_FR_1 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 2), opval);
written |= (1 << 18);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = GET_H_FR_0 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (3)), opval);
+ UHI opval = GET_H_FR_0 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 3), opval);
written |= (1 << 15);
- TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = GET_H_FR_0 (((FLD (f_FRj)) + (0)));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (3)), opval);
+ UHI opval = GET_H_FR_0 (ADDSI (FLD (f_FRj), 0));
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 3), opval);
written |= (1 << 19);
- TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
}
static SEM_PC
SEM_FN_NAME (frvbf,mnop) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
{
SI opval = GET_H_ACC40S (FLD (f_ACC40Si));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
SI opval = GET_H_ACCG (FLD (f_ACCGi));
sim_queue_fn_si_write (current_cpu, frvbf_h_fr_int_set, FLD (f_FRk), opval);
- TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
return vpc;
{
DI opval = ORDI (ANDDI (GET_H_ACC40S (FLD (f_ACC40Sk)), MAKEDI (0xffffffff, 0)), GET_H_FR_INT (FLD (f_FRi)));
sim_queue_fn_di_write (current_cpu, frvbf_h_acc40S_set, FLD (f_ACC40Sk), opval);
- TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
return vpc;
{
USI opval = GET_H_FR_INT (FLD (f_FRi));
sim_queue_fn_si_write (current_cpu, frvbf_h_accg_set, FLD (f_ACCGk), opval);
- TRACE_RESULT (current_cpu, abuf, "accg", 'x', opval);
+ CGEN_TRACE_RESULT (current_cpu, abuf, "accg", 'x', opval);
}
}
static SEM_PC
SEM_FN_NAME (frvbf,mcop1) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,mcop2) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
static SEM_PC
SEM_FN_NAME (frvbf,fnop) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
ARGBUF *abuf = SEM_ARGBUF (sem_arg);
int UNUSED written = 0;
IADDR UNUSED pc = abuf->addr;
{ FRVBF_INSN_STHF, SEM_FN_NAME (frvbf,sthf) },
{ FRVBF_INSN_STF, SEM_FN_NAME (frvbf,stf) },
{ FRVBF_INSN_STC, SEM_FN_NAME (frvbf,stc) },
- { FRVBF_INSN_RSTB, SEM_FN_NAME (frvbf,rstb) },
- { FRVBF_INSN_RSTH, SEM_FN_NAME (frvbf,rsth) },
- { FRVBF_INSN_RST, SEM_FN_NAME (frvbf,rst) },
- { FRVBF_INSN_RSTBF, SEM_FN_NAME (frvbf,rstbf) },
- { FRVBF_INSN_RSTHF, SEM_FN_NAME (frvbf,rsthf) },
- { FRVBF_INSN_RSTF, SEM_FN_NAME (frvbf,rstf) },
{ FRVBF_INSN_STD, SEM_FN_NAME (frvbf,std) },
{ FRVBF_INSN_STDF, SEM_FN_NAME (frvbf,stdf) },
{ FRVBF_INSN_STDC, SEM_FN_NAME (frvbf,stdc) },
- { FRVBF_INSN_RSTD, SEM_FN_NAME (frvbf,rstd) },
- { FRVBF_INSN_RSTDF, SEM_FN_NAME (frvbf,rstdf) },
{ FRVBF_INSN_STQ, SEM_FN_NAME (frvbf,stq) },
{ FRVBF_INSN_STQF, SEM_FN_NAME (frvbf,stqf) },
{ FRVBF_INSN_STQC, SEM_FN_NAME (frvbf,stqc) },
- { FRVBF_INSN_RSTQ, SEM_FN_NAME (frvbf,rstq) },
- { FRVBF_INSN_RSTQF, SEM_FN_NAME (frvbf,rstqf) },
{ FRVBF_INSN_STBU, SEM_FN_NAME (frvbf,stbu) },
{ FRVBF_INSN_STHU, SEM_FN_NAME (frvbf,sthu) },
{ FRVBF_INSN_STU, SEM_FN_NAME (frvbf,stu) },
{ FRVBF_INSN_DCUL, SEM_FN_NAME (frvbf,dcul) },
{ FRVBF_INSN_BAR, SEM_FN_NAME (frvbf,bar) },
{ FRVBF_INSN_MEMBAR, SEM_FN_NAME (frvbf,membar) },
+ { FRVBF_INSN_LRAI, SEM_FN_NAME (frvbf,lrai) },
+ { FRVBF_INSN_LRAD, SEM_FN_NAME (frvbf,lrad) },
+ { FRVBF_INSN_TLBPR, SEM_FN_NAME (frvbf,tlbpr) },
{ FRVBF_INSN_COP1, SEM_FN_NAME (frvbf,cop1) },
{ FRVBF_INSN_COP2, SEM_FN_NAME (frvbf,cop2) },
{ FRVBF_INSN_CLRGR, SEM_FN_NAME (frvbf,clrgr) },
{ FRVBF_INSN_CMQADDHUS, SEM_FN_NAME (frvbf,cmqaddhus) },
{ FRVBF_INSN_CMQSUBHSS, SEM_FN_NAME (frvbf,cmqsubhss) },
{ FRVBF_INSN_CMQSUBHUS, SEM_FN_NAME (frvbf,cmqsubhus) },
+ { FRVBF_INSN_MQLCLRHS, SEM_FN_NAME (frvbf,mqlclrhs) },
+ { FRVBF_INSN_MQLMTHS, SEM_FN_NAME (frvbf,mqlmths) },
+ { FRVBF_INSN_MQSLLHI, SEM_FN_NAME (frvbf,mqsllhi) },
+ { FRVBF_INSN_MQSRAHI, SEM_FN_NAME (frvbf,mqsrahi) },
{ FRVBF_INSN_MADDACCS, SEM_FN_NAME (frvbf,maddaccs) },
{ FRVBF_INSN_MSUBACCS, SEM_FN_NAME (frvbf,msubaccs) },
{ FRVBF_INSN_MDADDACCS, SEM_FN_NAME (frvbf,mdaddaccs) },