aboutsummaryrefslogtreecommitdiff
path: root/sim/frv/sem.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-11-04 04:33:07 +0000
committerDoug Evans <dje@google.com>2009-11-04 04:33:07 +0000
commitb29791a8349f901f96da47222830375567c3ffaa (patch)
treeb02a0a574167c784e1449fb9197f38bf7988a81a /sim/frv/sem.c
parent1ae4d23b731a2a5fa5d688bc255d52e7f1eb9232 (diff)
downloadgdb-b29791a8349f901f96da47222830375567c3ffaa.zip
gdb-b29791a8349f901f96da47222830375567c3ffaa.tar.gz
gdb-b29791a8349f901f96da47222830375567c3ffaa.tar.bz2
* arch.c: Regenerate.
* arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpuall.h: Regenerate. * decode.c: Regenerate. * decode.h: Regenerate. * model.c: Regenerate. * sem.c: Regenerate.
Diffstat (limited to 'sim/frv/sem.c')
-rw-r--r--sim/frv/sem.c2092
1 files changed, 1046 insertions, 1046 deletions
diff --git a/sim/frv/sem.c b/sim/frv/sem.c
index 63e3724..e1f9a96 100644
--- a/sim/frv/sem.c
+++ b/sim/frv/sem.c
@@ -2,7 +2,7 @@
THIS FILE IS MACHINE GENERATED WITH CGEN.
-Copyright 1996-2007 Free Software Foundation, Inc.
+Copyright 1996-2009 Free Software Foundation, Inc.
This file is part of the GNU simulators.
@@ -1458,7 +1458,7 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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);
@@ -1489,7 +1489,7 @@ if (LTSI (tmp_result, 0)) {
}
{
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);
}
@@ -1517,7 +1517,7 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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);
@@ -1548,7 +1548,7 @@ if (LTSI (tmp_result, 0)) {
}
{
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);
}
@@ -1575,7 +1575,7 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
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);
@@ -1595,7 +1595,7 @@ if (EQBI (EQDI (tmp_tmp, 0), 0)) {
}
{
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);
}
@@ -1630,23 +1630,23 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
}
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);
}
} 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);
}
} 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);
}
@@ -1683,23 +1683,23 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
}
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);
}
} 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);
}
} 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);
}
@@ -1736,23 +1736,23 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
}
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);
}
} 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);
}
} 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);
}
@@ -1783,7 +1783,7 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -1802,7 +1802,7 @@ if (LTSI (tmp_tmp, 0)) {
}
{
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);
}
@@ -1831,7 +1831,7 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -1850,7 +1850,7 @@ if (LTSI (tmp_tmp, 0)) {
}
{
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);
}
@@ -1879,7 +1879,7 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -1898,7 +1898,7 @@ if (LTSI (tmp_tmp, 0)) {
}
{
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);
}
@@ -1968,12 +1968,12 @@ SEM_FN_NAME (frvbf,addxcc) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
@@ -2019,12 +2019,12 @@ SEM_FN_NAME (frvbf,subxcc) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
@@ -2960,12 +2960,12 @@ SEM_FN_NAME (frvbf,addxicc) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
@@ -3011,12 +3011,12 @@ SEM_FN_NAME (frvbf,subxicc) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
@@ -7590,7 +7590,7 @@ if (EQSI (FLD (f_GRj), 0)) {
}
{
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);
}
@@ -7604,8 +7604,8 @@ if (EQSI (FLD (f_GRj), 0)) {
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);
}
@@ -7637,8 +7637,8 @@ if (NESI (FLD (f_GRj), 0)) {
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);
}
@@ -7671,19 +7671,19 @@ if (EQSI (FLD (f_GRj), 0)) {
}
{
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);
}
{
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);
}
{
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);
}
@@ -7697,20 +7697,20 @@ if (EQSI (FLD (f_GRj), 0)) {
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);
}
{
- 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);
}
{
- 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);
}
@@ -7742,20 +7742,20 @@ if (NESI (FLD (f_GRj), 0)) {
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);
}
{
- 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);
}
{
- 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);
}
@@ -7839,7 +7839,7 @@ if (EQSI (FLD (f_GRj), 0)) {
}
{
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);
}
@@ -7853,8 +7853,8 @@ if (EQSI (FLD (f_GRj), 0)) {
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);
}
@@ -7887,8 +7887,8 @@ if (ANDIF (NESI (FLD (f_GRj), 0), EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_
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);
}
@@ -16733,8 +16733,8 @@ SEM_FN_NAME (frvbf,fditos) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->floatsisf (CGEN_CPU_FPU (current_cpu), 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -16761,8 +16761,8 @@ SEM_FN_NAME (frvbf,fdstoi) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ USI opval = CGEN_CPU_FPU (current_cpu)->ops->fixsfsi (CGEN_CPU_FPU (current_cpu), 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);
TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
@@ -16791,8 +16791,8 @@ frvbf_set_ne_index (current_cpu, FLD (f_FRk));
}
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);
+ SF opval = CGEN_CPU_FPU (current_cpu)->ops->floatsisf (CGEN_CPU_FPU (current_cpu), 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -16821,8 +16821,8 @@ frvbf_set_ne_index (current_cpu, FLD (f_FRk));
}
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);
+ USI opval = CGEN_CPU_FPU (current_cpu)->ops->fixsfsi (CGEN_CPU_FPU (current_cpu), 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);
TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
}
@@ -16989,8 +16989,8 @@ SEM_FN_NAME (frvbf,fdmovs) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -17084,8 +17084,8 @@ SEM_FN_NAME (frvbf,fdnegs) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -17179,8 +17179,8 @@ SEM_FN_NAME (frvbf,fdabss) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -17253,8 +17253,8 @@ SEM_FN_NAME (frvbf,fdsqrts) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -17283,8 +17283,8 @@ frvbf_set_ne_index (current_cpu, FLD (f_FRk));
}
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -17924,33 +17924,33 @@ if (CGEN_CPU_FPU (current_cpu)->ops->ltsf (CGEN_CPU_FPU (current_cpu), GET_H_FR
}
}
}
-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);
}
} 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);
}
} 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);
}
} 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);
}
@@ -18066,8 +18066,8 @@ SEM_FN_NAME (frvbf,fdmadds) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18096,8 +18096,8 @@ frvbf_set_ne_index (current_cpu, FLD (f_FRk));
}
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18222,8 +18222,8 @@ SEM_FN_NAME (frvbf,fmas) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18250,8 +18250,8 @@ SEM_FN_NAME (frvbf,fmss) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18278,18 +18278,18 @@ SEM_FN_NAME (frvbf,fdmas) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
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);
+ 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);
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18316,18 +18316,18 @@ SEM_FN_NAME (frvbf,fdmss) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
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);
+ 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);
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18358,18 +18358,18 @@ frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 3));
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);
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);
+ 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);
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18400,18 +18400,18 @@ frvbf_set_ne_index (current_cpu, ADDSI (FLD (f_FRk), 3));
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);
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);
+ 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);
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18440,8 +18440,8 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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);
}
@@ -18473,8 +18473,8 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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);
}
@@ -18504,8 +18504,8 @@ SEM_FN_NAME (frvbf,fmad) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ 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 (ADDSI (FLD (f_FRi), 1))), CGEN_CPU_FPU (current_cpu)->ops->fextsfdf (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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18532,8 +18532,8 @@ SEM_FN_NAME (frvbf,fmsd) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ 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 (ADDSI (FLD (f_FRi), 1))), CGEN_CPU_FPU (current_cpu)->ops->fextsfdf (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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18562,8 +18562,8 @@ frvbf_set_ne_index (current_cpu, FLD (f_FRk));
}
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18592,8 +18592,8 @@ frvbf_set_ne_index (current_cpu, FLD (f_FRk));
}
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18620,8 +18620,8 @@ SEM_FN_NAME (frvbf,fdadds) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18648,8 +18648,8 @@ SEM_FN_NAME (frvbf,fdsubs) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18676,8 +18676,8 @@ SEM_FN_NAME (frvbf,fdmuls) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18704,8 +18704,8 @@ SEM_FN_NAME (frvbf,fddivs) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18732,8 +18732,8 @@ SEM_FN_NAME (frvbf,fdsads) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18755,13 +18755,13 @@ SEM_FN_NAME (frvbf,fdmulcs) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
{
- 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);
}
{
- 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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18784,14 +18784,14 @@ SEM_FN_NAME (frvbf,nfdmulcs) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
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);
}
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18820,8 +18820,8 @@ frvbf_set_ne_index (current_cpu, FLD (f_FRk));
}
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18850,8 +18850,8 @@ frvbf_set_ne_index (current_cpu, FLD (f_FRk));
}
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18880,8 +18880,8 @@ frvbf_set_ne_index (current_cpu, FLD (f_FRk));
}
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18910,8 +18910,8 @@ frvbf_set_ne_index (current_cpu, FLD (f_FRk));
}
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18940,8 +18940,8 @@ frvbf_set_ne_index (current_cpu, FLD (f_FRk));
}
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr", 'f', opval);
}
}
@@ -18997,33 +18997,33 @@ if (CGEN_CPU_FPU (current_cpu)->ops->ltsf (CGEN_CPU_FPU (current_cpu), GET_H_FR
}
}
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);
}
} 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);
}
} 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);
}
} 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);
}
@@ -19098,12 +19098,12 @@ SEM_FN_NAME (frvbf,mhdsets) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
}
{
UHI opval = FLD (f_u12);
- 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);
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);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
@@ -19185,23 +19185,23 @@ SEM_FN_NAME (frvbf,mhdseth) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
}
{
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);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
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);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ADDSI (FLD (f_FRk), 0), opval);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
@@ -19449,7 +19449,7 @@ SEM_FN_NAME (frvbf,mwcut) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
}
@@ -19470,7 +19470,7 @@ SEM_FN_NAME (frvbf,mwcuti) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
}
@@ -19588,8 +19588,8 @@ frvbf_media_register_not_aligned (current_cpu);
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);
}
@@ -19646,13 +19646,13 @@ SEM_FN_NAME (frvbf,msllhi) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ 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);
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
@@ -19684,13 +19684,13 @@ SEM_FN_NAME (frvbf,msrlhi) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ 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);
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
@@ -19722,13 +19722,13 @@ SEM_FN_NAME (frvbf,msrahi) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ 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);
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
@@ -19759,8 +19759,8 @@ frvbf_media_register_not_aligned (current_cpu);
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);
}
@@ -19798,17 +19798,17 @@ SEM_FN_NAME (frvbf,mcplhi) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
+ sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ADDSI (FLD (f_FRk), 0), opval);
TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
}
@@ -19836,7 +19836,7 @@ SEM_FN_NAME (frvbf,mcpli) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
}
}
@@ -19868,15 +19868,15 @@ SEM_FN_NAME (frvbf,msaths) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
}
@@ -19884,14 +19884,14 @@ if (GTHI (tmp_argihi, tmp_argjhi)) {
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);
}
} 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);
}
@@ -19900,7 +19900,7 @@ if (LTHI (tmp_argihi, INVHI (tmp_argjhi))) {
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);
}
@@ -19908,14 +19908,14 @@ if (GTHI (tmp_argilo, tmp_argjlo)) {
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);
}
} 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);
}
@@ -19954,15 +19954,15 @@ frvbf_media_register_not_aligned (current_cpu);
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);
}
@@ -19970,14 +19970,14 @@ if (GTHI (tmp_argihi, tmp_argjhi)) {
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);
}
} 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);
}
@@ -19986,7 +19986,7 @@ if (LTHI (tmp_argihi, INVHI (tmp_argjhi))) {
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);
}
@@ -19994,29 +19994,29 @@ if (GTHI (tmp_argilo, tmp_argjlo)) {
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);
}
} 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);
}
}
}
{
- 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);
}
@@ -20024,14 +20024,14 @@ if (GTHI (tmp_argihi, tmp_argjhi)) {
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);
}
} 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);
}
@@ -20040,7 +20040,7 @@ if (LTHI (tmp_argihi, INVHI (tmp_argjhi))) {
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);
}
@@ -20048,14 +20048,14 @@ if (GTHI (tmp_argilo, tmp_argjlo)) {
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);
}
} 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);
}
@@ -20086,22 +20086,22 @@ SEM_FN_NAME (frvbf,msathu) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
}
} 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);
}
@@ -20109,14 +20109,14 @@ if (GTUHI (tmp_argihi, tmp_argjhi)) {
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);
}
} 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);
}
@@ -20148,10 +20148,10 @@ frvbf_media_cr_not_aligned (current_cpu);
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)) {
{
@@ -20189,7 +20189,7 @@ if (LTHI (tmp_argihi, tmp_argjhi)) {
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);
}
@@ -20197,7 +20197,7 @@ if (GTHI (tmp_argilo, tmp_argjlo)) {
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);
}
@@ -20205,14 +20205,14 @@ if (EQHI (tmp_argilo, tmp_argjlo)) {
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);
}
} 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);
}
@@ -20247,10 +20247,10 @@ frvbf_media_cr_not_aligned (current_cpu);
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)) {
{
@@ -20288,7 +20288,7 @@ if (LTUHI (tmp_argihi, tmp_argjhi)) {
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);
}
@@ -20296,7 +20296,7 @@ if (GTUHI (tmp_argilo, tmp_argjlo)) {
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);
}
@@ -20304,14 +20304,14 @@ if (EQHI (tmp_argilo, tmp_argjlo)) {
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);
}
} 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);
}
@@ -20350,13 +20350,13 @@ SEM_FN_NAME (frvbf,mabshs) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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);
}
- tmp_arghi = GET_H_FR_HI (((FLD (f_FRj)) + (0)));
- tmp_arglo = GET_H_FR_LO (((FLD (f_FRj)) + (0)));
+ 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);
}
@@ -20367,7 +20367,7 @@ 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);
}
@@ -20376,7 +20376,7 @@ frvbf_media_overflow (current_cpu, 8);
} else {
{
UHI opval = ABSDI (EXTHIDI (tmp_arghi));
- 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);
}
@@ -20386,7 +20386,7 @@ 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);
}
@@ -20397,7 +20397,7 @@ 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);
}
@@ -20406,7 +20406,7 @@ frvbf_media_overflow (current_cpu, 4);
} else {
{
UHI opval = ABSDI (EXTHIDI (tmp_arglo));
- 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);
}
@@ -20436,10 +20436,10 @@ SEM_FN_NAME (frvbf,maddhss) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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;
@@ -20448,7 +20448,7 @@ 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);
}
@@ -20459,7 +20459,7 @@ if (LTDI (tmp_tmp, -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 << 9);
TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
@@ -20468,7 +20468,7 @@ 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);
}
@@ -20482,7 +20482,7 @@ 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);
}
@@ -20493,7 +20493,7 @@ if (LTDI (tmp_tmp, -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 << 10);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
@@ -20502,7 +20502,7 @@ 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);
}
@@ -20533,10 +20533,10 @@ SEM_FN_NAME (frvbf,maddhus) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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;
@@ -20545,7 +20545,7 @@ 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);
}
@@ -20556,7 +20556,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -20565,7 +20565,7 @@ 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);
}
@@ -20579,7 +20579,7 @@ 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);
}
@@ -20590,7 +20590,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -20599,7 +20599,7 @@ 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);
}
@@ -20630,10 +20630,10 @@ SEM_FN_NAME (frvbf,msubhss) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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;
@@ -20642,7 +20642,7 @@ 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);
}
@@ -20653,7 +20653,7 @@ if (LTDI (tmp_tmp, -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 << 9);
TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
@@ -20662,7 +20662,7 @@ 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);
}
@@ -20676,7 +20676,7 @@ 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);
}
@@ -20687,7 +20687,7 @@ if (LTDI (tmp_tmp, -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 << 10);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
@@ -20696,7 +20696,7 @@ 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);
}
@@ -20727,10 +20727,10 @@ SEM_FN_NAME (frvbf,msubhus) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
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;
@@ -20739,7 +20739,7 @@ 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);
}
@@ -20750,7 +20750,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -20759,7 +20759,7 @@ 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);
}
@@ -20773,7 +20773,7 @@ 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);
}
@@ -20784,7 +20784,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -20793,7 +20793,7 @@ 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);
}
@@ -20825,10 +20825,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -20837,7 +20837,7 @@ 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);
}
@@ -20848,7 +20848,7 @@ if (LTDI (tmp_tmp, -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 << 11);
TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
@@ -20857,7 +20857,7 @@ 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);
}
@@ -20871,7 +20871,7 @@ 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);
}
@@ -20882,7 +20882,7 @@ if (LTDI (tmp_tmp, -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 << 12);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
@@ -20891,7 +20891,7 @@ 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);
}
@@ -20924,10 +20924,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -20936,7 +20936,7 @@ 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);
}
@@ -20947,7 +20947,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -20956,7 +20956,7 @@ 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);
}
@@ -20970,7 +20970,7 @@ 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);
}
@@ -20981,7 +20981,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -20990,7 +20990,7 @@ 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);
}
@@ -21023,10 +21023,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -21035,7 +21035,7 @@ 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);
}
@@ -21046,7 +21046,7 @@ if (LTDI (tmp_tmp, -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 << 11);
TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
@@ -21055,7 +21055,7 @@ 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);
}
@@ -21069,7 +21069,7 @@ 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);
}
@@ -21080,7 +21080,7 @@ if (LTDI (tmp_tmp, -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 << 12);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
@@ -21089,7 +21089,7 @@ 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);
}
@@ -21122,10 +21122,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -21134,7 +21134,7 @@ 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);
}
@@ -21145,7 +21145,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -21154,7 +21154,7 @@ 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);
}
@@ -21168,7 +21168,7 @@ 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);
}
@@ -21179,7 +21179,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -21188,7 +21188,7 @@ 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);
}
@@ -21229,10 +21229,10 @@ frvbf_media_register_not_aligned (current_cpu);
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;
@@ -21241,7 +21241,7 @@ 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);
}
@@ -21252,7 +21252,7 @@ if (LTDI (tmp_tmp, -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 << 15);
TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
@@ -21261,7 +21261,7 @@ 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);
}
@@ -21275,7 +21275,7 @@ 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);
}
@@ -21286,7 +21286,7 @@ if (LTDI (tmp_tmp, -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 << 17);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
@@ -21295,7 +21295,7 @@ 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);
}
@@ -21303,10 +21303,10 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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;
@@ -21315,7 +21315,7 @@ 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);
}
@@ -21326,7 +21326,7 @@ if (LTDI (tmp_tmp, -32768)) {
{
{
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);
}
@@ -21335,7 +21335,7 @@ 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);
}
@@ -21349,7 +21349,7 @@ 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);
}
@@ -21360,7 +21360,7 @@ if (LTDI (tmp_tmp, -32768)) {
{
{
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);
}
@@ -21369,7 +21369,7 @@ 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);
}
@@ -21410,10 +21410,10 @@ frvbf_media_register_not_aligned (current_cpu);
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;
@@ -21422,7 +21422,7 @@ 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);
}
@@ -21433,7 +21433,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -21442,7 +21442,7 @@ 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);
}
@@ -21456,7 +21456,7 @@ 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);
}
@@ -21467,7 +21467,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -21476,7 +21476,7 @@ 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);
}
@@ -21484,10 +21484,10 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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;
@@ -21496,7 +21496,7 @@ 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);
}
@@ -21507,7 +21507,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -21516,7 +21516,7 @@ 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);
}
@@ -21530,7 +21530,7 @@ 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);
}
@@ -21541,7 +21541,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -21550,7 +21550,7 @@ 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);
}
@@ -21591,10 +21591,10 @@ frvbf_media_register_not_aligned (current_cpu);
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;
@@ -21603,7 +21603,7 @@ 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);
}
@@ -21614,7 +21614,7 @@ if (LTDI (tmp_tmp, -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 << 15);
TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
@@ -21623,7 +21623,7 @@ 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);
}
@@ -21637,7 +21637,7 @@ 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);
}
@@ -21648,7 +21648,7 @@ if (LTDI (tmp_tmp, -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 << 17);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
@@ -21657,7 +21657,7 @@ 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);
}
@@ -21665,10 +21665,10 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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;
@@ -21677,7 +21677,7 @@ 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);
}
@@ -21688,7 +21688,7 @@ if (LTDI (tmp_tmp, -32768)) {
{
{
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);
}
@@ -21697,7 +21697,7 @@ 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);
}
@@ -21711,7 +21711,7 @@ 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);
}
@@ -21722,7 +21722,7 @@ if (LTDI (tmp_tmp, -32768)) {
{
{
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);
}
@@ -21731,7 +21731,7 @@ 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);
}
@@ -21772,10 +21772,10 @@ frvbf_media_register_not_aligned (current_cpu);
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;
@@ -21784,7 +21784,7 @@ 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);
}
@@ -21795,7 +21795,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -21804,7 +21804,7 @@ 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);
}
@@ -21818,7 +21818,7 @@ 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);
}
@@ -21829,7 +21829,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -21838,7 +21838,7 @@ 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);
}
@@ -21846,10 +21846,10 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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;
@@ -21858,7 +21858,7 @@ 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);
}
@@ -21869,7 +21869,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -21878,7 +21878,7 @@ 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);
}
@@ -21892,7 +21892,7 @@ 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);
}
@@ -21903,7 +21903,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -21912,7 +21912,7 @@ 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);
}
@@ -21954,10 +21954,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -21966,7 +21966,7 @@ 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);
}
@@ -21977,7 +21977,7 @@ if (LTDI (tmp_tmp, -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 << 17);
TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
@@ -21986,7 +21986,7 @@ 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);
}
@@ -22000,7 +22000,7 @@ 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);
}
@@ -22011,7 +22011,7 @@ if (LTDI (tmp_tmp, -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 << 19);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
@@ -22020,7 +22020,7 @@ 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);
}
@@ -22028,10 +22028,10 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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;
@@ -22040,7 +22040,7 @@ 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);
}
@@ -22051,7 +22051,7 @@ if (LTDI (tmp_tmp, -32768)) {
{
{
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);
}
@@ -22060,7 +22060,7 @@ 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);
}
@@ -22074,7 +22074,7 @@ 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);
}
@@ -22085,7 +22085,7 @@ if (LTDI (tmp_tmp, -32768)) {
{
{
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);
}
@@ -22094,7 +22094,7 @@ 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);
}
@@ -22137,10 +22137,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -22149,7 +22149,7 @@ 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);
}
@@ -22160,7 +22160,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -22169,7 +22169,7 @@ 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);
}
@@ -22183,7 +22183,7 @@ 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);
}
@@ -22194,7 +22194,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -22203,7 +22203,7 @@ 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);
}
@@ -22211,10 +22211,10 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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;
@@ -22223,7 +22223,7 @@ 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);
}
@@ -22234,7 +22234,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -22243,7 +22243,7 @@ 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);
}
@@ -22257,7 +22257,7 @@ 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);
}
@@ -22268,7 +22268,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -22277,7 +22277,7 @@ 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);
}
@@ -22320,10 +22320,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -22332,7 +22332,7 @@ 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);
}
@@ -22343,7 +22343,7 @@ if (LTDI (tmp_tmp, -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 << 17);
TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
@@ -22352,7 +22352,7 @@ 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);
}
@@ -22366,7 +22366,7 @@ 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);
}
@@ -22377,7 +22377,7 @@ if (LTDI (tmp_tmp, -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 << 19);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
@@ -22386,7 +22386,7 @@ 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);
}
@@ -22394,10 +22394,10 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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;
@@ -22406,7 +22406,7 @@ 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);
}
@@ -22417,7 +22417,7 @@ if (LTDI (tmp_tmp, -32768)) {
{
{
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);
}
@@ -22426,7 +22426,7 @@ 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);
}
@@ -22440,7 +22440,7 @@ 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);
}
@@ -22451,7 +22451,7 @@ if (LTDI (tmp_tmp, -32768)) {
{
{
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);
}
@@ -22460,7 +22460,7 @@ 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);
}
@@ -22503,10 +22503,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -22515,7 +22515,7 @@ 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);
}
@@ -22526,7 +22526,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -22535,7 +22535,7 @@ 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);
}
@@ -22549,7 +22549,7 @@ 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);
}
@@ -22560,7 +22560,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -22569,7 +22569,7 @@ 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);
}
@@ -22577,10 +22577,10 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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;
@@ -22589,7 +22589,7 @@ 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);
}
@@ -22600,7 +22600,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -22609,7 +22609,7 @@ 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);
}
@@ -22623,7 +22623,7 @@ 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);
}
@@ -22634,7 +22634,7 @@ if (LTDI (tmp_tmp, 0)) {
{
{
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);
}
@@ -22643,7 +22643,7 @@ 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);
}
@@ -22689,38 +22689,38 @@ frvbf_media_register_not_aligned (current_cpu);
TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- tmp_a1 = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_a2 = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_b1 = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_b2 = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ 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 (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_a4 = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_b3 = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_b4 = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), 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, ((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);
}
{
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, ((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);
}
{
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, ((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);
}
{
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, ((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);
}
@@ -22762,38 +22762,38 @@ frvbf_media_register_not_aligned (current_cpu);
TRACE_RESULT (current_cpu, abuf, "fr_int", 'x', opval);
}
{
- tmp_a1 = ADDHI (GET_H_FR_HI (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_a2 = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_b1 = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_b2 = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (0))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
+ 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 (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_a4 = ADDHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRi)), 0));
- tmp_b3 = ADDHI (GET_H_FR_HI (((FLD (f_FRj)) + (1))), MULSI (GET_H_FR_INT (FLD (f_FRj)), 0));
- tmp_b4 = ADDHI (GET_H_FR_LO (((FLD (f_FRj)) + (1))), 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, ((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);
}
{
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, ((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);
}
{
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, ((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);
}
{
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, ((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);
}
@@ -22833,26 +22833,26 @@ frvbf_media_register_not_aligned (current_cpu);
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);
+ 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);
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = SLLHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), ANDSI (FLD (f_u6), 15));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), 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);
TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = SLLHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), ANDSI (FLD (f_u6), 15));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), 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);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
@@ -22892,26 +22892,26 @@ frvbf_media_register_not_aligned (current_cpu);
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);
+ 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);
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);
+ 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);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
{
- UHI opval = SRAHI (GET_H_FR_HI (((FLD (f_FRi)) + (1))), ANDSI (FLD (f_u6), 15));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_hi_set, ((FLD (f_FRk)) + (1)), 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);
TRACE_RESULT (current_cpu, abuf, "fr_hi", 'x', opval);
}
{
- UHI opval = SRAHI (GET_H_FR_LO (((FLD (f_FRi)) + (1))), ANDSI (FLD (f_u6), 15));
- sim_queue_fn_hi_write (current_cpu, frvbf_h_fr_lo_set, ((FLD (f_FRk)) + (1)), 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);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
@@ -22941,7 +22941,7 @@ frvbf_media_acc_not_aligned (current_cpu);
} else {
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
+ tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
@@ -23000,7 +23000,7 @@ frvbf_media_acc_not_aligned (current_cpu);
} else {
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
+ tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
@@ -23063,7 +23063,7 @@ frvbf_media_acc_not_aligned (current_cpu);
{
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
+ tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
@@ -23097,12 +23097,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Si)) + (2))), GET_H_ACC40S (((FLD (f_ACC40Si)) + (3))));
+ 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 = 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 << 7);
TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
@@ -23113,7 +23113,7 @@ if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
DI opval = INVDI (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 << 7);
TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
@@ -23122,7 +23122,7 @@ 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);
}
@@ -23162,7 +23162,7 @@ frvbf_media_acc_not_aligned (current_cpu);
{
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
+ tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
@@ -23196,12 +23196,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (((FLD (f_ACC40Si)) + (2))), GET_H_ACC40S (((FLD (f_ACC40Si)) + (3))));
+ 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 = 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 << 7);
TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
@@ -23212,7 +23212,7 @@ if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
DI opval = INVDI (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 << 7);
TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
@@ -23221,7 +23221,7 @@ 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);
}
@@ -23261,7 +23261,7 @@ frvbf_media_acc_not_aligned (current_cpu);
{
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
+ tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
@@ -23295,12 +23295,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
+ 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 = 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 << 5);
TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
@@ -23311,7 +23311,7 @@ if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
DI opval = INVDI (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 << 5);
TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
@@ -23320,7 +23320,7 @@ 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);
}
@@ -23360,7 +23360,7 @@ frvbf_media_acc_not_aligned (current_cpu);
{
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
+ tmp_tmp = ADDDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (ADDSI (FLD (f_ACC40Si), 1)));
if (GTDI (tmp_tmp, MAKEDI (127, 0xffffffff))) {
{
{
@@ -23394,12 +23394,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (FLD (f_ACC40Si)), GET_H_ACC40S (((FLD (f_ACC40Si)) + (1))));
+ 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 = 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 << 7);
TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
@@ -23410,7 +23410,7 @@ if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
DI opval = INVDI (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 << 7);
TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
@@ -23419,7 +23419,7 @@ 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);
}
@@ -23428,12 +23428,12 @@ frvbf_media_overflow (current_cpu, 4);
}
{
DI tmp_tmp;
- tmp_tmp = ADDDI (GET_H_ACC40S (((FLD (f_ACC40Si)) + (2))), GET_H_ACC40S (((FLD (f_ACC40Si)) + (3))));
+ 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 = 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 << 8);
TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
@@ -23444,7 +23444,7 @@ if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
DI opval = INVDI (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 << 8);
TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
@@ -23453,7 +23453,7 @@ 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);
}
@@ -23462,12 +23462,12 @@ frvbf_media_overflow (current_cpu, 2);
}
{
DI tmp_tmp;
- tmp_tmp = SUBDI (GET_H_ACC40S (((FLD (f_ACC40Si)) + (2))), GET_H_ACC40S (((FLD (f_ACC40Si)) + (3))));
+ 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 = 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 << 9);
TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
@@ -23478,7 +23478,7 @@ if (LTDI (tmp_tmp, INVDI (MAKEDI (127, 0xffffffff)))) {
{
{
DI opval = INVDI (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 << 9);
TRACE_RESULT (current_cpu, abuf, "acc40S", 'D', opval);
}
@@ -23487,7 +23487,7 @@ 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);
}
@@ -23526,10 +23526,10 @@ frvbf_media_acc_not_aligned (current_cpu);
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));
@@ -23539,7 +23539,7 @@ frvbf_media_acc_not_aligned (current_cpu);
}
{
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);
}
@@ -23573,10 +23573,10 @@ frvbf_media_acc_not_aligned (current_cpu);
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));
@@ -23586,7 +23586,7 @@ frvbf_media_acc_not_aligned (current_cpu);
}
{
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);
}
@@ -23620,10 +23620,10 @@ frvbf_media_acc_not_aligned (current_cpu);
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));
@@ -23633,7 +23633,7 @@ frvbf_media_acc_not_aligned (current_cpu);
}
{
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);
}
@@ -23667,10 +23667,10 @@ frvbf_media_acc_not_aligned (current_cpu);
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));
@@ -23680,7 +23680,7 @@ frvbf_media_acc_not_aligned (current_cpu);
}
{
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);
}
@@ -23715,10 +23715,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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));
@@ -23728,7 +23728,7 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
}
{
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);
}
@@ -23764,10 +23764,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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));
@@ -23777,7 +23777,7 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
}
{
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);
}
@@ -23815,10 +23815,10 @@ frvbf_media_register_not_aligned (current_cpu);
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));
@@ -23828,25 +23828,25 @@ frvbf_media_register_not_aligned (current_cpu);
}
{
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);
}
{
- 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);
}
{
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);
}
@@ -23884,10 +23884,10 @@ frvbf_media_register_not_aligned (current_cpu);
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));
@@ -23897,25 +23897,25 @@ frvbf_media_register_not_aligned (current_cpu);
}
{
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);
}
{
- 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);
}
{
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);
}
@@ -23953,10 +23953,10 @@ frvbf_media_register_not_aligned (current_cpu);
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));
@@ -23966,25 +23966,25 @@ frvbf_media_register_not_aligned (current_cpu);
}
{
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);
}
{
- 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);
}
{
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);
}
@@ -24022,10 +24022,10 @@ frvbf_media_register_not_aligned (current_cpu);
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));
@@ -24035,25 +24035,25 @@ frvbf_media_register_not_aligned (current_cpu);
}
{
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);
}
{
- 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);
}
{
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);
}
@@ -24092,10 +24092,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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));
@@ -24105,25 +24105,25 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
}
{
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);
}
{
- 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);
}
{
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);
}
@@ -24163,10 +24163,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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));
@@ -24176,25 +24176,25 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
}
{
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);
}
{
- 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);
}
{
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);
}
@@ -24230,10 +24230,10 @@ frvbf_media_acc_not_aligned (current_cpu);
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;
@@ -24271,12 +24271,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -24287,7 +24287,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -24296,7 +24296,7 @@ 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);
}
@@ -24333,10 +24333,10 @@ frvbf_media_acc_not_aligned (current_cpu);
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;
@@ -24374,12 +24374,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -24390,7 +24390,7 @@ if (LTDI (tmp_tmp, MAKEDI (0, 0))) {
{
{
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);
}
@@ -24399,7 +24399,7 @@ 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);
}
@@ -24436,10 +24436,10 @@ frvbf_media_acc_not_aligned (current_cpu);
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;
@@ -24477,12 +24477,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -24493,7 +24493,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -24502,7 +24502,7 @@ 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);
}
@@ -24539,10 +24539,10 @@ frvbf_media_acc_not_aligned (current_cpu);
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;
@@ -24580,12 +24580,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -24596,7 +24596,7 @@ if (LTDI (tmp_tmp, MAKEDI (0, 0))) {
{
{
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);
}
@@ -24605,7 +24605,7 @@ 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);
}
@@ -24643,10 +24643,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -24684,12 +24684,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -24700,7 +24700,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -24709,7 +24709,7 @@ 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);
}
@@ -24748,10 +24748,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -24789,12 +24789,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -24805,7 +24805,7 @@ if (LTDI (tmp_tmp, MAKEDI (0, 0))) {
{
{
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);
}
@@ -24814,7 +24814,7 @@ 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);
}
@@ -24855,10 +24855,10 @@ frvbf_media_register_not_aligned (current_cpu);
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;
@@ -24896,12 +24896,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -24912,7 +24912,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -24921,7 +24921,7 @@ 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);
}
@@ -24929,19 +24929,19 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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);
}
@@ -24952,7 +24952,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -24961,7 +24961,7 @@ 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);
}
@@ -24970,12 +24970,12 @@ frvbf_media_overflow (current_cpu, 2);
}
{
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);
}
@@ -24986,7 +24986,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -24995,7 +24995,7 @@ 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);
}
@@ -25036,10 +25036,10 @@ frvbf_media_register_not_aligned (current_cpu);
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;
@@ -25077,12 +25077,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -25093,7 +25093,7 @@ if (LTDI (tmp_tmp, MAKEDI (0, 0))) {
{
{
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);
}
@@ -25102,7 +25102,7 @@ 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);
}
@@ -25110,19 +25110,19 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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);
}
@@ -25133,7 +25133,7 @@ if (LTDI (tmp_tmp, MAKEDI (0, 0))) {
{
{
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);
}
@@ -25142,7 +25142,7 @@ 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);
}
@@ -25151,12 +25151,12 @@ frvbf_media_overflow (current_cpu, 2);
}
{
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);
}
@@ -25167,7 +25167,7 @@ if (LTDI (tmp_tmp, MAKEDI (0, 0))) {
{
{
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);
}
@@ -25176,7 +25176,7 @@ 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);
}
@@ -25218,10 +25218,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -25259,12 +25259,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -25275,7 +25275,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -25284,7 +25284,7 @@ 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);
}
@@ -25292,19 +25292,19 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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);
}
@@ -25315,7 +25315,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -25324,7 +25324,7 @@ 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);
}
@@ -25333,12 +25333,12 @@ frvbf_media_overflow (current_cpu, 2);
}
{
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);
}
@@ -25349,7 +25349,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -25358,7 +25358,7 @@ 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);
}
@@ -25401,10 +25401,10 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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;
@@ -25442,12 +25442,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -25458,7 +25458,7 @@ if (LTDI (tmp_tmp, MAKEDI (0, 0))) {
{
{
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);
}
@@ -25467,7 +25467,7 @@ 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);
}
@@ -25475,19 +25475,19 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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);
}
@@ -25498,7 +25498,7 @@ if (LTDI (tmp_tmp, MAKEDI (0, 0))) {
{
{
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);
}
@@ -25507,7 +25507,7 @@ 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);
}
@@ -25516,12 +25516,12 @@ frvbf_media_overflow (current_cpu, 2);
}
{
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);
}
@@ -25532,7 +25532,7 @@ if (LTDI (tmp_tmp, MAKEDI (0, 0))) {
{
{
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);
}
@@ -25541,7 +25541,7 @@ 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);
}
@@ -25583,19 +25583,19 @@ frvbf_media_register_not_aligned (current_cpu);
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);
}
@@ -25606,7 +25606,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -25615,7 +25615,7 @@ 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);
}
@@ -25624,12 +25624,12 @@ frvbf_media_overflow (current_cpu, 2);
}
{
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);
}
@@ -25640,7 +25640,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -25649,7 +25649,7 @@ 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);
}
@@ -25657,10 +25657,10 @@ frvbf_media_overflow (current_cpu, 1);
}
}
{
- 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;
@@ -25698,12 +25698,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -25714,7 +25714,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -25723,7 +25723,7 @@ 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);
}
@@ -25764,19 +25764,19 @@ frvbf_media_register_not_aligned (current_cpu);
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);
}
@@ -25787,7 +25787,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -25796,7 +25796,7 @@ 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);
}
@@ -25805,12 +25805,12 @@ frvbf_media_overflow (current_cpu, 2);
}
{
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);
}
@@ -25821,7 +25821,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -25830,7 +25830,7 @@ 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);
}
@@ -25838,10 +25838,10 @@ frvbf_media_overflow (current_cpu, 1);
}
}
{
- 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;
@@ -25879,12 +25879,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -25895,7 +25895,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -25904,7 +25904,7 @@ 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);
}
@@ -25945,10 +25945,10 @@ frvbf_media_register_not_aligned (current_cpu);
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;
@@ -25986,12 +25986,12 @@ frvbf_media_overflow (current_cpu, 8);
}
{
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);
}
@@ -26002,7 +26002,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -26011,7 +26011,7 @@ 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);
}
@@ -26019,19 +26019,19 @@ frvbf_media_overflow (current_cpu, 4);
}
}
{
- 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);
}
@@ -26042,7 +26042,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -26051,7 +26051,7 @@ 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);
}
@@ -26060,12 +26060,12 @@ frvbf_media_overflow (current_cpu, 2);
}
{
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);
}
@@ -26076,7 +26076,7 @@ if (LTDI (tmp_tmp, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -26085,7 +26085,7 @@ 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);
}
@@ -26120,10 +26120,10 @@ if (frvbf_check_acc_range (current_cpu, FLD (f_ACC40Sk))) {
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;
@@ -26188,10 +26188,10 @@ if (frvbf_check_acc_range (current_cpu, FLD (f_ACC40Sk))) {
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;
@@ -26256,10 +26256,10 @@ if (frvbf_check_acc_range (current_cpu, FLD (f_ACC40Sk))) {
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;
@@ -26324,10 +26324,10 @@ if (frvbf_check_acc_range (current_cpu, FLD (f_ACC40Sk))) {
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;
@@ -26393,10 +26393,10 @@ if (frvbf_check_acc_range (current_cpu, FLD (f_ACC40Sk))) {
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;
@@ -26463,10 +26463,10 @@ if (frvbf_check_acc_range (current_cpu, FLD (f_ACC40Sk))) {
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;
@@ -26533,10 +26533,10 @@ if (frvbf_check_acc_range (current_cpu, FLD (f_ACC40Sk))) {
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;
@@ -26603,10 +26603,10 @@ if (frvbf_check_acc_range (current_cpu, FLD (f_ACC40Sk))) {
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;
@@ -26678,10 +26678,10 @@ frvbf_media_register_not_aligned (current_cpu);
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;
@@ -26721,10 +26721,10 @@ frvbf_media_overflow (current_cpu, 8);
}
}
{
- 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;
@@ -26736,7 +26736,7 @@ if (GTDI (tmp_tmp1, 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);
}
@@ -26747,7 +26747,7 @@ if (LTDI (tmp_tmp1, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -26756,7 +26756,7 @@ 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);
}
@@ -26797,10 +26797,10 @@ frvbf_media_register_not_aligned (current_cpu);
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;
@@ -26840,10 +26840,10 @@ frvbf_media_overflow (current_cpu, 8);
}
}
{
- 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;
@@ -26855,7 +26855,7 @@ if (GTDI (tmp_tmp1, MAKEDI (255, 0xffffffff))) {
{
{
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);
}
@@ -26866,7 +26866,7 @@ if (LTDI (tmp_tmp1, MAKEDI (0, 0))) {
{
{
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);
}
@@ -26875,7 +26875,7 @@ 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);
}
@@ -26916,10 +26916,10 @@ frvbf_media_register_not_aligned (current_cpu);
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;
@@ -26959,10 +26959,10 @@ frvbf_media_overflow (current_cpu, 8);
}
}
{
- 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;
@@ -26974,7 +26974,7 @@ if (GTDI (tmp_tmp1, 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);
}
@@ -26985,7 +26985,7 @@ if (LTDI (tmp_tmp1, MAKEDI (0xffffff80, 0))) {
{
{
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);
}
@@ -26994,7 +26994,7 @@ 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);
}
@@ -27035,10 +27035,10 @@ frvbf_media_register_not_aligned (current_cpu);
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;
@@ -27078,10 +27078,10 @@ frvbf_media_overflow (current_cpu, 8);
}
}
{
- 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;
@@ -27093,7 +27093,7 @@ if (GTDI (tmp_tmp1, MAKEDI (255, 0xffffffff))) {
{
{
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);
}
@@ -27104,7 +27104,7 @@ if (LTDI (tmp_tmp1, MAKEDI (0, 0))) {
{
{
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);
}
@@ -27113,7 +27113,7 @@ 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);
}
@@ -27144,18 +27144,18 @@ SEM_FN_NAME (frvbf,mexpdhw) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
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);
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);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
@@ -27179,19 +27179,19 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
{
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);
}
{
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);
}
@@ -27226,31 +27226,31 @@ frvbf_media_register_not_aligned (current_cpu);
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);
}
{
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);
}
{
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);
}
{
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);
}
@@ -27286,31 +27286,31 @@ if (EQQI (CPU (h_cccr[FLD (f_CCi)]), ORSI (FLD (f_cond), 2))) {
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);
}
{
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);
}
{
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);
}
{
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);
}
@@ -27336,13 +27336,13 @@ SEM_FN_NAME (frvbf,mpackh) (SIM_CPU *current_cpu, SEM_ARG sem_arg)
{
{
- 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);
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);
TRACE_RESULT (current_cpu, abuf, "fr_lo", 'x', opval);
}
}
@@ -27386,28 +27386,28 @@ frvbf_media_register_not_aligned (current_cpu);
}
{
{
- 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);
}
{
- 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);
}
}
{
{
- 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);
}
{
- 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);
}
@@ -27449,26 +27449,26 @@ frvbf_media_register_not_aligned (current_cpu);
}
{
{
- 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
@@ -27510,52 +27510,52 @@ frvbf_media_register_not_aligned (current_cpu);
}
{
{
- 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
}
{
{
- 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
@@ -27595,26 +27595,26 @@ 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
@@ -27655,26 +27655,26 @@ 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
@@ -27715,26 +27715,26 @@ 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
@@ -27775,26 +27775,26 @@ 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
@@ -27835,50 +27835,50 @@ 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
@@ -27919,50 +27919,50 @@ 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}
{
- 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);
}