* cpux.h,decodex.c,semx-switch.c: Regenerate.
1998-12-09 Doug Evans <devans@casey.cygnus.com>
+ * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
+start-sanitize-m32rx
+ * cpux.h,decodex.c,semx-switch.c: Regenerate.
+end-sanitize-m32rx
+
* sim-if.c: Include string.h or strings.h if present.
1998-12-04 Doug Evans <devans@casey.cygnus.com>
if (CPU (h_cond)) {
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (CPU (h_cond)) {
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (EQSI (* FLD (i_src1), * FLD (i_src2))) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 3);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (EQSI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (GESI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (GTSI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (LESI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (LTSI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (NESI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
if (NOTBI (CPU (h_cond))) {
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (NOTBI (CPU (h_cond))) {
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (NESI (* FLD (i_src1), * FLD (i_src2))) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 3);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
vpc = SEM_NEXT_VPC (sem_arg, pc, 2);
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SI opval = FLD (f_uimm24);
+ SI opval = FLD (i_uimm24);
* FLD (i_dr) = opval;
TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval);
}
if (CPU (h_cond)) {
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (CPU (h_cond)) {
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (EQSI (* FLD (i_src1), * FLD (i_src2))) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 3);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (EQSI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (GESI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (GTSI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (LESI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (LTSI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (NESI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
if (NOTBI (CPU (h_cond))) {
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (NOTBI (CPU (h_cond))) {
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (NESI (* FLD (i_src1), * FLD (i_src2))) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 3);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2);
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SI opval = FLD (f_uimm24);
+ SI opval = FLD (i_uimm24);
* FLD (i_dr) = opval;
TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval);
}
if (CPU (h_cond)) {
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (CPU (h_cond)) {
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (EQSI (* FLD (i_src1), * FLD (i_src2))) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 3);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (EQSI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (GESI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (GTSI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (LESI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (LTSI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (NESI (* FLD (i_src2), 0)) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 4);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 4);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (NOTBI (CPU (h_cond))) {
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (NOTBI (CPU (h_cond))) {
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (NESI (* FLD (i_src1), * FLD (i_src2))) {
{
- USI opval = FLD (f_disp16);
+ USI opval = FLD (i_disp16);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 3);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
vpc = SEM_NEXT_VPC (sem_arg, pc, 2);
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 4);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp24);
+ USI opval = FLD (i_disp24);
SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc, SEM_BRANCH_ADDR_CACHE (sem_arg));
written |= (1 << 4);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
vpc = SEM_NEXT_VPC (sem_arg, pc, 4);
{
- SI opval = FLD (f_uimm24);
+ SI opval = FLD (i_uimm24);
* FLD (i_dr) = opval;
TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval);
}
if (CPU (h_cond)) {
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
OPRND (pc) = opval;
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
OPRND (pc) = opval;
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
OPRND (pc) = opval;
written |= (1 << 4);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
if (NOTBI (CPU (h_cond))) {
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
OPRND (pc) = opval;
written |= (1 << 2);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
vpc = SEM_NEXT_VPC (sem_arg, pc, 2);
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
OPRND (pc) = opval;
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);
}
TRACE_RESULT (current_cpu, abuf, "gr-14", 'x', opval);
}
{
- USI opval = FLD (f_disp8);
+ USI opval = FLD (i_disp8);
OPRND (pc) = opval;
written |= (1 << 4);
TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval);