diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-11-12 16:45:32 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-11-12 16:45:32 +0000 |
commit | c46ec85da270994b50ccc5c8de0f1751cf3a0683 (patch) | |
tree | a5941765ceb8c03216c7a82f0a9f92c02b368a39 /sim/fr30 | |
parent | 4fab48b9c48377889af365990e148954c3343287 (diff) | |
download | gdb-c46ec85da270994b50ccc5c8de0f1751cf3a0683.zip gdb-c46ec85da270994b50ccc5c8de0f1751cf3a0683.tar.gz gdb-c46ec85da270994b50ccc5c8de0f1751cf3a0683.tar.bz2 |
2004-11-12 Andrew Cagney <cagney@gnu.org>
* d30v, fr30, mn10200, z8k: Delete directory.
Diffstat (limited to 'sim/fr30')
-rw-r--r-- | sim/fr30/ChangeLog | 440 | ||||
-rw-r--r-- | sim/fr30/Makefile.in | 107 | ||||
-rw-r--r-- | sim/fr30/README | 14 | ||||
-rw-r--r-- | sim/fr30/TODO | 14 | ||||
-rw-r--r-- | sim/fr30/arch.c | 34 | ||||
-rw-r--r-- | sim/fr30/arch.h | 45 | ||||
-rw-r--r-- | sim/fr30/config.in | 162 | ||||
-rw-r--r-- | sim/fr30/configure | 0 | ||||
-rw-r--r-- | sim/fr30/configure.in | 16 | ||||
-rw-r--r-- | sim/fr30/cpu.c | 357 | ||||
-rw-r--r-- | sim/fr30/cpu.h | 890 | ||||
-rw-r--r-- | sim/fr30/cpuall.h | 66 | ||||
-rw-r--r-- | sim/fr30/decode.c | 3453 | ||||
-rw-r--r-- | sim/fr30/decode.h | 127 | ||||
-rw-r--r-- | sim/fr30/devices.c | 98 | ||||
-rw-r--r-- | sim/fr30/fr30-sim.h | 96 | ||||
-rw-r--r-- | sim/fr30/fr30.c | 423 | ||||
-rw-r--r-- | sim/fr30/mloop.in | 236 | ||||
-rw-r--r-- | sim/fr30/model.c | 4003 | ||||
-rw-r--r-- | sim/fr30/sem-switch.c | 5409 | ||||
-rw-r--r-- | sim/fr30/sem.c | 5729 | ||||
-rw-r--r-- | sim/fr30/sim-if.c | 208 | ||||
-rw-r--r-- | sim/fr30/sim-main.h | 70 | ||||
-rw-r--r-- | sim/fr30/tconfig.in | 42 | ||||
-rw-r--r-- | sim/fr30/traps.c | 218 |
25 files changed, 0 insertions, 22257 deletions
diff --git a/sim/fr30/ChangeLog b/sim/fr30/ChangeLog deleted file mode 100644 index f8f4c5e..0000000 --- a/sim/fr30/ChangeLog +++ /dev/null @@ -1,440 +0,0 @@ -2002-07-16 Andrew Cagney <ac131313@redhat.com> - - * Makefile.in: Make file obsolete. - * cpu.c, arch.h, arch.c, cpu.h, decode.h: Ditto. - * decode.c, fr30-sim.h, devices.c, fr30.c: Ditto. - * model.c, sem-switch.c, sim-if.c: Ditto. - * sim-main.h, traps.c, sem.c: Ditto. - * TODO, README: Ditto. - * configure.in: Ditto. - * configure: Regenerate. - -2002-06-16 Andrew Cagney <ac131313@redhat.com> - - * configure: Regenerated to track ../common/aclocal.m4 changes. - -2001-11-14 Dave Brolley <brolley@redhat.com> - - * 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-switch.c: Regenerate. - * sem.c: Regenerate. - -2001-07-05 Ben Elliston <bje@redhat.com> - - * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR). - (stamp-cpu): Likewise. - -2001-03-05 Dave Brolley <brolley@redhat.com> - - * 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-switch.c: Regenerate. - * sem.c: Regenerate. - -2001-01-12 Frank Ch. Eigler <fche@redhat.com> - - * configure: Regenerated with sim_scache fix. - -2000-11-18 Greg McGary <greg@mcgary.org> - - * Makefile.in: remove `@true' commands for rules that have - $(CGEN_MAINT) as a prerequisite. - -2000-10-06 Dave Brolley <brolley@redhat.com> - - * sem.c: Regenerated. - * sem-switch.c: Regenerated. - -2000-08-28 Dave Brolley <brolley@redhat.com> - - * cpu.h: Regenerated. - * decode.c: Regenerated. - -2000-08-21 Frank Ch. Eigler <fche@redhat.com> - - * Makefile.in (fr30-clean): Add stamp-arch, stamp-cpu. - (stamp-arch, stamp-cpu): New targets. - -Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com> - - * configure: Regenerated to track ../common/aclocal.m4 changes. - -2000-03-30 Dave Brolley <brolley@redhat.com> - - * configure: Regenerated. - -1999-10-04 Doug Evans <devans@casey.cygnus.com> - - * sem.c,sem-switch.c: Rebuild. - * traps.c (sim_engine_invalid_insn): New arg `vpc'. Change type of - result to SEM_PC. Return vpc. - -Wed Sep 29 14:45:32 1999 Dave Brolley <brolley@cygnus.com> - - * traps.c (sim_engine_invalid_insn): Return PC. - -Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> - - * configure: Regenerated to track ../common/aclocal.m4 changes. - -1999-08-31 Doug Evans <devans@casey.cygnus.com> - - * sem.c: Rebuild. - -1999-08-09 Doug Evans <devans@casey.cygnus.com> - - * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild. - -1999-08-04 Doug Evans <devans@casey.cygnus.com> - - * cpu.h,cpuall.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild. - -1999-07-06 Doug Evans <devans@casey.cygnus.com> - - * cpu.h,decode.h,model.c,sem-switch.c,sem.c: Rebuild. - -1999-05-08 Felix Lee <flee@cygnus.com> - - * configure: Regenerated to track ../common/aclocal.m4 changes. - -Fri Apr 16 16:50:31 1999 Doug Evans <devans@charmed.cygnus.com> - - * devices.c (device_io_read_buffer): New arg `sd'. - (device_io_write_buffer): New arg `sd'. - (device_error): Give proper arg spec. - -1999-04-10 Doug Evans <devans@casey.cygnus.com> - - * cpu.h,sem-switch.c,sem.c: Rebuild. - -1999-03-27 Doug Evans <devans@casey.cygnus.com> - - * decode.c: Rebuild. - -1999-03-22 Doug Evans <devans@casey.cygnus.com> - - * arch.c,arch.h,model.c: Rebuild. - * fr30.c (fr30bf_fetch_register): Replace calls to a_fr30_h_* with - calls to fr30bf_h_*. - (fr30bf_store_register): Ditto. - * traps.c (setup_int): Ditto. - * sim-if.c (sim_open): Update call to fr30_cgen_cpu_open. - -Mon Mar 22 13:13:05 1999 Dave Brolley <brolley@cygnus.com> - - * configure.in: Use SIM_AC_OPTION_ALIGNMENT(FORCED_ALIGNMENT). - * configure: Regenerate. - * cpu.h: Regenerate. - -1999-03-11 Doug Evans <devans@casey.cygnus.com> - - * arch.c,arch.h,cpu.c,cpu.h: Rebuild. - * fr30-sim.h (GET_H_SBIT,SET_H_SBIT): Delete. - (GET_H_CCR,SET_H_CCR,GET_H_SCR,SET_H_SCR,GET_H_ILM,SET_H_ILM): Delete. - (GET_H_PS,SET_H_PS,GET_H_DR,SET_H_DR): Delete. - * sim-if.c (sim_open): Update call to fr30_cgen_cpu_open. - -1999-02-25 Doug Evans <devans@casey.cygnus.com> - - * cpu.h: Rebuild. - -1999-02-09 Doug Evans <devans@casey.cygnus.com> - - * Makefile.in (SIM_EXTRA_DEPS): Add fr30-desc.h, delete cpu-opc.h. - * configure.in (sim_link_files,sim_link_links): Delete. - * configure: Rebuild. - * decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild. - * fr30.c (fr30bf_model_fr30_1_u_cti): CGEN_INSN_ATTR renamed to - CGEN_INSN_ATTR_VALUE. - * mloop.in (extract-pbb): Ditto. Use idesc->length to get insn length. - * sim-if.c (sim_open): fr30_cgen_cpu_open renamed from - fr30_cgen_opcode_open. Set disassembler. - (sim_close): fr30_cgen_cpu_open renamed from fr30_cgen_opcode_open. - * sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include - fr30-desc.h,fr30-opc.h,fr30-sim.h. - -1999-01-27 Doug Evans <devans@casey.cygnus.com> - - * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild. - -1999-01-15 Doug Evans <devans@casey.cygnus.com> - - * cpu.h,decode.h,model.c: Regenerate. - * fr30.c (fr30bf_model_insn_before): Clear load_regs_pending. - (fr30bf_model_insn_after): Copy load_regs_pending to load_regs. - (fr30bf_model_fr30_1_u_exec): Check for load stalls. - (fr30bf_model_fr30_1_u_{cti,load,store}): Ditto. - -1999-01-14 Doug Evans <devans@casey.cygnus.com> - - * arch.c,arch.h,cpuall.h: Regenerate. - * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate. - * devices.c (device_io_write_buffer): Remove some m32r cruft. - * fr30-sim.h (FR30_MISC_PROFILE): Delete, plus supporting macros. - (EIT_*,MSPR_*,MLCR_*,MPMR_*): Delete, m32r cruft. - * fr30.c (fr30bf_model_insn_after): Update cycle counts. - (check_load_stall): New function. - (fr30bf_model_fr30_1_u_exec): Update argument list. - (fr30bf_model_fr30_1_u_{cti,load,store,ldm,stm}): New functions. - * sim-if.c (sim_open): Comment out memory mapped device allocation. - Delete FR30_MISC_PROFILE handling. - (print_fr30_misc_cpu): Delete. - * sim-main.h (_sim_cpu): Delete member fr30_misc_profile. - * traps.c (sim_engine_invalid_insn): PCADDR->IADDR. - -1999-01-11 Doug Evans <devans@casey.cygnus.com> - - * Makefile.in (fr30-clean): rm eng.h. - - * sim-main.h: Delete inclusion of ansidecl.h. - Include sim-basics.h before cgen-types.h. - Delete inclusion of cgen-scache.h,cgen-cpu.h,cgen-trace.h,cpuall.h. - * cpu.h,sem-switch.c,sem.c: Regenerate. - -1999-01-05 Doug Evans <devans@casey.cygnus.com> - - * Makefile.in (MAIN_INCLUDE_DEPS): Delete. - (INCLUDE_DEPS,OPS_INCLUDE_DEPS): Delete. - (sim-if.o,arch.o,devices.o): Use SIM_MAIN_DEPS. - (FR30BF_INCLUDE_DEPS): Use CGEN_MAIN_CPU_DEPS. - (mloop.o,cpu.o,decode.o,sem.o,model.o): Simplify dependencies. - * cpu.c,cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate. - * fr30-sim.h (fr30bf_h_sbit_[gs]et_handler): Declare. - ([GS]ET_H_SBIT): Define. - (fr30bf_h_ccr_[gs]et_handler): Declare. - ([GS]ET_H_CCR): Define. - (fr30bf_h_scr_[gs]et_handler): Declare. - ([GS]ET_H_SCR): Define. - (fr30bf_h_ilm_[gs]et_handler): Declare. - ([GS]ET_H_ILM): Define. - (fr30bf_h_ps_[gs]et_handler): Declare. - ([GS]ET_H_PS): Define. - (fr30bf_h_dr_[gs]et_handler): Declare. - ([GS]ET_H_DR): Define. - * fr30.c (all register access fns): Rename to ..._handler. - (fr30bf_h_*_get_handler,fr30bf_h_*_set_handler): Rewrite to use - CPU or GET_H_FOO/SET_H_FOO access macros as appropriate. - * sim-if.c (sim_open): Model probing code moved to sim-model.c. - -Fri Dec 18 17:09:34 1998 Dave Brolley <brolley@cygnus.com> - - * fr30.c (fr30bf_store_register): Call a_fr30_h_dr_set for - dedicated registers. - -Thu Dec 17 17:17:48 1998 Dave Brolley <brolley@cygnus.com> - - * sem-switch.c,sem.c: Regenerate. - -Tue Dec 15 17:39:59 1998 Dave Brolley <brolley@cygnus.com> - - * traps.c (setup_int): Correct calls to SETMEMSI. - (fr30_int): Must calculate new pc after saving old one. - * fr30.c (fr30bf_h_sbit_get): New function. - (fr30bf_h_sbit_set): New function. - (fr30bf_h_ccr_set): Use fr30bf_h_sbit_set and move stack switching - logic to that function. - * cpu.[ch],decode.c,model.c,sem-switch.c,sem.c: Regenerate. - -1998-12-14 Doug Evans <devans@casey.cygnus.com> - - * configure.in: --enable-cgen-maint moved to common/aclocal.m4. - * configure: Regenerate. - - * sem-switch.c,sem.c: Regenerate. - - * traps.c (setup_int): Use enums for register numbers. - (fr30_int): Ditto. - -1998-12-14 Dave Brolley <brolley@cygnus.com> - - * cpu.h,decode.[ch],model.c,sem-switch.c,sem.c: Regenerate. - -Thu Dec 10 18:43:13 1998 Dave Brolley <brolley@cygnus.com> - - * arch.[ch],cpu.[ch],decode.c,model.c,sem-switch.c,sem.c: Regenerate. - * fr30.c (fr30bf_h_scr_get): Implement as separate bits. - (fr30bf_h_scr_set): Implement as separate bits. - -Wed Dec 9 13:25:37 1998 Doug Evans <devans@canuck.cygnus.com> - - * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate. - -Tue Dec 8 13:15:23 1998 Dave Brolley <brolley@cygnus.com> - - * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate. - -Mon Dec 7 14:35:23 1998 Dave Brolley <brolley@cygnus.com> - - * traps.c (fr30_inte): New function. - * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate. - -1998-12-05 Doug Evans <devans@casey.cygnus.com> - - * cpu.h,cpuall.h,decode.c,sem-switch.c,sem.c: Regenerate. - * mloop.in (extract): Make static inline. Rewrite. - (execute): Check ARGBUF_PROFILE_P before profiling. - Update calls to TRACE_INSN_INIT,TRACE_INSN_FINI. - -Fri Dec 4 16:18:25 1998 Doug Evans <devans@canuck.cygnus.com> - - * sem.c,sem-switch.c: Regenerate. - * cpu.h,decode.c: Regenerate. - -Fri Dec 4 17:09:27 1998 Dave Brolley <brolley@cygnus.com> - - * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate. - -Fri Dec 4 00:22:43 1998 Doug Evans <devans@canuck.cygnus.com> - - * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate. - -Thu Dec 3 17:33:16 1998 Dave Brolley <brolley@cygnus.com> - - * fr30.c (fr30bf_h_ccr_get): New function. - (fr30bf_h_ccr_set): New function. - (fr30bf_h_ps_get): Use ccr access function. - (fr30bf_h_ps_set): Use ccr access function. - (fr30bf_h_scr_get): New function. - (fr30bf_h_scr_set): New function. - (fr30bf_h_ilm_get): New function. - (fr30bf_h_ilm_set): New function - (fr30bf_h_ps_get): Implement src and ilm. - (fr30bf_h_ps_set): Implement src and ilm. - - * arch.c,arch.h,cpu.h,decode.c,decode.h,model.c, - sem-switch.c,sem.c: Regenerate. - -Thu Dec 3 00:15:11 1998 Doug Evans <devans@canuck.cygnus.com> - - * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate. - -1998-11-30 Doug Evans <devans@casey.cygnus.com> - - * mloop.in (extract-pbb): Add delay slot support. - * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate. - -Thu Nov 26 11:28:30 1998 Dave Brolley <brolley@cygnus.com> - - * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerated. - -Mon Nov 23 18:30:36 1998 Dave Brolley <brolley@cygnus.com> - - * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerated. - -1998-11-20 Doug Evans <devans@tobor.to.cygnus.com> - - * fr30-sim.h (*-REGNUM): Sync up with gdb. - * fr30.c (decode_gdb_dr_regnum): New function. - (fr30bf_fetch_register): Implement. - (fr30bf_store_register): Ditto. - (fr30bf_h_ps_get,fr30bf_h_ps_set): Ditto. - (fr30bf_h_dr_get,fr30bf_h_dr_set): New functions. - * sem-switch.c,sem.c: Rebuild. - * traps.c (setup_int): New function - (fr30_int): Handle all int insn processing here. - Don't save ps,pc if breakpoint trap. - * cpu.c,cpu.h,decode.c,sem-switch.c,sem.c: Regenerate. - -Thu Nov 19 16:05:09 1998 Dave Brolley <brolley@cygnus.com> - - * traps.c (fr30_int): Correct register usage. - * arch.c: Regenerated. - * arch.h: Regenerated. - * cpu.c: Regenerated. - * cpu.h: Regenerated. - * decode.c: Regenerated. - * decode.h: Regenerated. - * model.c: Regenerated. - * sem-switch.c: Regenerated. - * sem.c: Regenerated. - -Wed Nov 18 21:39:37 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-sim.h (TRAP_SYSCALL, TRAP_BREAKPOINT): Redefine for fr30. - * fr30.c (fr30bf_h_ps_get): New function. - (fr30bf_h_ps_set): New function. - * mloop.in: Set up fast-pbb model for fr30. - * traps.c (fr30_int): New function. - * arch.c: Regenerated. - * arch.h: Regenerated. - * cpu.c: Regenerated. - * cpu.h: Regenerated. - * decode.c: Regenerated. - * model.c: Regenerated. - * sem-switch.c: Regenerated. - * sem.c: Regenerated. - -1998-11-18 Doug Evans <devans@casey.cygnus.com> - - * Makefile.in (FR30_OBJS): Delete extract.o. - (FR30BF_INCLUDE_DEPS): Add cgen-engine.h. - (extract.o): Delete rule for. - * mloop.in: Rewrite. - * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild. - -Wed Nov 18 11:31:21 1998 Dave Brolley <brolley@cygnus.com> - - * sem-switch.c: Regenerated. - * sem.c: Regenerated. - -Mon Nov 16 19:23:44 1998 Dave Brolley <brolley@cygnus.com> - - * arch.c: Regenerated. - * arch.h: Regenerated. - * cpu.c: Regenerated. - * cpu.h: Regenerated. - * decode.c: Regenerated. - * decode.h: Regenerated. - * extract.c: Regenerated. - * model.c: Regenerated. - * sem-switch.c: Regenerated. - * sem.c: Regenerated. - -Thu Nov 12 19:27:50 1998 Dave Brolley <brolley@cygnus.com> - - * arch.c: Regenerated. - * arch.h: Regenerated. - * cpu.c: Regenerated. - * cpu.h: Regenerated. - * decode.c: Regenerated. - * decode.h: Regenerated. - * extract.c: Regenerated. - * model.c: Regenerated. - * sem-switch.c: Regenerated. - * sem.c: Regenerated. - * fr30.c: Get rid of unused functions. - -Mon Nov 9 18:25:47 1998 Dave Brolley <brolley@cygnus.com> - - * arch.c: Regenerated. - * arch.h: Regenerated. - * cpu.c: Regenerated. - * cpu.h: Regenerated. - * decode.c: Regenerated. - * decode.h: Regenerated. - * extract.c: Regenerated. - * model.c: Regenerated. - * sem-switch.c: Regenerated. - * sem.c: Regenerated. - * fr30.c: Get rid of m32r stuff. Flesh out fr30 stuff. - -Thu Nov 5 15:26:22 1998 Dave Brolley <brolley@cygnus.com> - - * cpu.h: Regenerated. - -Tue Oct 27 15:39:48 1996 Dave Brolley <brolley@cygnus.com> - - * Directory created. diff --git a/sim/fr30/Makefile.in b/sim/fr30/Makefile.in deleted file mode 100644 index 43d70e2..0000000 --- a/sim/fr30/Makefile.in +++ /dev/null @@ -1,107 +0,0 @@ -# OBSOLETE # Makefile template for Configure for the fr30 simulator -# OBSOLETE # Copyright (C) 1998, 2000 Free Software Foundation, Inc. -# OBSOLETE # Contributed by Cygnus Support. -# OBSOLETE # -# OBSOLETE # This program is free software; you can redistribute it and/or modify -# OBSOLETE # it under the terms of the GNU General Public License as published by -# OBSOLETE # the Free Software Foundation; either version 2 of the License, or -# OBSOLETE # (at your option) any later version. -# OBSOLETE # -# OBSOLETE # This program is distributed in the hope that it will be useful, -# OBSOLETE # but WITHOUT ANY WARRANTY; without even the implied warranty of -# OBSOLETE # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# OBSOLETE # GNU General Public License for more details. -# OBSOLETE # -# OBSOLETE # You should have received a copy of the GNU General Public License along -# OBSOLETE # with this program; if not, write to the Free Software Foundation, Inc., -# OBSOLETE # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# OBSOLETE -# OBSOLETE ## COMMON_PRE_CONFIG_FRAG -# OBSOLETE -# OBSOLETE FR30_OBJS = fr30.o cpu.o decode.o sem.o model.o arch.o mloop.o -# OBSOLETE -# OBSOLETE CONFIG_DEVICES = dv-sockser.o -# OBSOLETE CONFIG_DEVICES = -# OBSOLETE -# OBSOLETE SIM_OBJS = \ -# OBSOLETE $(SIM_NEW_COMMON_OBJS) \ -# OBSOLETE sim-cpu.o \ -# OBSOLETE sim-hload.o \ -# OBSOLETE sim-hrw.o \ -# OBSOLETE sim-model.o \ -# OBSOLETE sim-reg.o \ -# OBSOLETE cgen-utils.o cgen-trace.o cgen-scache.o \ -# OBSOLETE cgen-run.o sim-reason.o sim-engine.o sim-stop.o \ -# OBSOLETE sim-if.o \ -# OBSOLETE $(FR30_OBJS) \ -# OBSOLETE traps.o devices.o \ -# OBSOLETE $(CONFIG_DEVICES) -# OBSOLETE -# OBSOLETE # Extra headers included by sim-main.h. -# OBSOLETE SIM_EXTRA_DEPS = \ -# OBSOLETE $(CGEN_INCLUDE_DEPS) \ -# OBSOLETE arch.h cpuall.h fr30-sim.h $(srcdir)/../../opcodes/fr30-desc.h -# OBSOLETE -# OBSOLETE SIM_EXTRA_CFLAGS = -# OBSOLETE -# OBSOLETE SIM_RUN_OBJS = nrun.o -# OBSOLETE SIM_EXTRA_CLEAN = fr30-clean -# OBSOLETE -# OBSOLETE # This selects the fr30 newlib/libgloss syscall definitions. -# OBSOLETE NL_TARGET = -DNL_TARGET_fr30 -# OBSOLETE -# OBSOLETE ## COMMON_POST_CONFIG_FRAG -# OBSOLETE -# OBSOLETE arch = fr30 -# OBSOLETE -# OBSOLETE sim-if.o: sim-if.c $(SIM_MAIN_DEPS) $(srcdir)/../common/sim-core.h -# OBSOLETE -# OBSOLETE arch.o: arch.c $(SIM_MAIN_DEPS) -# OBSOLETE -# OBSOLETE devices.o: devices.c $(SIM_MAIN_DEPS) -# OBSOLETE -# OBSOLETE # FR30 objs -# OBSOLETE -# OBSOLETE FR30BF_INCLUDE_DEPS = \ -# OBSOLETE $(CGEN_MAIN_CPU_DEPS) \ -# OBSOLETE cpu.h decode.h eng.h -# OBSOLETE -# OBSOLETE fr30.o: fr30.c $(FR30BF_INCLUDE_DEPS) -# OBSOLETE -# OBSOLETE # FIXME: Use of `mono' is wip. -# OBSOLETE mloop.c eng.h: stamp-mloop -# OBSOLETE stamp-mloop: $(srcdir)/../common/genmloop.sh mloop.in Makefile -# OBSOLETE $(SHELL) $(srccom)/genmloop.sh \ -# OBSOLETE -mono -fast -pbb -switch sem-switch.c \ -# OBSOLETE -cpu fr30bf -infile $(srcdir)/mloop.in -# OBSOLETE $(SHELL) $(srcroot)/move-if-change eng.hin eng.h -# OBSOLETE $(SHELL) $(srcroot)/move-if-change mloop.cin mloop.c -# OBSOLETE touch stamp-mloop -# OBSOLETE mloop.o: mloop.c sem-switch.c $(FR30BF_INCLUDE_DEPS) -# OBSOLETE -# OBSOLETE cpu.o: cpu.c $(FR30BF_INCLUDE_DEPS) -# OBSOLETE decode.o: decode.c $(FR30BF_INCLUDE_DEPS) -# OBSOLETE sem.o: sem.c $(FR30BF_INCLUDE_DEPS) -# OBSOLETE model.o: model.c $(FR30BF_INCLUDE_DEPS) -# OBSOLETE -# OBSOLETE fr30-clean: -# OBSOLETE rm -f mloop.c eng.h stamp-mloop -# OBSOLETE rm -f tmp-* -# OBSOLETE rm -f stamp-arch stamp-cpu -# OBSOLETE -# OBSOLETE # cgen support, enable with --enable-cgen-maint -# OBSOLETE CGEN_MAINT = ; @true -# OBSOLETE # The following line is commented in or out depending upon --enable-cgen-maint. -# OBSOLETE @CGEN_MAINT@CGEN_MAINT = -# OBSOLETE -# OBSOLETE stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(CGEN_CPU_DIR)/fr30.cpu -# OBSOLETE $(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=all \ -# OBSOLETE FLAGS="with-scache with-profile=fn" -# OBSOLETE touch stamp-arch -# OBSOLETE arch.h arch.c cpuall.h: $(CGEN_MAINT) stamp-arch -# OBSOLETE -# OBSOLETE stamp-cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CGEN_CPU_DIR)/fr30.cpu -# OBSOLETE $(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \ -# OBSOLETE cpu=fr30bf mach=fr30 SUFFIX= FLAGS="with-scache with-profile=fn" EXTRAFILES="$(CGEN_CPU_SEM) $(CGEN_CPU_SEMSW)" -# OBSOLETE touch stamp-cpu -# OBSOLETE cpu.h sem.c sem-switch.c model.c decode.c decode.h: $(CGEN_MAINT) stamp-cpu diff --git a/sim/fr30/README b/sim/fr30/README deleted file mode 100644 index da607ec..0000000 --- a/sim/fr30/README +++ /dev/null @@ -1,14 +0,0 @@ -OBSOLETE This is the fr30 simulator directory. -OBSOLETE -OBSOLETE It is still work-in-progress. The current sources are reasonably -OBSOLETE well tested and lots of features are in. However, there's lots -OBSOLETE more yet to come. -OBSOLETE -OBSOLETE There are lots of machine generated files in the source directory! -OBSOLETE They are only generated if you configure with --enable-cgen-maint, -OBSOLETE similar in behaviour to Makefile.in, configure under automake/autoconf. -OBSOLETE -OBSOLETE For details on the generator, see ../../cgen. -OBSOLETE -OBSOLETE devo/cgen isn't part of the comp-tools module yet. -OBSOLETE You'll need to check it out manually (also akin to automake/autoconf). diff --git a/sim/fr30/TODO b/sim/fr30/TODO deleted file mode 100644 index da9103b..0000000 --- a/sim/fr30/TODO +++ /dev/null @@ -1,14 +0,0 @@ -OBSOLETE m32r-inherited stuff? -OBSOLETE ---------------------- -OBSOLETE - header file dependencies revisit -OBSOLETE - hooks cleanup -OBSOLETE - testsuites -OBSOLETE - FIXME's -OBSOLETE -OBSOLETE -OBSOLETE m32r stuff? -OBSOLETE ---------------------- -OBSOLETE - memory accesses still test if profiling is on even in fast mode -OBSOLETE - have semantic code use G/SET_H_FOO if not default [incl fun-access] -OBSOLETE - have G/SET_H_FOO macros call function if fun-access -OBSOLETE - --> can always use G/S_H_FOO macros diff --git a/sim/fr30/arch.c b/sim/fr30/arch.c deleted file mode 100644 index 4f1be2e..0000000 --- a/sim/fr30/arch.c +++ /dev/null @@ -1,34 +0,0 @@ -// OBSOLETE /* Simulator support for fr30. -// OBSOLETE -// OBSOLETE THIS FILE IS MACHINE GENERATED WITH CGEN. -// OBSOLETE -// OBSOLETE Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// OBSOLETE -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #include "sim-main.h" -// OBSOLETE #include "bfd.h" -// OBSOLETE -// OBSOLETE const MACH *sim_machs[] = -// OBSOLETE { -// OBSOLETE #ifdef HAVE_CPU_FR30BF -// OBSOLETE & fr30_mach, -// OBSOLETE #endif -// OBSOLETE 0 -// OBSOLETE }; diff --git a/sim/fr30/arch.h b/sim/fr30/arch.h deleted file mode 100644 index 047814a..0000000 --- a/sim/fr30/arch.h +++ /dev/null @@ -1,45 +0,0 @@ -// OBSOLETE /* Simulator header for fr30. -// OBSOLETE -// OBSOLETE THIS FILE IS MACHINE GENERATED WITH CGEN. -// OBSOLETE -// OBSOLETE Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// OBSOLETE -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #ifndef FR30_ARCH_H -// OBSOLETE #define FR30_ARCH_H -// OBSOLETE -// OBSOLETE #define TARGET_BIG_ENDIAN 1 -// OBSOLETE -// OBSOLETE /* Enum declaration for model types. */ -// OBSOLETE typedef enum model_type { -// OBSOLETE MODEL_FR30_1, MODEL_MAX -// OBSOLETE } MODEL_TYPE; -// OBSOLETE -// OBSOLETE #define MAX_MODELS ((int) MODEL_MAX) -// OBSOLETE -// OBSOLETE /* Enum declaration for unit types. */ -// OBSOLETE typedef enum unit_type { -// OBSOLETE UNIT_NONE, UNIT_FR30_1_U_STM, UNIT_FR30_1_U_LDM, UNIT_FR30_1_U_STORE -// OBSOLETE , UNIT_FR30_1_U_LOAD, UNIT_FR30_1_U_CTI, UNIT_FR30_1_U_EXEC, UNIT_MAX -// OBSOLETE } UNIT_TYPE; -// OBSOLETE -// OBSOLETE #define MAX_UNITS (3) -// OBSOLETE -// OBSOLETE #endif /* FR30_ARCH_H */ diff --git a/sim/fr30/config.in b/sim/fr30/config.in deleted file mode 100644 index 9723b86..0000000 --- a/sim/fr30/config.in +++ /dev/null @@ -1,162 +0,0 @@ -/* config.in. Generated automatically from configure.in by autoheader. */ - -/* Define if using alloca.c. */ -#undef C_ALLOCA - -/* Define to empty if the keyword does not work. */ -#undef const - -/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. - This function is required for alloca.c support on those systems. */ -#undef CRAY_STACKSEG_END - -/* Define if you have alloca, as a function or macro. */ -#undef HAVE_ALLOCA - -/* Define if you have <alloca.h> and it should be used (not on Ultrix). */ -#undef HAVE_ALLOCA_H - -/* Define if you have a working `mmap' system call. */ -#undef HAVE_MMAP - -/* Define as __inline if that's what the C compiler calls it. */ -#undef inline - -/* Define to `long' if <sys/types.h> doesn't define. */ -#undef off_t - -/* Define if you need to in order for stat and other things to work. */ -#undef _POSIX_SOURCE - -/* Define as the return type of signal handlers (int or void). */ -#undef RETSIGTYPE - -/* Define to `unsigned' if <sys/types.h> doesn't define. */ -#undef size_t - -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at run-time. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown - */ -#undef STACK_DIRECTION - -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define if your processor stores words with the most significant - byte first (like Motorola and SPARC, unlike Intel and VAX). */ -#undef WORDS_BIGENDIAN - -/* Define to 1 if NLS is requested. */ -#undef ENABLE_NLS - -/* Define as 1 if you have gettext and don't want to use GNU gettext. */ -#undef HAVE_GETTEXT - -/* Define as 1 if you have the stpcpy function. */ -#undef HAVE_STPCPY - -/* Define if your locale.h file contains LC_MESSAGES. */ -#undef HAVE_LC_MESSAGES - -/* Define if you have the __argz_count function. */ -#undef HAVE___ARGZ_COUNT - -/* Define if you have the __argz_next function. */ -#undef HAVE___ARGZ_NEXT - -/* Define if you have the __argz_stringify function. */ -#undef HAVE___ARGZ_STRINGIFY - -/* Define if you have the __setfpucw function. */ -#undef HAVE___SETFPUCW - -/* Define if you have the dcgettext function. */ -#undef HAVE_DCGETTEXT - -/* Define if you have the getcwd function. */ -#undef HAVE_GETCWD - -/* Define if you have the getpagesize function. */ -#undef HAVE_GETPAGESIZE - -/* Define if you have the getrusage function. */ -#undef HAVE_GETRUSAGE - -/* Define if you have the munmap function. */ -#undef HAVE_MUNMAP - -/* Define if you have the putenv function. */ -#undef HAVE_PUTENV - -/* Define if you have the setenv function. */ -#undef HAVE_SETENV - -/* Define if you have the setlocale function. */ -#undef HAVE_SETLOCALE - -/* Define if you have the sigaction function. */ -#undef HAVE_SIGACTION - -/* Define if you have the stpcpy function. */ -#undef HAVE_STPCPY - -/* Define if you have the strcasecmp function. */ -#undef HAVE_STRCASECMP - -/* Define if you have the strchr function. */ -#undef HAVE_STRCHR - -/* Define if you have the time function. */ -#undef HAVE_TIME - -/* Define if you have the <argz.h> header file. */ -#undef HAVE_ARGZ_H - -/* Define if you have the <fcntl.h> header file. */ -#undef HAVE_FCNTL_H - -/* Define if you have the <fpu_control.h> header file. */ -#undef HAVE_FPU_CONTROL_H - -/* Define if you have the <limits.h> header file. */ -#undef HAVE_LIMITS_H - -/* Define if you have the <locale.h> header file. */ -#undef HAVE_LOCALE_H - -/* Define if you have the <malloc.h> header file. */ -#undef HAVE_MALLOC_H - -/* Define if you have the <nl_types.h> header file. */ -#undef HAVE_NL_TYPES_H - -/* Define if you have the <stdlib.h> header file. */ -#undef HAVE_STDLIB_H - -/* Define if you have the <string.h> header file. */ -#undef HAVE_STRING_H - -/* Define if you have the <strings.h> header file. */ -#undef HAVE_STRINGS_H - -/* Define if you have the <sys/param.h> header file. */ -#undef HAVE_SYS_PARAM_H - -/* Define if you have the <sys/resource.h> header file. */ -#undef HAVE_SYS_RESOURCE_H - -/* Define if you have the <sys/time.h> header file. */ -#undef HAVE_SYS_TIME_H - -/* Define if you have the <time.h> header file. */ -#undef HAVE_TIME_H - -/* Define if you have the <unistd.h> header file. */ -#undef HAVE_UNISTD_H - -/* Define if you have the <values.h> header file. */ -#undef HAVE_VALUES_H diff --git a/sim/fr30/configure b/sim/fr30/configure deleted file mode 100644 index e69de29..0000000 --- a/sim/fr30/configure +++ /dev/null diff --git a/sim/fr30/configure.in b/sim/fr30/configure.in deleted file mode 100644 index db5703b..0000000 --- a/sim/fr30/configure.in +++ /dev/null @@ -1,16 +0,0 @@ -dnl OBSOLETE dnl Process this file with autoconf to produce a configure script. -dnl OBSOLETE sinclude(../common/aclocal.m4) -dnl OBSOLETE AC_PREREQ(2.5)dnl -dnl OBSOLETE AC_INIT(Makefile.in) -dnl OBSOLETE -dnl OBSOLETE SIM_AC_COMMON -dnl OBSOLETE -dnl OBSOLETE SIM_AC_OPTION_ENDIAN(BIG_ENDIAN) -dnl OBSOLETE SIM_AC_OPTION_ALIGNMENT(FORCED_ALIGNMENT) -dnl OBSOLETE SIM_AC_OPTION_HOSTENDIAN -dnl OBSOLETE SIM_AC_OPTION_SCACHE(16384) -dnl OBSOLETE SIM_AC_OPTION_DEFAULT_MODEL(fr30-1) -dnl OBSOLETE SIM_AC_OPTION_ENVIRONMENT -dnl OBSOLETE SIM_AC_OPTION_CGEN_MAINT -dnl OBSOLETE -dnl OBSOLETE SIM_AC_OUTPUT diff --git a/sim/fr30/cpu.c b/sim/fr30/cpu.c deleted file mode 100644 index 22cb809..0000000 --- a/sim/fr30/cpu.c +++ /dev/null @@ -1,357 +0,0 @@ -// OBSOLETE /* Misc. support for CPU family fr30bf. -// OBSOLETE -// OBSOLETE THIS FILE IS MACHINE GENERATED WITH CGEN. -// OBSOLETE -// OBSOLETE Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// OBSOLETE -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #define WANT_CPU fr30bf -// OBSOLETE #define WANT_CPU_FR30BF -// OBSOLETE -// OBSOLETE #include "sim-main.h" -// OBSOLETE #include "cgen-ops.h" -// OBSOLETE -// OBSOLETE /* Get the value of h-pc. */ -// OBSOLETE -// OBSOLETE USI -// OBSOLETE fr30bf_h_pc_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_pc); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-pc. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_pc_set (SIM_CPU *current_cpu, USI newval) -// OBSOLETE { -// OBSOLETE CPU (h_pc) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-gr. */ -// OBSOLETE -// OBSOLETE SI -// OBSOLETE fr30bf_h_gr_get (SIM_CPU *current_cpu, UINT regno) -// OBSOLETE { -// OBSOLETE return CPU (h_gr[regno]); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-gr. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_gr_set (SIM_CPU *current_cpu, UINT regno, SI newval) -// OBSOLETE { -// OBSOLETE CPU (h_gr[regno]) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-cr. */ -// OBSOLETE -// OBSOLETE SI -// OBSOLETE fr30bf_h_cr_get (SIM_CPU *current_cpu, UINT regno) -// OBSOLETE { -// OBSOLETE return CPU (h_cr[regno]); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-cr. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_cr_set (SIM_CPU *current_cpu, UINT regno, SI newval) -// OBSOLETE { -// OBSOLETE CPU (h_cr[regno]) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-dr. */ -// OBSOLETE -// OBSOLETE SI -// OBSOLETE fr30bf_h_dr_get (SIM_CPU *current_cpu, UINT regno) -// OBSOLETE { -// OBSOLETE return GET_H_DR (regno); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-dr. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_dr_set (SIM_CPU *current_cpu, UINT regno, SI newval) -// OBSOLETE { -// OBSOLETE SET_H_DR (regno, newval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-ps. */ -// OBSOLETE -// OBSOLETE USI -// OBSOLETE fr30bf_h_ps_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return GET_H_PS (); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-ps. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_ps_set (SIM_CPU *current_cpu, USI newval) -// OBSOLETE { -// OBSOLETE SET_H_PS (newval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-r13. */ -// OBSOLETE -// OBSOLETE SI -// OBSOLETE fr30bf_h_r13_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_r13); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-r13. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_r13_set (SIM_CPU *current_cpu, SI newval) -// OBSOLETE { -// OBSOLETE CPU (h_r13) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-r14. */ -// OBSOLETE -// OBSOLETE SI -// OBSOLETE fr30bf_h_r14_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_r14); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-r14. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_r14_set (SIM_CPU *current_cpu, SI newval) -// OBSOLETE { -// OBSOLETE CPU (h_r14) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-r15. */ -// OBSOLETE -// OBSOLETE SI -// OBSOLETE fr30bf_h_r15_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_r15); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-r15. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_r15_set (SIM_CPU *current_cpu, SI newval) -// OBSOLETE { -// OBSOLETE CPU (h_r15) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-nbit. */ -// OBSOLETE -// OBSOLETE BI -// OBSOLETE fr30bf_h_nbit_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_nbit); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-nbit. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_nbit_set (SIM_CPU *current_cpu, BI newval) -// OBSOLETE { -// OBSOLETE CPU (h_nbit) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-zbit. */ -// OBSOLETE -// OBSOLETE BI -// OBSOLETE fr30bf_h_zbit_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_zbit); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-zbit. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_zbit_set (SIM_CPU *current_cpu, BI newval) -// OBSOLETE { -// OBSOLETE CPU (h_zbit) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-vbit. */ -// OBSOLETE -// OBSOLETE BI -// OBSOLETE fr30bf_h_vbit_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_vbit); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-vbit. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_vbit_set (SIM_CPU *current_cpu, BI newval) -// OBSOLETE { -// OBSOLETE CPU (h_vbit) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-cbit. */ -// OBSOLETE -// OBSOLETE BI -// OBSOLETE fr30bf_h_cbit_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_cbit); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-cbit. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_cbit_set (SIM_CPU *current_cpu, BI newval) -// OBSOLETE { -// OBSOLETE CPU (h_cbit) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-ibit. */ -// OBSOLETE -// OBSOLETE BI -// OBSOLETE fr30bf_h_ibit_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_ibit); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-ibit. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_ibit_set (SIM_CPU *current_cpu, BI newval) -// OBSOLETE { -// OBSOLETE CPU (h_ibit) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-sbit. */ -// OBSOLETE -// OBSOLETE BI -// OBSOLETE fr30bf_h_sbit_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return GET_H_SBIT (); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-sbit. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_sbit_set (SIM_CPU *current_cpu, BI newval) -// OBSOLETE { -// OBSOLETE SET_H_SBIT (newval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-tbit. */ -// OBSOLETE -// OBSOLETE BI -// OBSOLETE fr30bf_h_tbit_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_tbit); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-tbit. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_tbit_set (SIM_CPU *current_cpu, BI newval) -// OBSOLETE { -// OBSOLETE CPU (h_tbit) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-d0bit. */ -// OBSOLETE -// OBSOLETE BI -// OBSOLETE fr30bf_h_d0bit_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_d0bit); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-d0bit. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_d0bit_set (SIM_CPU *current_cpu, BI newval) -// OBSOLETE { -// OBSOLETE CPU (h_d0bit) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-d1bit. */ -// OBSOLETE -// OBSOLETE BI -// OBSOLETE fr30bf_h_d1bit_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_d1bit); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-d1bit. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_d1bit_set (SIM_CPU *current_cpu, BI newval) -// OBSOLETE { -// OBSOLETE CPU (h_d1bit) = newval; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-ccr. */ -// OBSOLETE -// OBSOLETE UQI -// OBSOLETE fr30bf_h_ccr_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return GET_H_CCR (); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-ccr. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_ccr_set (SIM_CPU *current_cpu, UQI newval) -// OBSOLETE { -// OBSOLETE SET_H_CCR (newval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-scr. */ -// OBSOLETE -// OBSOLETE UQI -// OBSOLETE fr30bf_h_scr_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return GET_H_SCR (); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-scr. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_scr_set (SIM_CPU *current_cpu, UQI newval) -// OBSOLETE { -// OBSOLETE SET_H_SCR (newval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Get the value of h-ilm. */ -// OBSOLETE -// OBSOLETE UQI -// OBSOLETE fr30bf_h_ilm_get (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return GET_H_ILM (); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Set a value for h-ilm. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_ilm_set (SIM_CPU *current_cpu, UQI newval) -// OBSOLETE { -// OBSOLETE SET_H_ILM (newval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Record trace results for INSN. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn, -// OBSOLETE int *indices, TRACE_RECORD *tr) -// OBSOLETE { -// OBSOLETE } diff --git a/sim/fr30/cpu.h b/sim/fr30/cpu.h deleted file mode 100644 index 6505920..0000000 --- a/sim/fr30/cpu.h +++ /dev/null @@ -1,890 +0,0 @@ -// OBSOLETE /* CPU family header for fr30bf. -// OBSOLETE -// OBSOLETE THIS FILE IS MACHINE GENERATED WITH CGEN. -// OBSOLETE -// OBSOLETE Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// OBSOLETE -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #ifndef CPU_FR30BF_H -// OBSOLETE #define CPU_FR30BF_H -// OBSOLETE -// OBSOLETE /* Maximum number of instructions that are fetched at a time. -// OBSOLETE This is for LIW type instructions sets (e.g. m32r). */ -// OBSOLETE #define MAX_LIW_INSNS 1 -// OBSOLETE -// OBSOLETE /* Maximum number of instructions that can be executed in parallel. */ -// OBSOLETE #define MAX_PARALLEL_INSNS 1 -// OBSOLETE -// OBSOLETE /* CPU state information. */ -// OBSOLETE typedef struct { -// OBSOLETE /* Hardware elements. */ -// OBSOLETE struct { -// OBSOLETE /* program counter */ -// OBSOLETE USI h_pc; -// OBSOLETE #define GET_H_PC() CPU (h_pc) -// OBSOLETE #define SET_H_PC(x) (CPU (h_pc) = (x)) -// OBSOLETE /* general registers */ -// OBSOLETE SI h_gr[16]; -// OBSOLETE #define GET_H_GR(a1) CPU (h_gr)[a1] -// OBSOLETE #define SET_H_GR(a1, x) (CPU (h_gr)[a1] = (x)) -// OBSOLETE /* coprocessor registers */ -// OBSOLETE SI h_cr[16]; -// OBSOLETE #define GET_H_CR(a1) CPU (h_cr)[a1] -// OBSOLETE #define SET_H_CR(a1, x) (CPU (h_cr)[a1] = (x)) -// OBSOLETE /* dedicated registers */ -// OBSOLETE SI h_dr[6]; -// OBSOLETE #define GET_H_DR(index) fr30bf_h_dr_get_handler (current_cpu, index) -// OBSOLETE #define SET_H_DR(index, x) \ -// OBSOLETE do { \ -// OBSOLETE fr30bf_h_dr_set_handler (current_cpu, (index), (x));\ -// OBSOLETE ;} while (0) -// OBSOLETE /* processor status */ -// OBSOLETE USI h_ps; -// OBSOLETE #define GET_H_PS() fr30bf_h_ps_get_handler (current_cpu) -// OBSOLETE #define SET_H_PS(x) \ -// OBSOLETE do { \ -// OBSOLETE fr30bf_h_ps_set_handler (current_cpu, (x));\ -// OBSOLETE ;} while (0) -// OBSOLETE /* General Register 13 explicitly required */ -// OBSOLETE SI h_r13; -// OBSOLETE #define GET_H_R13() CPU (h_r13) -// OBSOLETE #define SET_H_R13(x) (CPU (h_r13) = (x)) -// OBSOLETE /* General Register 14 explicitly required */ -// OBSOLETE SI h_r14; -// OBSOLETE #define GET_H_R14() CPU (h_r14) -// OBSOLETE #define SET_H_R14(x) (CPU (h_r14) = (x)) -// OBSOLETE /* General Register 15 explicitly required */ -// OBSOLETE SI h_r15; -// OBSOLETE #define GET_H_R15() CPU (h_r15) -// OBSOLETE #define SET_H_R15(x) (CPU (h_r15) = (x)) -// OBSOLETE /* negative bit */ -// OBSOLETE BI h_nbit; -// OBSOLETE #define GET_H_NBIT() CPU (h_nbit) -// OBSOLETE #define SET_H_NBIT(x) (CPU (h_nbit) = (x)) -// OBSOLETE /* zero bit */ -// OBSOLETE BI h_zbit; -// OBSOLETE #define GET_H_ZBIT() CPU (h_zbit) -// OBSOLETE #define SET_H_ZBIT(x) (CPU (h_zbit) = (x)) -// OBSOLETE /* overflow bit */ -// OBSOLETE BI h_vbit; -// OBSOLETE #define GET_H_VBIT() CPU (h_vbit) -// OBSOLETE #define SET_H_VBIT(x) (CPU (h_vbit) = (x)) -// OBSOLETE /* carry bit */ -// OBSOLETE BI h_cbit; -// OBSOLETE #define GET_H_CBIT() CPU (h_cbit) -// OBSOLETE #define SET_H_CBIT(x) (CPU (h_cbit) = (x)) -// OBSOLETE /* interrupt enable bit */ -// OBSOLETE BI h_ibit; -// OBSOLETE #define GET_H_IBIT() CPU (h_ibit) -// OBSOLETE #define SET_H_IBIT(x) (CPU (h_ibit) = (x)) -// OBSOLETE /* stack bit */ -// OBSOLETE BI h_sbit; -// OBSOLETE #define GET_H_SBIT() fr30bf_h_sbit_get_handler (current_cpu) -// OBSOLETE #define SET_H_SBIT(x) \ -// OBSOLETE do { \ -// OBSOLETE fr30bf_h_sbit_set_handler (current_cpu, (x));\ -// OBSOLETE ;} while (0) -// OBSOLETE /* trace trap bit */ -// OBSOLETE BI h_tbit; -// OBSOLETE #define GET_H_TBIT() CPU (h_tbit) -// OBSOLETE #define SET_H_TBIT(x) (CPU (h_tbit) = (x)) -// OBSOLETE /* division 0 bit */ -// OBSOLETE BI h_d0bit; -// OBSOLETE #define GET_H_D0BIT() CPU (h_d0bit) -// OBSOLETE #define SET_H_D0BIT(x) (CPU (h_d0bit) = (x)) -// OBSOLETE /* division 1 bit */ -// OBSOLETE BI h_d1bit; -// OBSOLETE #define GET_H_D1BIT() CPU (h_d1bit) -// OBSOLETE #define SET_H_D1BIT(x) (CPU (h_d1bit) = (x)) -// OBSOLETE /* condition code bits */ -// OBSOLETE UQI h_ccr; -// OBSOLETE #define GET_H_CCR() fr30bf_h_ccr_get_handler (current_cpu) -// OBSOLETE #define SET_H_CCR(x) \ -// OBSOLETE do { \ -// OBSOLETE fr30bf_h_ccr_set_handler (current_cpu, (x));\ -// OBSOLETE ;} while (0) -// OBSOLETE /* system condition bits */ -// OBSOLETE UQI h_scr; -// OBSOLETE #define GET_H_SCR() fr30bf_h_scr_get_handler (current_cpu) -// OBSOLETE #define SET_H_SCR(x) \ -// OBSOLETE do { \ -// OBSOLETE fr30bf_h_scr_set_handler (current_cpu, (x));\ -// OBSOLETE ;} while (0) -// OBSOLETE /* interrupt level mask */ -// OBSOLETE UQI h_ilm; -// OBSOLETE #define GET_H_ILM() fr30bf_h_ilm_get_handler (current_cpu) -// OBSOLETE #define SET_H_ILM(x) \ -// OBSOLETE do { \ -// OBSOLETE fr30bf_h_ilm_set_handler (current_cpu, (x));\ -// OBSOLETE ;} while (0) -// OBSOLETE } hardware; -// OBSOLETE #define CPU_CGEN_HW(cpu) (& (cpu)->cpu_data.hardware) -// OBSOLETE } FR30BF_CPU_DATA; -// OBSOLETE -// OBSOLETE /* Cover fns for register access. */ -// OBSOLETE USI fr30bf_h_pc_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_pc_set (SIM_CPU *, USI); -// OBSOLETE SI fr30bf_h_gr_get (SIM_CPU *, UINT); -// OBSOLETE void fr30bf_h_gr_set (SIM_CPU *, UINT, SI); -// OBSOLETE SI fr30bf_h_cr_get (SIM_CPU *, UINT); -// OBSOLETE void fr30bf_h_cr_set (SIM_CPU *, UINT, SI); -// OBSOLETE SI fr30bf_h_dr_get (SIM_CPU *, UINT); -// OBSOLETE void fr30bf_h_dr_set (SIM_CPU *, UINT, SI); -// OBSOLETE USI fr30bf_h_ps_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_ps_set (SIM_CPU *, USI); -// OBSOLETE SI fr30bf_h_r13_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_r13_set (SIM_CPU *, SI); -// OBSOLETE SI fr30bf_h_r14_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_r14_set (SIM_CPU *, SI); -// OBSOLETE SI fr30bf_h_r15_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_r15_set (SIM_CPU *, SI); -// OBSOLETE BI fr30bf_h_nbit_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_nbit_set (SIM_CPU *, BI); -// OBSOLETE BI fr30bf_h_zbit_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_zbit_set (SIM_CPU *, BI); -// OBSOLETE BI fr30bf_h_vbit_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_vbit_set (SIM_CPU *, BI); -// OBSOLETE BI fr30bf_h_cbit_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_cbit_set (SIM_CPU *, BI); -// OBSOLETE BI fr30bf_h_ibit_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_ibit_set (SIM_CPU *, BI); -// OBSOLETE BI fr30bf_h_sbit_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_sbit_set (SIM_CPU *, BI); -// OBSOLETE BI fr30bf_h_tbit_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_tbit_set (SIM_CPU *, BI); -// OBSOLETE BI fr30bf_h_d0bit_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_d0bit_set (SIM_CPU *, BI); -// OBSOLETE BI fr30bf_h_d1bit_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_d1bit_set (SIM_CPU *, BI); -// OBSOLETE UQI fr30bf_h_ccr_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_ccr_set (SIM_CPU *, UQI); -// OBSOLETE UQI fr30bf_h_scr_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_scr_set (SIM_CPU *, UQI); -// OBSOLETE UQI fr30bf_h_ilm_get (SIM_CPU *); -// OBSOLETE void fr30bf_h_ilm_set (SIM_CPU *, UQI); -// OBSOLETE -// OBSOLETE /* These must be hand-written. */ -// OBSOLETE extern CPUREG_FETCH_FN fr30bf_fetch_register; -// OBSOLETE extern CPUREG_STORE_FN fr30bf_store_register; -// OBSOLETE -// OBSOLETE typedef struct { -// OBSOLETE UINT load_regs; -// OBSOLETE UINT load_regs_pending; -// OBSOLETE } MODEL_FR30_1_DATA; -// OBSOLETE -// OBSOLETE /* Instruction argument buffer. */ -// OBSOLETE -// OBSOLETE union sem_fields { -// OBSOLETE struct { /* no operands */ -// OBSOLETE int empty; -// OBSOLETE } fmt_empty; -// OBSOLETE struct { /* */ -// OBSOLETE IADDR i_label9; -// OBSOLETE } sfmt_brad; -// OBSOLETE struct { /* */ -// OBSOLETE UINT f_u8; -// OBSOLETE } sfmt_int; -// OBSOLETE struct { /* */ -// OBSOLETE IADDR i_label12; -// OBSOLETE } sfmt_call; -// OBSOLETE struct { /* */ -// OBSOLETE SI f_s10; -// OBSOLETE unsigned char in_h_gr_SI_15; -// OBSOLETE unsigned char out_h_gr_SI_15; -// OBSOLETE } sfmt_addsp; -// OBSOLETE struct { /* */ -// OBSOLETE USI f_dir10; -// OBSOLETE unsigned char in_h_gr_SI_15; -// OBSOLETE unsigned char out_h_gr_SI_15; -// OBSOLETE } sfmt_dmovr15pi; -// OBSOLETE struct { /* */ -// OBSOLETE UINT f_dir8; -// OBSOLETE unsigned char in_h_gr_SI_13; -// OBSOLETE unsigned char out_h_gr_SI_13; -// OBSOLETE } sfmt_dmovr13pib; -// OBSOLETE struct { /* */ -// OBSOLETE USI f_dir9; -// OBSOLETE unsigned char in_h_gr_SI_13; -// OBSOLETE unsigned char out_h_gr_SI_13; -// OBSOLETE } sfmt_dmovr13pih; -// OBSOLETE struct { /* */ -// OBSOLETE USI f_dir10; -// OBSOLETE unsigned char in_h_gr_SI_13; -// OBSOLETE unsigned char out_h_gr_SI_13; -// OBSOLETE } sfmt_dmovr13pi; -// OBSOLETE struct { /* */ -// OBSOLETE UINT f_Rs2; -// OBSOLETE unsigned char in_h_gr_SI_15; -// OBSOLETE unsigned char out_h_gr_SI_15; -// OBSOLETE } sfmt_ldr15dr; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE UINT f_Ri; -// OBSOLETE UINT f_Rs1; -// OBSOLETE unsigned char in_Ri; -// OBSOLETE } sfmt_mov2dr; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE UINT f_Ri; -// OBSOLETE UINT f_Rs1; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE } sfmt_movdr; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE UINT f_Ri; -// OBSOLETE UINT f_i32; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE } sfmt_ldi32; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE UINT f_Ri; -// OBSOLETE UINT f_i20; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE } sfmt_ldi20; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE UINT f_Ri; -// OBSOLETE UINT f_i8; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE } sfmt_ldi8; -// OBSOLETE struct { /* */ -// OBSOLETE USI f_u10; -// OBSOLETE unsigned char in_h_gr_SI_14; -// OBSOLETE unsigned char in_h_gr_SI_15; -// OBSOLETE unsigned char out_h_gr_SI_14; -// OBSOLETE unsigned char out_h_gr_SI_15; -// OBSOLETE } sfmt_enter; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE UINT f_Ri; -// OBSOLETE unsigned char in_Ri; -// OBSOLETE unsigned char in_h_gr_SI_15; -// OBSOLETE unsigned char out_h_gr_SI_15; -// OBSOLETE } sfmt_str15gr; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE UINT f_Ri; -// OBSOLETE USI f_udisp6; -// OBSOLETE unsigned char in_Ri; -// OBSOLETE unsigned char in_h_gr_SI_15; -// OBSOLETE } sfmt_str15; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE INT f_disp8; -// OBSOLETE UINT f_Ri; -// OBSOLETE unsigned char in_Ri; -// OBSOLETE unsigned char in_h_gr_SI_14; -// OBSOLETE } sfmt_str14b; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE SI f_disp9; -// OBSOLETE UINT f_Ri; -// OBSOLETE unsigned char in_Ri; -// OBSOLETE unsigned char in_h_gr_SI_14; -// OBSOLETE } sfmt_str14h; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE SI f_disp10; -// OBSOLETE UINT f_Ri; -// OBSOLETE unsigned char in_Ri; -// OBSOLETE unsigned char in_h_gr_SI_14; -// OBSOLETE } sfmt_str14; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE UINT f_Ri; -// OBSOLETE unsigned char in_h_gr_SI_15; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE unsigned char out_h_gr_SI_15; -// OBSOLETE } sfmt_ldr15gr; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE UINT f_Ri; -// OBSOLETE USI f_udisp6; -// OBSOLETE unsigned char in_h_gr_SI_15; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE } sfmt_ldr15; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE INT f_disp8; -// OBSOLETE UINT f_Ri; -// OBSOLETE unsigned char in_h_gr_SI_14; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE } sfmt_ldr14ub; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE SI f_disp9; -// OBSOLETE UINT f_Ri; -// OBSOLETE unsigned char in_h_gr_SI_14; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE } sfmt_ldr14uh; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE SI f_disp10; -// OBSOLETE UINT f_Ri; -// OBSOLETE unsigned char in_h_gr_SI_14; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE } sfmt_ldr14; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE SI f_m4; -// OBSOLETE UINT f_Ri; -// OBSOLETE unsigned char in_Ri; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE } sfmt_add2; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE UINT f_Ri; -// OBSOLETE UINT f_u4; -// OBSOLETE unsigned char in_Ri; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE } sfmt_addi; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE SI* i_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE UINT f_Rj; -// OBSOLETE unsigned char in_Ri; -// OBSOLETE unsigned char in_Rj; -// OBSOLETE unsigned char in_h_gr_SI_13; -// OBSOLETE } sfmt_str13; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE SI* i_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE UINT f_Rj; -// OBSOLETE unsigned char in_Rj; -// OBSOLETE unsigned char in_h_gr_SI_13; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE } sfmt_ldr13; -// OBSOLETE struct { /* */ -// OBSOLETE SI* i_Ri; -// OBSOLETE SI* i_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE UINT f_Rj; -// OBSOLETE unsigned char in_Ri; -// OBSOLETE unsigned char in_Rj; -// OBSOLETE unsigned char out_Ri; -// OBSOLETE } sfmt_add; -// OBSOLETE struct { /* */ -// OBSOLETE UINT f_reglist_hi_st; -// OBSOLETE unsigned char in_h_gr_SI_10; -// OBSOLETE unsigned char in_h_gr_SI_11; -// OBSOLETE unsigned char in_h_gr_SI_12; -// OBSOLETE unsigned char in_h_gr_SI_13; -// OBSOLETE unsigned char in_h_gr_SI_14; -// OBSOLETE unsigned char in_h_gr_SI_15; -// OBSOLETE unsigned char in_h_gr_SI_8; -// OBSOLETE unsigned char in_h_gr_SI_9; -// OBSOLETE unsigned char out_h_gr_SI_15; -// OBSOLETE } sfmt_stm1; -// OBSOLETE struct { /* */ -// OBSOLETE UINT f_reglist_hi_ld; -// OBSOLETE unsigned char in_h_gr_SI_15; -// OBSOLETE unsigned char out_h_gr_SI_10; -// OBSOLETE unsigned char out_h_gr_SI_11; -// OBSOLETE unsigned char out_h_gr_SI_12; -// OBSOLETE unsigned char out_h_gr_SI_13; -// OBSOLETE unsigned char out_h_gr_SI_14; -// OBSOLETE unsigned char out_h_gr_SI_15; -// OBSOLETE unsigned char out_h_gr_SI_8; -// OBSOLETE unsigned char out_h_gr_SI_9; -// OBSOLETE } sfmt_ldm1; -// OBSOLETE struct { /* */ -// OBSOLETE UINT f_reglist_low_st; -// OBSOLETE unsigned char in_h_gr_SI_0; -// OBSOLETE unsigned char in_h_gr_SI_1; -// OBSOLETE unsigned char in_h_gr_SI_15; -// OBSOLETE unsigned char in_h_gr_SI_2; -// OBSOLETE unsigned char in_h_gr_SI_3; -// OBSOLETE unsigned char in_h_gr_SI_4; -// OBSOLETE unsigned char in_h_gr_SI_5; -// OBSOLETE unsigned char in_h_gr_SI_6; -// OBSOLETE unsigned char in_h_gr_SI_7; -// OBSOLETE unsigned char out_h_gr_SI_15; -// OBSOLETE } sfmt_stm0; -// OBSOLETE struct { /* */ -// OBSOLETE UINT f_reglist_low_ld; -// OBSOLETE unsigned char in_h_gr_SI_15; -// OBSOLETE unsigned char out_h_gr_SI_0; -// OBSOLETE unsigned char out_h_gr_SI_1; -// OBSOLETE unsigned char out_h_gr_SI_15; -// OBSOLETE unsigned char out_h_gr_SI_2; -// OBSOLETE unsigned char out_h_gr_SI_3; -// OBSOLETE unsigned char out_h_gr_SI_4; -// OBSOLETE unsigned char out_h_gr_SI_5; -// OBSOLETE unsigned char out_h_gr_SI_6; -// OBSOLETE unsigned char out_h_gr_SI_7; -// OBSOLETE } sfmt_ldm0; -// OBSOLETE #if WITH_SCACHE_PBB -// OBSOLETE /* Writeback handler. */ -// OBSOLETE struct { -// OBSOLETE /* Pointer to argbuf entry for insn whose results need writing back. */ -// OBSOLETE const struct argbuf *abuf; -// OBSOLETE } write; -// OBSOLETE /* x-before handler */ -// OBSOLETE struct { -// OBSOLETE /*const SCACHE *insns[MAX_PARALLEL_INSNS];*/ -// OBSOLETE int first_p; -// OBSOLETE } before; -// OBSOLETE /* x-after handler */ -// OBSOLETE struct { -// OBSOLETE int empty; -// OBSOLETE } after; -// OBSOLETE /* This entry is used to terminate each pbb. */ -// OBSOLETE struct { -// OBSOLETE /* Number of insns in pbb. */ -// OBSOLETE int insn_count; -// OBSOLETE /* Next pbb to execute. */ -// OBSOLETE SCACHE *next; -// OBSOLETE SCACHE *branch_target; -// OBSOLETE } chain; -// OBSOLETE #endif -// OBSOLETE }; -// OBSOLETE -// OBSOLETE /* The ARGBUF struct. */ -// OBSOLETE struct argbuf { -// OBSOLETE /* These are the baseclass definitions. */ -// OBSOLETE IADDR addr; -// OBSOLETE const IDESC *idesc; -// OBSOLETE char trace_p; -// OBSOLETE char profile_p; -// OBSOLETE /* ??? Temporary hack for skip insns. */ -// OBSOLETE char skip_count; -// OBSOLETE char unused; -// OBSOLETE /* cpu specific data follows */ -// OBSOLETE union sem semantic; -// OBSOLETE int written; -// OBSOLETE union sem_fields fields; -// OBSOLETE }; -// OBSOLETE -// OBSOLETE /* A cached insn. -// OBSOLETE -// OBSOLETE ??? SCACHE used to contain more than just argbuf. We could delete the -// OBSOLETE type entirely and always just use ARGBUF, but for future concerns and as -// OBSOLETE a level of abstraction it is left in. */ -// OBSOLETE -// OBSOLETE struct scache { -// OBSOLETE struct argbuf argbuf; -// OBSOLETE }; -// OBSOLETE -// OBSOLETE /* Macros to simplify extraction, reading and semantic code. -// OBSOLETE These define and assign the local vars that contain the insn's fields. */ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_EMPTY_VARS \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_EMPTY_CODE \ -// OBSOLETE length = 0; \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_ADD_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_Rj; \ -// OBSOLETE UINT f_Ri; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_ADD_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); \ -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_ADDI_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_u4; \ -// OBSOLETE UINT f_Ri; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_ADDI_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); \ -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_ADD2_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE SI f_m4; \ -// OBSOLETE UINT f_Ri; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_ADD2_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_m4 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 4)) | (((-1) << (4)))); \ -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_DIV0S_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_op3; \ -// OBSOLETE UINT f_Ri; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_DIV0S_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_op3 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); \ -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_DIV3_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_op3; \ -// OBSOLETE UINT f_op4; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_DIV3_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_op3 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); \ -// OBSOLETE f_op4 = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_LDI8_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_i8; \ -// OBSOLETE UINT f_Ri; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_LDI8_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_i8 = EXTRACT_MSB0_UINT (insn, 16, 4, 8); \ -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_LDI20_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_i20_4; \ -// OBSOLETE UINT f_i20_16; \ -// OBSOLETE UINT f_i20; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_Ri; \ -// OBSOLETE /* Contents of trailing part of insn. */ \ -// OBSOLETE UINT word_1; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_LDI20_CODE \ -// OBSOLETE length = 4; \ -// OBSOLETE word_1 = GETIMEMUHI (current_cpu, pc + 2); \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_i20_4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); \ -// OBSOLETE f_i20_16 = (0|(EXTRACT_MSB0_UINT (word_1, 16, 0, 16) << 0)); \ -// OBSOLETE {\ -// OBSOLETE f_i20 = ((((f_i20_4) << (16))) | (f_i20_16));\ -// OBSOLETE }\ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_LDI32_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_i32; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_op3; \ -// OBSOLETE UINT f_Ri; \ -// OBSOLETE /* Contents of trailing part of insn. */ \ -// OBSOLETE UINT word_1; \ -// OBSOLETE UINT word_2; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_LDI32_CODE \ -// OBSOLETE length = 6; \ -// OBSOLETE word_1 = GETIMEMUHI (current_cpu, pc + 2); \ -// OBSOLETE word_2 = GETIMEMUHI (current_cpu, pc + 4); \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_i32 = (0|(EXTRACT_MSB0_UINT (word_2, 16, 0, 16) << 0)|(EXTRACT_MSB0_UINT (word_1, 16, 0, 16) << 16)); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_op3 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); \ -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_LDR14_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE SI f_disp10; \ -// OBSOLETE UINT f_Ri; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_LDR14_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_disp10 = ((EXTRACT_MSB0_INT (insn, 16, 4, 8)) << (2)); \ -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_LDR14UH_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE SI f_disp9; \ -// OBSOLETE UINT f_Ri; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_LDR14UH_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_disp9 = ((EXTRACT_MSB0_INT (insn, 16, 4, 8)) << (1)); \ -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_LDR14UB_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE INT f_disp8; \ -// OBSOLETE UINT f_Ri; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_LDR14UB_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_disp8 = EXTRACT_MSB0_INT (insn, 16, 4, 8); \ -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_LDR15_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE USI f_udisp6; \ -// OBSOLETE UINT f_Ri; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_LDR15_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_udisp6 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 4)) << (2)); \ -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_LDR15DR_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_op3; \ -// OBSOLETE UINT f_Rs2; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_LDR15DR_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_op3 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); \ -// OBSOLETE f_Rs2 = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_MOVDR_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_Rs1; \ -// OBSOLETE UINT f_Ri; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_MOVDR_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_Rs1 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); \ -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_CALL_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op5; \ -// OBSOLETE SI f_rel12; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_CALL_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op5 = EXTRACT_MSB0_UINT (insn, 16, 4, 1); \ -// OBSOLETE f_rel12 = ((((EXTRACT_MSB0_INT (insn, 16, 5, 11)) << (1))) + (((pc) + (2)))); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_INT_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_u8; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_INT_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_u8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_BRAD_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_cc; \ -// OBSOLETE SI f_rel9; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_BRAD_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_cc = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2)))); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_DMOVR13_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE USI f_dir10; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_DMOVR13_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2)); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_DMOVR13H_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE USI f_dir9; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_DMOVR13H_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_dir9 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (1)); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_DMOVR13B_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_dir8; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_DMOVR13B_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_dir8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_COPOP_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_ccc; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_op3; \ -// OBSOLETE UINT f_CRj; \ -// OBSOLETE UINT f_u4c; \ -// OBSOLETE UINT f_CRi; \ -// OBSOLETE /* Contents of trailing part of insn. */ \ -// OBSOLETE UINT word_1; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_COPOP_CODE \ -// OBSOLETE length = 4; \ -// OBSOLETE word_1 = GETIMEMUHI (current_cpu, pc + 2); \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_ccc = (0|(EXTRACT_MSB0_UINT (word_1, 16, 0, 8) << 0)); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_op3 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); \ -// OBSOLETE f_CRj = (0|(EXTRACT_MSB0_UINT (word_1, 16, 8, 4) << 0)); \ -// OBSOLETE f_u4c = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE f_CRi = (0|(EXTRACT_MSB0_UINT (word_1, 16, 12, 4) << 0)); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_COPLD_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_ccc; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_op3; \ -// OBSOLETE UINT f_Rjc; \ -// OBSOLETE UINT f_u4c; \ -// OBSOLETE UINT f_CRi; \ -// OBSOLETE /* Contents of trailing part of insn. */ \ -// OBSOLETE UINT word_1; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_COPLD_CODE \ -// OBSOLETE length = 4; \ -// OBSOLETE word_1 = GETIMEMUHI (current_cpu, pc + 2); \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_ccc = (0|(EXTRACT_MSB0_UINT (word_1, 16, 0, 8) << 0)); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_op3 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); \ -// OBSOLETE f_Rjc = (0|(EXTRACT_MSB0_UINT (word_1, 16, 8, 4) << 0)); \ -// OBSOLETE f_u4c = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE f_CRi = (0|(EXTRACT_MSB0_UINT (word_1, 16, 12, 4) << 0)); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_COPST_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_ccc; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_op3; \ -// OBSOLETE UINT f_CRj; \ -// OBSOLETE UINT f_u4c; \ -// OBSOLETE UINT f_Ric; \ -// OBSOLETE /* Contents of trailing part of insn. */ \ -// OBSOLETE UINT word_1; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_COPST_CODE \ -// OBSOLETE length = 4; \ -// OBSOLETE word_1 = GETIMEMUHI (current_cpu, pc + 2); \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_ccc = (0|(EXTRACT_MSB0_UINT (word_1, 16, 0, 8) << 0)); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_op3 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); \ -// OBSOLETE f_CRj = (0|(EXTRACT_MSB0_UINT (word_1, 16, 8, 4) << 0)); \ -// OBSOLETE f_u4c = EXTRACT_MSB0_UINT (insn, 16, 12, 4); \ -// OBSOLETE f_Ric = (0|(EXTRACT_MSB0_UINT (word_1, 16, 12, 4) << 0)); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_ADDSP_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE SI f_s10; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_ADDSP_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_s10 = ((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (2)); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_LDM0_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_reglist_low_ld; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_LDM0_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_reglist_low_ld = EXTRACT_MSB0_UINT (insn, 16, 8, 8); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_LDM1_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_reglist_hi_ld; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_LDM1_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_reglist_hi_ld = EXTRACT_MSB0_UINT (insn, 16, 8, 8); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_STM0_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_reglist_low_st; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_STM0_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_reglist_low_st = EXTRACT_MSB0_UINT (insn, 16, 8, 8); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_STM1_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE UINT f_reglist_hi_st; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_STM1_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_reglist_hi_st = EXTRACT_MSB0_UINT (insn, 16, 8, 8); \ -// OBSOLETE -// OBSOLETE #define EXTRACT_IFMT_ENTER_VARS \ -// OBSOLETE UINT f_op1; \ -// OBSOLETE UINT f_op2; \ -// OBSOLETE USI f_u10; \ -// OBSOLETE unsigned int length; -// OBSOLETE #define EXTRACT_IFMT_ENTER_CODE \ -// OBSOLETE length = 2; \ -// OBSOLETE f_op1 = EXTRACT_MSB0_UINT (insn, 16, 0, 4); \ -// OBSOLETE f_op2 = EXTRACT_MSB0_UINT (insn, 16, 4, 4); \ -// OBSOLETE f_u10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2)); \ -// OBSOLETE -// OBSOLETE /* Collection of various things for the trace handler to use. */ -// OBSOLETE -// OBSOLETE typedef struct trace_record { -// OBSOLETE IADDR pc; -// OBSOLETE /* FIXME:wip */ -// OBSOLETE } TRACE_RECORD; -// OBSOLETE -// OBSOLETE #endif /* CPU_FR30BF_H */ diff --git a/sim/fr30/cpuall.h b/sim/fr30/cpuall.h deleted file mode 100644 index e0c7c00..0000000 --- a/sim/fr30/cpuall.h +++ /dev/null @@ -1,66 +0,0 @@ -// OBSOLETE /* Simulator CPU header for fr30. -// OBSOLETE -// OBSOLETE THIS FILE IS MACHINE GENERATED WITH CGEN. -// OBSOLETE -// OBSOLETE Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// OBSOLETE -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #ifndef FR30_CPUALL_H -// OBSOLETE #define FR30_CPUALL_H -// OBSOLETE -// OBSOLETE /* Include files for each cpu family. */ -// OBSOLETE -// OBSOLETE #ifdef WANT_CPU_FR30BF -// OBSOLETE #include "eng.h" -// OBSOLETE #include "cgen-engine.h" -// OBSOLETE #include "cpu.h" -// OBSOLETE #include "decode.h" -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE extern const MACH fr30_mach; -// OBSOLETE -// OBSOLETE #ifndef WANT_CPU -// OBSOLETE /* The ARGBUF struct. */ -// OBSOLETE struct argbuf { -// OBSOLETE /* These are the baseclass definitions. */ -// OBSOLETE IADDR addr; -// OBSOLETE const IDESC *idesc; -// OBSOLETE char trace_p; -// OBSOLETE char profile_p; -// OBSOLETE /* ??? Temporary hack for skip insns. */ -// OBSOLETE char skip_count; -// OBSOLETE char unused; -// OBSOLETE /* cpu specific data follows */ -// OBSOLETE }; -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE #ifndef WANT_CPU -// OBSOLETE /* A cached insn. -// OBSOLETE -// OBSOLETE ??? SCACHE used to contain more than just argbuf. We could delete the -// OBSOLETE type entirely and always just use ARGBUF, but for future concerns and as -// OBSOLETE a level of abstraction it is left in. */ -// OBSOLETE -// OBSOLETE struct scache { -// OBSOLETE struct argbuf argbuf; -// OBSOLETE }; -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE #endif /* FR30_CPUALL_H */ diff --git a/sim/fr30/decode.c b/sim/fr30/decode.c deleted file mode 100644 index dbbcce5..0000000 --- a/sim/fr30/decode.c +++ /dev/null @@ -1,3453 +0,0 @@ -// OBSOLETE /* Simulator instruction decoder for fr30bf. -// OBSOLETE -// OBSOLETE THIS FILE IS MACHINE GENERATED WITH CGEN. -// OBSOLETE -// OBSOLETE Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// OBSOLETE -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #define WANT_CPU fr30bf -// OBSOLETE #define WANT_CPU_FR30BF -// OBSOLETE -// OBSOLETE #include "sim-main.h" -// OBSOLETE #include "sim-assert.h" -// OBSOLETE -// OBSOLETE /* The instruction descriptor array. -// OBSOLETE This is computed at runtime. Space for it is not malloc'd to save a -// OBSOLETE teensy bit of cpu in the decoder. Moving it to malloc space is trivial -// OBSOLETE but won't be done until necessary (we don't currently support the runtime -// OBSOLETE addition of instructions nor an SMP machine with different cpus). */ -// OBSOLETE static IDESC fr30bf_insn_data[FR30BF_INSN_XCHB + 1]; -// OBSOLETE -// OBSOLETE /* Commas between elements are contained in the macros. -// OBSOLETE Some of these are conditionally compiled out. */ -// OBSOLETE -// OBSOLETE static const struct insn_sem fr30bf_insn_sem[] = -// OBSOLETE { -// OBSOLETE { VIRTUAL_INSN_X_INVALID, FR30BF_INSN_X_INVALID, FR30BF_SFMT_EMPTY }, -// OBSOLETE { VIRTUAL_INSN_X_AFTER, FR30BF_INSN_X_AFTER, FR30BF_SFMT_EMPTY }, -// OBSOLETE { VIRTUAL_INSN_X_BEFORE, FR30BF_INSN_X_BEFORE, FR30BF_SFMT_EMPTY }, -// OBSOLETE { VIRTUAL_INSN_X_CTI_CHAIN, FR30BF_INSN_X_CTI_CHAIN, FR30BF_SFMT_EMPTY }, -// OBSOLETE { VIRTUAL_INSN_X_CHAIN, FR30BF_INSN_X_CHAIN, FR30BF_SFMT_EMPTY }, -// OBSOLETE { VIRTUAL_INSN_X_BEGIN, FR30BF_INSN_X_BEGIN, FR30BF_SFMT_EMPTY }, -// OBSOLETE { FR30_INSN_ADD, FR30BF_INSN_ADD, FR30BF_SFMT_ADD }, -// OBSOLETE { FR30_INSN_ADDI, FR30BF_INSN_ADDI, FR30BF_SFMT_ADDI }, -// OBSOLETE { FR30_INSN_ADD2, FR30BF_INSN_ADD2, FR30BF_SFMT_ADD2 }, -// OBSOLETE { FR30_INSN_ADDC, FR30BF_INSN_ADDC, FR30BF_SFMT_ADDC }, -// OBSOLETE { FR30_INSN_ADDN, FR30BF_INSN_ADDN, FR30BF_SFMT_ADDN }, -// OBSOLETE { FR30_INSN_ADDNI, FR30BF_INSN_ADDNI, FR30BF_SFMT_ADDNI }, -// OBSOLETE { FR30_INSN_ADDN2, FR30BF_INSN_ADDN2, FR30BF_SFMT_ADDN2 }, -// OBSOLETE { FR30_INSN_SUB, FR30BF_INSN_SUB, FR30BF_SFMT_ADD }, -// OBSOLETE { FR30_INSN_SUBC, FR30BF_INSN_SUBC, FR30BF_SFMT_ADDC }, -// OBSOLETE { FR30_INSN_SUBN, FR30BF_INSN_SUBN, FR30BF_SFMT_ADDN }, -// OBSOLETE { FR30_INSN_CMP, FR30BF_INSN_CMP, FR30BF_SFMT_CMP }, -// OBSOLETE { FR30_INSN_CMPI, FR30BF_INSN_CMPI, FR30BF_SFMT_CMPI }, -// OBSOLETE { FR30_INSN_CMP2, FR30BF_INSN_CMP2, FR30BF_SFMT_CMP2 }, -// OBSOLETE { FR30_INSN_AND, FR30BF_INSN_AND, FR30BF_SFMT_AND }, -// OBSOLETE { FR30_INSN_OR, FR30BF_INSN_OR, FR30BF_SFMT_AND }, -// OBSOLETE { FR30_INSN_EOR, FR30BF_INSN_EOR, FR30BF_SFMT_AND }, -// OBSOLETE { FR30_INSN_ANDM, FR30BF_INSN_ANDM, FR30BF_SFMT_ANDM }, -// OBSOLETE { FR30_INSN_ANDH, FR30BF_INSN_ANDH, FR30BF_SFMT_ANDH }, -// OBSOLETE { FR30_INSN_ANDB, FR30BF_INSN_ANDB, FR30BF_SFMT_ANDB }, -// OBSOLETE { FR30_INSN_ORM, FR30BF_INSN_ORM, FR30BF_SFMT_ANDM }, -// OBSOLETE { FR30_INSN_ORH, FR30BF_INSN_ORH, FR30BF_SFMT_ANDH }, -// OBSOLETE { FR30_INSN_ORB, FR30BF_INSN_ORB, FR30BF_SFMT_ANDB }, -// OBSOLETE { FR30_INSN_EORM, FR30BF_INSN_EORM, FR30BF_SFMT_ANDM }, -// OBSOLETE { FR30_INSN_EORH, FR30BF_INSN_EORH, FR30BF_SFMT_ANDH }, -// OBSOLETE { FR30_INSN_EORB, FR30BF_INSN_EORB, FR30BF_SFMT_ANDB }, -// OBSOLETE { FR30_INSN_BANDL, FR30BF_INSN_BANDL, FR30BF_SFMT_BANDL }, -// OBSOLETE { FR30_INSN_BORL, FR30BF_INSN_BORL, FR30BF_SFMT_BANDL }, -// OBSOLETE { FR30_INSN_BEORL, FR30BF_INSN_BEORL, FR30BF_SFMT_BANDL }, -// OBSOLETE { FR30_INSN_BANDH, FR30BF_INSN_BANDH, FR30BF_SFMT_BANDL }, -// OBSOLETE { FR30_INSN_BORH, FR30BF_INSN_BORH, FR30BF_SFMT_BANDL }, -// OBSOLETE { FR30_INSN_BEORH, FR30BF_INSN_BEORH, FR30BF_SFMT_BANDL }, -// OBSOLETE { FR30_INSN_BTSTL, FR30BF_INSN_BTSTL, FR30BF_SFMT_BTSTL }, -// OBSOLETE { FR30_INSN_BTSTH, FR30BF_INSN_BTSTH, FR30BF_SFMT_BTSTL }, -// OBSOLETE { FR30_INSN_MUL, FR30BF_INSN_MUL, FR30BF_SFMT_MUL }, -// OBSOLETE { FR30_INSN_MULU, FR30BF_INSN_MULU, FR30BF_SFMT_MULU }, -// OBSOLETE { FR30_INSN_MULH, FR30BF_INSN_MULH, FR30BF_SFMT_MULH }, -// OBSOLETE { FR30_INSN_MULUH, FR30BF_INSN_MULUH, FR30BF_SFMT_MULH }, -// OBSOLETE { FR30_INSN_DIV0S, FR30BF_INSN_DIV0S, FR30BF_SFMT_DIV0S }, -// OBSOLETE { FR30_INSN_DIV0U, FR30BF_INSN_DIV0U, FR30BF_SFMT_DIV0U }, -// OBSOLETE { FR30_INSN_DIV1, FR30BF_INSN_DIV1, FR30BF_SFMT_DIV1 }, -// OBSOLETE { FR30_INSN_DIV2, FR30BF_INSN_DIV2, FR30BF_SFMT_DIV2 }, -// OBSOLETE { FR30_INSN_DIV3, FR30BF_INSN_DIV3, FR30BF_SFMT_DIV3 }, -// OBSOLETE { FR30_INSN_DIV4S, FR30BF_INSN_DIV4S, FR30BF_SFMT_DIV4S }, -// OBSOLETE { FR30_INSN_LSL, FR30BF_INSN_LSL, FR30BF_SFMT_LSL }, -// OBSOLETE { FR30_INSN_LSLI, FR30BF_INSN_LSLI, FR30BF_SFMT_LSLI }, -// OBSOLETE { FR30_INSN_LSL2, FR30BF_INSN_LSL2, FR30BF_SFMT_LSLI }, -// OBSOLETE { FR30_INSN_LSR, FR30BF_INSN_LSR, FR30BF_SFMT_LSL }, -// OBSOLETE { FR30_INSN_LSRI, FR30BF_INSN_LSRI, FR30BF_SFMT_LSLI }, -// OBSOLETE { FR30_INSN_LSR2, FR30BF_INSN_LSR2, FR30BF_SFMT_LSLI }, -// OBSOLETE { FR30_INSN_ASR, FR30BF_INSN_ASR, FR30BF_SFMT_LSL }, -// OBSOLETE { FR30_INSN_ASRI, FR30BF_INSN_ASRI, FR30BF_SFMT_LSLI }, -// OBSOLETE { FR30_INSN_ASR2, FR30BF_INSN_ASR2, FR30BF_SFMT_LSLI }, -// OBSOLETE { FR30_INSN_LDI8, FR30BF_INSN_LDI8, FR30BF_SFMT_LDI8 }, -// OBSOLETE { FR30_INSN_LDI20, FR30BF_INSN_LDI20, FR30BF_SFMT_LDI20 }, -// OBSOLETE { FR30_INSN_LDI32, FR30BF_INSN_LDI32, FR30BF_SFMT_LDI32 }, -// OBSOLETE { FR30_INSN_LD, FR30BF_INSN_LD, FR30BF_SFMT_LD }, -// OBSOLETE { FR30_INSN_LDUH, FR30BF_INSN_LDUH, FR30BF_SFMT_LDUH }, -// OBSOLETE { FR30_INSN_LDUB, FR30BF_INSN_LDUB, FR30BF_SFMT_LDUB }, -// OBSOLETE { FR30_INSN_LDR13, FR30BF_INSN_LDR13, FR30BF_SFMT_LDR13 }, -// OBSOLETE { FR30_INSN_LDR13UH, FR30BF_INSN_LDR13UH, FR30BF_SFMT_LDR13UH }, -// OBSOLETE { FR30_INSN_LDR13UB, FR30BF_INSN_LDR13UB, FR30BF_SFMT_LDR13UB }, -// OBSOLETE { FR30_INSN_LDR14, FR30BF_INSN_LDR14, FR30BF_SFMT_LDR14 }, -// OBSOLETE { FR30_INSN_LDR14UH, FR30BF_INSN_LDR14UH, FR30BF_SFMT_LDR14UH }, -// OBSOLETE { FR30_INSN_LDR14UB, FR30BF_INSN_LDR14UB, FR30BF_SFMT_LDR14UB }, -// OBSOLETE { FR30_INSN_LDR15, FR30BF_INSN_LDR15, FR30BF_SFMT_LDR15 }, -// OBSOLETE { FR30_INSN_LDR15GR, FR30BF_INSN_LDR15GR, FR30BF_SFMT_LDR15GR }, -// OBSOLETE { FR30_INSN_LDR15DR, FR30BF_INSN_LDR15DR, FR30BF_SFMT_LDR15DR }, -// OBSOLETE { FR30_INSN_LDR15PS, FR30BF_INSN_LDR15PS, FR30BF_SFMT_LDR15PS }, -// OBSOLETE { FR30_INSN_ST, FR30BF_INSN_ST, FR30BF_SFMT_ST }, -// OBSOLETE { FR30_INSN_STH, FR30BF_INSN_STH, FR30BF_SFMT_STH }, -// OBSOLETE { FR30_INSN_STB, FR30BF_INSN_STB, FR30BF_SFMT_STB }, -// OBSOLETE { FR30_INSN_STR13, FR30BF_INSN_STR13, FR30BF_SFMT_STR13 }, -// OBSOLETE { FR30_INSN_STR13H, FR30BF_INSN_STR13H, FR30BF_SFMT_STR13H }, -// OBSOLETE { FR30_INSN_STR13B, FR30BF_INSN_STR13B, FR30BF_SFMT_STR13B }, -// OBSOLETE { FR30_INSN_STR14, FR30BF_INSN_STR14, FR30BF_SFMT_STR14 }, -// OBSOLETE { FR30_INSN_STR14H, FR30BF_INSN_STR14H, FR30BF_SFMT_STR14H }, -// OBSOLETE { FR30_INSN_STR14B, FR30BF_INSN_STR14B, FR30BF_SFMT_STR14B }, -// OBSOLETE { FR30_INSN_STR15, FR30BF_INSN_STR15, FR30BF_SFMT_STR15 }, -// OBSOLETE { FR30_INSN_STR15GR, FR30BF_INSN_STR15GR, FR30BF_SFMT_STR15GR }, -// OBSOLETE { FR30_INSN_STR15DR, FR30BF_INSN_STR15DR, FR30BF_SFMT_STR15DR }, -// OBSOLETE { FR30_INSN_STR15PS, FR30BF_INSN_STR15PS, FR30BF_SFMT_STR15PS }, -// OBSOLETE { FR30_INSN_MOV, FR30BF_INSN_MOV, FR30BF_SFMT_MOV }, -// OBSOLETE { FR30_INSN_MOVDR, FR30BF_INSN_MOVDR, FR30BF_SFMT_MOVDR }, -// OBSOLETE { FR30_INSN_MOVPS, FR30BF_INSN_MOVPS, FR30BF_SFMT_MOVPS }, -// OBSOLETE { FR30_INSN_MOV2DR, FR30BF_INSN_MOV2DR, FR30BF_SFMT_MOV2DR }, -// OBSOLETE { FR30_INSN_MOV2PS, FR30BF_INSN_MOV2PS, FR30BF_SFMT_MOV2PS }, -// OBSOLETE { FR30_INSN_JMP, FR30BF_INSN_JMP, FR30BF_SFMT_JMP }, -// OBSOLETE { FR30_INSN_JMPD, FR30BF_INSN_JMPD, FR30BF_SFMT_JMP }, -// OBSOLETE { FR30_INSN_CALLR, FR30BF_INSN_CALLR, FR30BF_SFMT_CALLR }, -// OBSOLETE { FR30_INSN_CALLRD, FR30BF_INSN_CALLRD, FR30BF_SFMT_CALLR }, -// OBSOLETE { FR30_INSN_CALL, FR30BF_INSN_CALL, FR30BF_SFMT_CALL }, -// OBSOLETE { FR30_INSN_CALLD, FR30BF_INSN_CALLD, FR30BF_SFMT_CALL }, -// OBSOLETE { FR30_INSN_RET, FR30BF_INSN_RET, FR30BF_SFMT_RET }, -// OBSOLETE { FR30_INSN_RET_D, FR30BF_INSN_RET_D, FR30BF_SFMT_RET }, -// OBSOLETE { FR30_INSN_INT, FR30BF_INSN_INT, FR30BF_SFMT_INT }, -// OBSOLETE { FR30_INSN_INTE, FR30BF_INSN_INTE, FR30BF_SFMT_INTE }, -// OBSOLETE { FR30_INSN_RETI, FR30BF_INSN_RETI, FR30BF_SFMT_RETI }, -// OBSOLETE { FR30_INSN_BRAD, FR30BF_INSN_BRAD, FR30BF_SFMT_BRAD }, -// OBSOLETE { FR30_INSN_BRA, FR30BF_INSN_BRA, FR30BF_SFMT_BRAD }, -// OBSOLETE { FR30_INSN_BNOD, FR30BF_INSN_BNOD, FR30BF_SFMT_BNOD }, -// OBSOLETE { FR30_INSN_BNO, FR30BF_INSN_BNO, FR30BF_SFMT_BNOD }, -// OBSOLETE { FR30_INSN_BEQD, FR30BF_INSN_BEQD, FR30BF_SFMT_BEQD }, -// OBSOLETE { FR30_INSN_BEQ, FR30BF_INSN_BEQ, FR30BF_SFMT_BEQD }, -// OBSOLETE { FR30_INSN_BNED, FR30BF_INSN_BNED, FR30BF_SFMT_BEQD }, -// OBSOLETE { FR30_INSN_BNE, FR30BF_INSN_BNE, FR30BF_SFMT_BEQD }, -// OBSOLETE { FR30_INSN_BCD, FR30BF_INSN_BCD, FR30BF_SFMT_BCD }, -// OBSOLETE { FR30_INSN_BC, FR30BF_INSN_BC, FR30BF_SFMT_BCD }, -// OBSOLETE { FR30_INSN_BNCD, FR30BF_INSN_BNCD, FR30BF_SFMT_BCD }, -// OBSOLETE { FR30_INSN_BNC, FR30BF_INSN_BNC, FR30BF_SFMT_BCD }, -// OBSOLETE { FR30_INSN_BND, FR30BF_INSN_BND, FR30BF_SFMT_BND }, -// OBSOLETE { FR30_INSN_BN, FR30BF_INSN_BN, FR30BF_SFMT_BND }, -// OBSOLETE { FR30_INSN_BPD, FR30BF_INSN_BPD, FR30BF_SFMT_BND }, -// OBSOLETE { FR30_INSN_BP, FR30BF_INSN_BP, FR30BF_SFMT_BND }, -// OBSOLETE { FR30_INSN_BVD, FR30BF_INSN_BVD, FR30BF_SFMT_BVD }, -// OBSOLETE { FR30_INSN_BV, FR30BF_INSN_BV, FR30BF_SFMT_BVD }, -// OBSOLETE { FR30_INSN_BNVD, FR30BF_INSN_BNVD, FR30BF_SFMT_BVD }, -// OBSOLETE { FR30_INSN_BNV, FR30BF_INSN_BNV, FR30BF_SFMT_BVD }, -// OBSOLETE { FR30_INSN_BLTD, FR30BF_INSN_BLTD, FR30BF_SFMT_BLTD }, -// OBSOLETE { FR30_INSN_BLT, FR30BF_INSN_BLT, FR30BF_SFMT_BLTD }, -// OBSOLETE { FR30_INSN_BGED, FR30BF_INSN_BGED, FR30BF_SFMT_BLTD }, -// OBSOLETE { FR30_INSN_BGE, FR30BF_INSN_BGE, FR30BF_SFMT_BLTD }, -// OBSOLETE { FR30_INSN_BLED, FR30BF_INSN_BLED, FR30BF_SFMT_BLED }, -// OBSOLETE { FR30_INSN_BLE, FR30BF_INSN_BLE, FR30BF_SFMT_BLED }, -// OBSOLETE { FR30_INSN_BGTD, FR30BF_INSN_BGTD, FR30BF_SFMT_BLED }, -// OBSOLETE { FR30_INSN_BGT, FR30BF_INSN_BGT, FR30BF_SFMT_BLED }, -// OBSOLETE { FR30_INSN_BLSD, FR30BF_INSN_BLSD, FR30BF_SFMT_BLSD }, -// OBSOLETE { FR30_INSN_BLS, FR30BF_INSN_BLS, FR30BF_SFMT_BLSD }, -// OBSOLETE { FR30_INSN_BHID, FR30BF_INSN_BHID, FR30BF_SFMT_BLSD }, -// OBSOLETE { FR30_INSN_BHI, FR30BF_INSN_BHI, FR30BF_SFMT_BLSD }, -// OBSOLETE { FR30_INSN_DMOVR13, FR30BF_INSN_DMOVR13, FR30BF_SFMT_DMOVR13 }, -// OBSOLETE { FR30_INSN_DMOVR13H, FR30BF_INSN_DMOVR13H, FR30BF_SFMT_DMOVR13H }, -// OBSOLETE { FR30_INSN_DMOVR13B, FR30BF_INSN_DMOVR13B, FR30BF_SFMT_DMOVR13B }, -// OBSOLETE { FR30_INSN_DMOVR13PI, FR30BF_INSN_DMOVR13PI, FR30BF_SFMT_DMOVR13PI }, -// OBSOLETE { FR30_INSN_DMOVR13PIH, FR30BF_INSN_DMOVR13PIH, FR30BF_SFMT_DMOVR13PIH }, -// OBSOLETE { FR30_INSN_DMOVR13PIB, FR30BF_INSN_DMOVR13PIB, FR30BF_SFMT_DMOVR13PIB }, -// OBSOLETE { FR30_INSN_DMOVR15PI, FR30BF_INSN_DMOVR15PI, FR30BF_SFMT_DMOVR15PI }, -// OBSOLETE { FR30_INSN_DMOV2R13, FR30BF_INSN_DMOV2R13, FR30BF_SFMT_DMOV2R13 }, -// OBSOLETE { FR30_INSN_DMOV2R13H, FR30BF_INSN_DMOV2R13H, FR30BF_SFMT_DMOV2R13H }, -// OBSOLETE { FR30_INSN_DMOV2R13B, FR30BF_INSN_DMOV2R13B, FR30BF_SFMT_DMOV2R13B }, -// OBSOLETE { FR30_INSN_DMOV2R13PI, FR30BF_INSN_DMOV2R13PI, FR30BF_SFMT_DMOV2R13PI }, -// OBSOLETE { FR30_INSN_DMOV2R13PIH, FR30BF_INSN_DMOV2R13PIH, FR30BF_SFMT_DMOV2R13PIH }, -// OBSOLETE { FR30_INSN_DMOV2R13PIB, FR30BF_INSN_DMOV2R13PIB, FR30BF_SFMT_DMOV2R13PIB }, -// OBSOLETE { FR30_INSN_DMOV2R15PD, FR30BF_INSN_DMOV2R15PD, FR30BF_SFMT_DMOV2R15PD }, -// OBSOLETE { FR30_INSN_LDRES, FR30BF_INSN_LDRES, FR30BF_SFMT_LDRES }, -// OBSOLETE { FR30_INSN_STRES, FR30BF_INSN_STRES, FR30BF_SFMT_LDRES }, -// OBSOLETE { FR30_INSN_COPOP, FR30BF_INSN_COPOP, FR30BF_SFMT_COPOP }, -// OBSOLETE { FR30_INSN_COPLD, FR30BF_INSN_COPLD, FR30BF_SFMT_COPOP }, -// OBSOLETE { FR30_INSN_COPST, FR30BF_INSN_COPST, FR30BF_SFMT_COPOP }, -// OBSOLETE { FR30_INSN_COPSV, FR30BF_INSN_COPSV, FR30BF_SFMT_COPOP }, -// OBSOLETE { FR30_INSN_NOP, FR30BF_INSN_NOP, FR30BF_SFMT_BNOD }, -// OBSOLETE { FR30_INSN_ANDCCR, FR30BF_INSN_ANDCCR, FR30BF_SFMT_ANDCCR }, -// OBSOLETE { FR30_INSN_ORCCR, FR30BF_INSN_ORCCR, FR30BF_SFMT_ANDCCR }, -// OBSOLETE { FR30_INSN_STILM, FR30BF_INSN_STILM, FR30BF_SFMT_STILM }, -// OBSOLETE { FR30_INSN_ADDSP, FR30BF_INSN_ADDSP, FR30BF_SFMT_ADDSP }, -// OBSOLETE { FR30_INSN_EXTSB, FR30BF_INSN_EXTSB, FR30BF_SFMT_EXTSB }, -// OBSOLETE { FR30_INSN_EXTUB, FR30BF_INSN_EXTUB, FR30BF_SFMT_EXTUB }, -// OBSOLETE { FR30_INSN_EXTSH, FR30BF_INSN_EXTSH, FR30BF_SFMT_EXTSH }, -// OBSOLETE { FR30_INSN_EXTUH, FR30BF_INSN_EXTUH, FR30BF_SFMT_EXTUH }, -// OBSOLETE { FR30_INSN_LDM0, FR30BF_INSN_LDM0, FR30BF_SFMT_LDM0 }, -// OBSOLETE { FR30_INSN_LDM1, FR30BF_INSN_LDM1, FR30BF_SFMT_LDM1 }, -// OBSOLETE { FR30_INSN_STM0, FR30BF_INSN_STM0, FR30BF_SFMT_STM0 }, -// OBSOLETE { FR30_INSN_STM1, FR30BF_INSN_STM1, FR30BF_SFMT_STM1 }, -// OBSOLETE { FR30_INSN_ENTER, FR30BF_INSN_ENTER, FR30BF_SFMT_ENTER }, -// OBSOLETE { FR30_INSN_LEAVE, FR30BF_INSN_LEAVE, FR30BF_SFMT_LEAVE }, -// OBSOLETE { FR30_INSN_XCHB, FR30BF_INSN_XCHB, FR30BF_SFMT_XCHB }, -// OBSOLETE }; -// OBSOLETE -// OBSOLETE static const struct insn_sem fr30bf_insn_sem_invalid = { -// OBSOLETE VIRTUAL_INSN_X_INVALID, FR30BF_INSN_X_INVALID, FR30BF_SFMT_EMPTY -// OBSOLETE }; -// OBSOLETE -// OBSOLETE /* Initialize an IDESC from the compile-time computable parts. */ -// OBSOLETE -// OBSOLETE static INLINE void -// OBSOLETE init_idesc (SIM_CPU *cpu, IDESC *id, const struct insn_sem *t) -// OBSOLETE { -// OBSOLETE const CGEN_INSN *insn_table = CGEN_CPU_INSN_TABLE (CPU_CPU_DESC (cpu))->init_entries; -// OBSOLETE -// OBSOLETE id->num = t->index; -// OBSOLETE id->sfmt = t->sfmt; -// OBSOLETE if ((int) t->type <= 0) -// OBSOLETE id->idata = & cgen_virtual_insn_table[- (int) t->type]; -// OBSOLETE else -// OBSOLETE id->idata = & insn_table[t->type]; -// OBSOLETE id->attrs = CGEN_INSN_ATTRS (id->idata); -// OBSOLETE /* Oh my god, a magic number. */ -// OBSOLETE id->length = CGEN_INSN_BITSIZE (id->idata) / 8; -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE id->timing = & MODEL_TIMING (CPU_MODEL (cpu)) [t->index]; -// OBSOLETE { -// OBSOLETE SIM_DESC sd = CPU_STATE (cpu); -// OBSOLETE SIM_ASSERT (t->index == id->timing->num); -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE /* Semantic pointers are initialized elsewhere. */ -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Initialize the instruction descriptor table. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_init_idesc_table (SIM_CPU *cpu) -// OBSOLETE { -// OBSOLETE IDESC *id,*tabend; -// OBSOLETE const struct insn_sem *t,*tend; -// OBSOLETE int tabsize = sizeof (fr30bf_insn_data) / sizeof (IDESC); -// OBSOLETE IDESC *table = fr30bf_insn_data; -// OBSOLETE -// OBSOLETE memset (table, 0, tabsize * sizeof (IDESC)); -// OBSOLETE -// OBSOLETE /* First set all entries to the `invalid insn'. */ -// OBSOLETE t = & fr30bf_insn_sem_invalid; -// OBSOLETE for (id = table, tabend = table + tabsize; id < tabend; ++id) -// OBSOLETE init_idesc (cpu, id, t); -// OBSOLETE -// OBSOLETE /* Now fill in the values for the chosen cpu. */ -// OBSOLETE for (t = fr30bf_insn_sem, tend = t + sizeof (fr30bf_insn_sem) / sizeof (*t); -// OBSOLETE t != tend; ++t) -// OBSOLETE { -// OBSOLETE init_idesc (cpu, & table[t->index], t); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Link the IDESC table into the cpu. */ -// OBSOLETE CPU_IDESC (cpu) = table; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Given an instruction, return a pointer to its IDESC entry. */ -// OBSOLETE -// OBSOLETE const IDESC * -// OBSOLETE fr30bf_decode (SIM_CPU *current_cpu, IADDR pc, -// OBSOLETE CGEN_INSN_INT base_insn, -// OBSOLETE ARGBUF *abuf) -// OBSOLETE { -// OBSOLETE /* Result of decoder. */ -// OBSOLETE FR30BF_INSN_TYPE itype; -// OBSOLETE -// OBSOLETE { -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE -// OBSOLETE { -// OBSOLETE unsigned int val = (((insn >> 8) & (255 << 0))); -// OBSOLETE switch (val) -// OBSOLETE { -// OBSOLETE case 0 : itype = FR30BF_INSN_LDR13;goto extract_sfmt_ldr13; -// OBSOLETE case 1 : itype = FR30BF_INSN_LDR13UH;goto extract_sfmt_ldr13uh; -// OBSOLETE case 2 : itype = FR30BF_INSN_LDR13UB;goto extract_sfmt_ldr13ub; -// OBSOLETE case 3 : itype = FR30BF_INSN_LDR15;goto extract_sfmt_ldr15; -// OBSOLETE case 4 : itype = FR30BF_INSN_LD;goto extract_sfmt_ld; -// OBSOLETE case 5 : itype = FR30BF_INSN_LDUH;goto extract_sfmt_lduh; -// OBSOLETE case 6 : itype = FR30BF_INSN_LDUB;goto extract_sfmt_ldub; -// OBSOLETE case 7 : -// OBSOLETE { -// OBSOLETE unsigned int val = (((insn >> 6) & (1 << 1)) | ((insn >> 4) & (1 << 0))); -// OBSOLETE switch (val) -// OBSOLETE { -// OBSOLETE case 0 : itype = FR30BF_INSN_LDR15GR;goto extract_sfmt_ldr15gr; -// OBSOLETE case 1 : itype = FR30BF_INSN_MOV2PS;goto extract_sfmt_mov2ps; -// OBSOLETE case 2 : itype = FR30BF_INSN_LDR15DR;goto extract_sfmt_ldr15dr; -// OBSOLETE case 3 : itype = FR30BF_INSN_LDR15PS;goto extract_sfmt_ldr15ps; -// OBSOLETE default : itype = FR30BF_INSN_X_INVALID; goto extract_sfmt_empty; -// OBSOLETE } -// OBSOLETE } -// OBSOLETE case 8 : itype = FR30BF_INSN_DMOV2R13;goto extract_sfmt_dmov2r13; -// OBSOLETE case 9 : itype = FR30BF_INSN_DMOV2R13H;goto extract_sfmt_dmov2r13h; -// OBSOLETE case 10 : itype = FR30BF_INSN_DMOV2R13B;goto extract_sfmt_dmov2r13b; -// OBSOLETE case 11 : itype = FR30BF_INSN_DMOV2R15PD;goto extract_sfmt_dmov2r15pd; -// OBSOLETE case 12 : itype = FR30BF_INSN_DMOV2R13PI;goto extract_sfmt_dmov2r13pi; -// OBSOLETE case 13 : itype = FR30BF_INSN_DMOV2R13PIH;goto extract_sfmt_dmov2r13pih; -// OBSOLETE case 14 : itype = FR30BF_INSN_DMOV2R13PIB;goto extract_sfmt_dmov2r13pib; -// OBSOLETE case 15 : itype = FR30BF_INSN_ENTER;goto extract_sfmt_enter; -// OBSOLETE case 16 : itype = FR30BF_INSN_STR13;goto extract_sfmt_str13; -// OBSOLETE case 17 : itype = FR30BF_INSN_STR13H;goto extract_sfmt_str13h; -// OBSOLETE case 18 : itype = FR30BF_INSN_STR13B;goto extract_sfmt_str13b; -// OBSOLETE case 19 : itype = FR30BF_INSN_STR15;goto extract_sfmt_str15; -// OBSOLETE case 20 : itype = FR30BF_INSN_ST;goto extract_sfmt_st; -// OBSOLETE case 21 : itype = FR30BF_INSN_STH;goto extract_sfmt_sth; -// OBSOLETE case 22 : itype = FR30BF_INSN_STB;goto extract_sfmt_stb; -// OBSOLETE case 23 : -// OBSOLETE { -// OBSOLETE unsigned int val = (((insn >> 6) & (1 << 1)) | ((insn >> 4) & (1 << 0))); -// OBSOLETE switch (val) -// OBSOLETE { -// OBSOLETE case 0 : itype = FR30BF_INSN_STR15GR;goto extract_sfmt_str15gr; -// OBSOLETE case 1 : itype = FR30BF_INSN_MOVPS;goto extract_sfmt_movps; -// OBSOLETE case 2 : itype = FR30BF_INSN_STR15DR;goto extract_sfmt_str15dr; -// OBSOLETE case 3 : itype = FR30BF_INSN_STR15PS;goto extract_sfmt_str15ps; -// OBSOLETE default : itype = FR30BF_INSN_X_INVALID; goto extract_sfmt_empty; -// OBSOLETE } -// OBSOLETE } -// OBSOLETE case 24 : itype = FR30BF_INSN_DMOVR13;goto extract_sfmt_dmovr13; -// OBSOLETE case 25 : itype = FR30BF_INSN_DMOVR13H;goto extract_sfmt_dmovr13h; -// OBSOLETE case 26 : itype = FR30BF_INSN_DMOVR13B;goto extract_sfmt_dmovr13b; -// OBSOLETE case 27 : itype = FR30BF_INSN_DMOVR15PI;goto extract_sfmt_dmovr15pi; -// OBSOLETE case 28 : itype = FR30BF_INSN_DMOVR13PI;goto extract_sfmt_dmovr13pi; -// OBSOLETE case 29 : itype = FR30BF_INSN_DMOVR13PIH;goto extract_sfmt_dmovr13pih; -// OBSOLETE case 30 : itype = FR30BF_INSN_DMOVR13PIB;goto extract_sfmt_dmovr13pib; -// OBSOLETE case 31 : itype = FR30BF_INSN_INT;goto extract_sfmt_int; -// OBSOLETE case 32 : /* fall through */ -// OBSOLETE case 33 : /* fall through */ -// OBSOLETE case 34 : /* fall through */ -// OBSOLETE case 35 : /* fall through */ -// OBSOLETE case 36 : /* fall through */ -// OBSOLETE case 37 : /* fall through */ -// OBSOLETE case 38 : /* fall through */ -// OBSOLETE case 39 : /* fall through */ -// OBSOLETE case 40 : /* fall through */ -// OBSOLETE case 41 : /* fall through */ -// OBSOLETE case 42 : /* fall through */ -// OBSOLETE case 43 : /* fall through */ -// OBSOLETE case 44 : /* fall through */ -// OBSOLETE case 45 : /* fall through */ -// OBSOLETE case 46 : /* fall through */ -// OBSOLETE case 47 : itype = FR30BF_INSN_LDR14;goto extract_sfmt_ldr14; -// OBSOLETE case 48 : /* fall through */ -// OBSOLETE case 49 : /* fall through */ -// OBSOLETE case 50 : /* fall through */ -// OBSOLETE case 51 : /* fall through */ -// OBSOLETE case 52 : /* fall through */ -// OBSOLETE case 53 : /* fall through */ -// OBSOLETE case 54 : /* fall through */ -// OBSOLETE case 55 : /* fall through */ -// OBSOLETE case 56 : /* fall through */ -// OBSOLETE case 57 : /* fall through */ -// OBSOLETE case 58 : /* fall through */ -// OBSOLETE case 59 : /* fall through */ -// OBSOLETE case 60 : /* fall through */ -// OBSOLETE case 61 : /* fall through */ -// OBSOLETE case 62 : /* fall through */ -// OBSOLETE case 63 : itype = FR30BF_INSN_STR14;goto extract_sfmt_str14; -// OBSOLETE case 64 : /* fall through */ -// OBSOLETE case 65 : /* fall through */ -// OBSOLETE case 66 : /* fall through */ -// OBSOLETE case 67 : /* fall through */ -// OBSOLETE case 68 : /* fall through */ -// OBSOLETE case 69 : /* fall through */ -// OBSOLETE case 70 : /* fall through */ -// OBSOLETE case 71 : /* fall through */ -// OBSOLETE case 72 : /* fall through */ -// OBSOLETE case 73 : /* fall through */ -// OBSOLETE case 74 : /* fall through */ -// OBSOLETE case 75 : /* fall through */ -// OBSOLETE case 76 : /* fall through */ -// OBSOLETE case 77 : /* fall through */ -// OBSOLETE case 78 : /* fall through */ -// OBSOLETE case 79 : itype = FR30BF_INSN_LDR14UH;goto extract_sfmt_ldr14uh; -// OBSOLETE case 80 : /* fall through */ -// OBSOLETE case 81 : /* fall through */ -// OBSOLETE case 82 : /* fall through */ -// OBSOLETE case 83 : /* fall through */ -// OBSOLETE case 84 : /* fall through */ -// OBSOLETE case 85 : /* fall through */ -// OBSOLETE case 86 : /* fall through */ -// OBSOLETE case 87 : /* fall through */ -// OBSOLETE case 88 : /* fall through */ -// OBSOLETE case 89 : /* fall through */ -// OBSOLETE case 90 : /* fall through */ -// OBSOLETE case 91 : /* fall through */ -// OBSOLETE case 92 : /* fall through */ -// OBSOLETE case 93 : /* fall through */ -// OBSOLETE case 94 : /* fall through */ -// OBSOLETE case 95 : itype = FR30BF_INSN_STR14H;goto extract_sfmt_str14h; -// OBSOLETE case 96 : /* fall through */ -// OBSOLETE case 97 : /* fall through */ -// OBSOLETE case 98 : /* fall through */ -// OBSOLETE case 99 : /* fall through */ -// OBSOLETE case 100 : /* fall through */ -// OBSOLETE case 101 : /* fall through */ -// OBSOLETE case 102 : /* fall through */ -// OBSOLETE case 103 : /* fall through */ -// OBSOLETE case 104 : /* fall through */ -// OBSOLETE case 105 : /* fall through */ -// OBSOLETE case 106 : /* fall through */ -// OBSOLETE case 107 : /* fall through */ -// OBSOLETE case 108 : /* fall through */ -// OBSOLETE case 109 : /* fall through */ -// OBSOLETE case 110 : /* fall through */ -// OBSOLETE case 111 : itype = FR30BF_INSN_LDR14UB;goto extract_sfmt_ldr14ub; -// OBSOLETE case 112 : /* fall through */ -// OBSOLETE case 113 : /* fall through */ -// OBSOLETE case 114 : /* fall through */ -// OBSOLETE case 115 : /* fall through */ -// OBSOLETE case 116 : /* fall through */ -// OBSOLETE case 117 : /* fall through */ -// OBSOLETE case 118 : /* fall through */ -// OBSOLETE case 119 : /* fall through */ -// OBSOLETE case 120 : /* fall through */ -// OBSOLETE case 121 : /* fall through */ -// OBSOLETE case 122 : /* fall through */ -// OBSOLETE case 123 : /* fall through */ -// OBSOLETE case 124 : /* fall through */ -// OBSOLETE case 125 : /* fall through */ -// OBSOLETE case 126 : /* fall through */ -// OBSOLETE case 127 : itype = FR30BF_INSN_STR14B;goto extract_sfmt_str14b; -// OBSOLETE case 128 : itype = FR30BF_INSN_BANDL;goto extract_sfmt_bandl; -// OBSOLETE case 129 : itype = FR30BF_INSN_BANDH;goto extract_sfmt_bandl; -// OBSOLETE case 130 : itype = FR30BF_INSN_AND;goto extract_sfmt_and; -// OBSOLETE case 131 : itype = FR30BF_INSN_ANDCCR;goto extract_sfmt_andccr; -// OBSOLETE case 132 : itype = FR30BF_INSN_ANDM;goto extract_sfmt_andm; -// OBSOLETE case 133 : itype = FR30BF_INSN_ANDH;goto extract_sfmt_andh; -// OBSOLETE case 134 : itype = FR30BF_INSN_ANDB;goto extract_sfmt_andb; -// OBSOLETE case 135 : itype = FR30BF_INSN_STILM;goto extract_sfmt_stilm; -// OBSOLETE case 136 : itype = FR30BF_INSN_BTSTL;goto extract_sfmt_btstl; -// OBSOLETE case 137 : itype = FR30BF_INSN_BTSTH;goto extract_sfmt_btstl; -// OBSOLETE case 138 : itype = FR30BF_INSN_XCHB;goto extract_sfmt_xchb; -// OBSOLETE case 139 : itype = FR30BF_INSN_MOV;goto extract_sfmt_mov; -// OBSOLETE case 140 : itype = FR30BF_INSN_LDM0;goto extract_sfmt_ldm0; -// OBSOLETE case 141 : itype = FR30BF_INSN_LDM1;goto extract_sfmt_ldm1; -// OBSOLETE case 142 : itype = FR30BF_INSN_STM0;goto extract_sfmt_stm0; -// OBSOLETE case 143 : itype = FR30BF_INSN_STM1;goto extract_sfmt_stm1; -// OBSOLETE case 144 : itype = FR30BF_INSN_BORL;goto extract_sfmt_bandl; -// OBSOLETE case 145 : itype = FR30BF_INSN_BORH;goto extract_sfmt_bandl; -// OBSOLETE case 146 : itype = FR30BF_INSN_OR;goto extract_sfmt_and; -// OBSOLETE case 147 : itype = FR30BF_INSN_ORCCR;goto extract_sfmt_andccr; -// OBSOLETE case 148 : itype = FR30BF_INSN_ORM;goto extract_sfmt_andm; -// OBSOLETE case 149 : itype = FR30BF_INSN_ORH;goto extract_sfmt_andh; -// OBSOLETE case 150 : itype = FR30BF_INSN_ORB;goto extract_sfmt_andb; -// OBSOLETE case 151 : -// OBSOLETE { -// OBSOLETE unsigned int val = (((insn >> 4) & (15 << 0))); -// OBSOLETE switch (val) -// OBSOLETE { -// OBSOLETE case 0 : itype = FR30BF_INSN_JMP;goto extract_sfmt_jmp; -// OBSOLETE case 1 : itype = FR30BF_INSN_CALLR;goto extract_sfmt_callr; -// OBSOLETE case 2 : itype = FR30BF_INSN_RET;goto extract_sfmt_ret; -// OBSOLETE case 3 : itype = FR30BF_INSN_RETI;goto extract_sfmt_reti; -// OBSOLETE case 4 : itype = FR30BF_INSN_DIV0S;goto extract_sfmt_div0s; -// OBSOLETE case 5 : itype = FR30BF_INSN_DIV0U;goto extract_sfmt_div0u; -// OBSOLETE case 6 : itype = FR30BF_INSN_DIV1;goto extract_sfmt_div1; -// OBSOLETE case 7 : itype = FR30BF_INSN_DIV2;goto extract_sfmt_div2; -// OBSOLETE case 8 : itype = FR30BF_INSN_EXTSB;goto extract_sfmt_extsb; -// OBSOLETE case 9 : itype = FR30BF_INSN_EXTUB;goto extract_sfmt_extub; -// OBSOLETE case 10 : itype = FR30BF_INSN_EXTSH;goto extract_sfmt_extsh; -// OBSOLETE case 11 : itype = FR30BF_INSN_EXTUH;goto extract_sfmt_extuh; -// OBSOLETE default : itype = FR30BF_INSN_X_INVALID; goto extract_sfmt_empty; -// OBSOLETE } -// OBSOLETE } -// OBSOLETE case 152 : itype = FR30BF_INSN_BEORL;goto extract_sfmt_bandl; -// OBSOLETE case 153 : itype = FR30BF_INSN_BEORH;goto extract_sfmt_bandl; -// OBSOLETE case 154 : itype = FR30BF_INSN_EOR;goto extract_sfmt_and; -// OBSOLETE case 155 : itype = FR30BF_INSN_LDI20;goto extract_sfmt_ldi20; -// OBSOLETE case 156 : itype = FR30BF_INSN_EORM;goto extract_sfmt_andm; -// OBSOLETE case 157 : itype = FR30BF_INSN_EORH;goto extract_sfmt_andh; -// OBSOLETE case 158 : itype = FR30BF_INSN_EORB;goto extract_sfmt_andb; -// OBSOLETE case 159 : -// OBSOLETE { -// OBSOLETE unsigned int val = (((insn >> 4) & (15 << 0))); -// OBSOLETE switch (val) -// OBSOLETE { -// OBSOLETE case 0 : itype = FR30BF_INSN_JMPD;goto extract_sfmt_jmp; -// OBSOLETE case 1 : itype = FR30BF_INSN_CALLRD;goto extract_sfmt_callr; -// OBSOLETE case 2 : itype = FR30BF_INSN_RET_D;goto extract_sfmt_ret; -// OBSOLETE case 3 : itype = FR30BF_INSN_INTE;goto extract_sfmt_inte; -// OBSOLETE case 6 : itype = FR30BF_INSN_DIV3;goto extract_sfmt_div3; -// OBSOLETE case 7 : itype = FR30BF_INSN_DIV4S;goto extract_sfmt_div4s; -// OBSOLETE case 8 : itype = FR30BF_INSN_LDI32;goto extract_sfmt_ldi32; -// OBSOLETE case 9 : itype = FR30BF_INSN_LEAVE;goto extract_sfmt_leave; -// OBSOLETE case 10 : itype = FR30BF_INSN_NOP;goto extract_sfmt_bnod; -// OBSOLETE case 12 : itype = FR30BF_INSN_COPOP;goto extract_sfmt_copop; -// OBSOLETE case 13 : itype = FR30BF_INSN_COPLD;goto extract_sfmt_copop; -// OBSOLETE case 14 : itype = FR30BF_INSN_COPST;goto extract_sfmt_copop; -// OBSOLETE case 15 : itype = FR30BF_INSN_COPSV;goto extract_sfmt_copop; -// OBSOLETE default : itype = FR30BF_INSN_X_INVALID; goto extract_sfmt_empty; -// OBSOLETE } -// OBSOLETE } -// OBSOLETE case 160 : itype = FR30BF_INSN_ADDNI;goto extract_sfmt_addni; -// OBSOLETE case 161 : itype = FR30BF_INSN_ADDN2;goto extract_sfmt_addn2; -// OBSOLETE case 162 : itype = FR30BF_INSN_ADDN;goto extract_sfmt_addn; -// OBSOLETE case 163 : itype = FR30BF_INSN_ADDSP;goto extract_sfmt_addsp; -// OBSOLETE case 164 : itype = FR30BF_INSN_ADDI;goto extract_sfmt_addi; -// OBSOLETE case 165 : itype = FR30BF_INSN_ADD2;goto extract_sfmt_add2; -// OBSOLETE case 166 : itype = FR30BF_INSN_ADD;goto extract_sfmt_add; -// OBSOLETE case 167 : itype = FR30BF_INSN_ADDC;goto extract_sfmt_addc; -// OBSOLETE case 168 : itype = FR30BF_INSN_CMPI;goto extract_sfmt_cmpi; -// OBSOLETE case 169 : itype = FR30BF_INSN_CMP2;goto extract_sfmt_cmp2; -// OBSOLETE case 170 : itype = FR30BF_INSN_CMP;goto extract_sfmt_cmp; -// OBSOLETE case 171 : itype = FR30BF_INSN_MULU;goto extract_sfmt_mulu; -// OBSOLETE case 172 : itype = FR30BF_INSN_SUB;goto extract_sfmt_add; -// OBSOLETE case 173 : itype = FR30BF_INSN_SUBC;goto extract_sfmt_addc; -// OBSOLETE case 174 : itype = FR30BF_INSN_SUBN;goto extract_sfmt_addn; -// OBSOLETE case 175 : itype = FR30BF_INSN_MUL;goto extract_sfmt_mul; -// OBSOLETE case 176 : itype = FR30BF_INSN_LSRI;goto extract_sfmt_lsli; -// OBSOLETE case 177 : itype = FR30BF_INSN_LSR2;goto extract_sfmt_lsli; -// OBSOLETE case 178 : itype = FR30BF_INSN_LSR;goto extract_sfmt_lsl; -// OBSOLETE case 179 : itype = FR30BF_INSN_MOV2DR;goto extract_sfmt_mov2dr; -// OBSOLETE case 180 : itype = FR30BF_INSN_LSLI;goto extract_sfmt_lsli; -// OBSOLETE case 181 : itype = FR30BF_INSN_LSL2;goto extract_sfmt_lsli; -// OBSOLETE case 182 : itype = FR30BF_INSN_LSL;goto extract_sfmt_lsl; -// OBSOLETE case 183 : itype = FR30BF_INSN_MOVDR;goto extract_sfmt_movdr; -// OBSOLETE case 184 : itype = FR30BF_INSN_ASRI;goto extract_sfmt_lsli; -// OBSOLETE case 185 : itype = FR30BF_INSN_ASR2;goto extract_sfmt_lsli; -// OBSOLETE case 186 : itype = FR30BF_INSN_ASR;goto extract_sfmt_lsl; -// OBSOLETE case 187 : itype = FR30BF_INSN_MULUH;goto extract_sfmt_mulh; -// OBSOLETE case 188 : itype = FR30BF_INSN_LDRES;goto extract_sfmt_ldres; -// OBSOLETE case 189 : itype = FR30BF_INSN_STRES;goto extract_sfmt_ldres; -// OBSOLETE case 191 : itype = FR30BF_INSN_MULH;goto extract_sfmt_mulh; -// OBSOLETE case 192 : /* fall through */ -// OBSOLETE case 193 : /* fall through */ -// OBSOLETE case 194 : /* fall through */ -// OBSOLETE case 195 : /* fall through */ -// OBSOLETE case 196 : /* fall through */ -// OBSOLETE case 197 : /* fall through */ -// OBSOLETE case 198 : /* fall through */ -// OBSOLETE case 199 : /* fall through */ -// OBSOLETE case 200 : /* fall through */ -// OBSOLETE case 201 : /* fall through */ -// OBSOLETE case 202 : /* fall through */ -// OBSOLETE case 203 : /* fall through */ -// OBSOLETE case 204 : /* fall through */ -// OBSOLETE case 205 : /* fall through */ -// OBSOLETE case 206 : /* fall through */ -// OBSOLETE case 207 : itype = FR30BF_INSN_LDI8;goto extract_sfmt_ldi8; -// OBSOLETE case 208 : /* fall through */ -// OBSOLETE case 209 : /* fall through */ -// OBSOLETE case 210 : /* fall through */ -// OBSOLETE case 211 : /* fall through */ -// OBSOLETE case 212 : /* fall through */ -// OBSOLETE case 213 : /* fall through */ -// OBSOLETE case 214 : /* fall through */ -// OBSOLETE case 215 : itype = FR30BF_INSN_CALL;goto extract_sfmt_call; -// OBSOLETE case 216 : /* fall through */ -// OBSOLETE case 217 : /* fall through */ -// OBSOLETE case 218 : /* fall through */ -// OBSOLETE case 219 : /* fall through */ -// OBSOLETE case 220 : /* fall through */ -// OBSOLETE case 221 : /* fall through */ -// OBSOLETE case 222 : /* fall through */ -// OBSOLETE case 223 : itype = FR30BF_INSN_CALLD;goto extract_sfmt_call; -// OBSOLETE case 224 : itype = FR30BF_INSN_BRA;goto extract_sfmt_brad; -// OBSOLETE case 225 : itype = FR30BF_INSN_BNO;goto extract_sfmt_bnod; -// OBSOLETE case 226 : itype = FR30BF_INSN_BEQ;goto extract_sfmt_beqd; -// OBSOLETE case 227 : itype = FR30BF_INSN_BNE;goto extract_sfmt_beqd; -// OBSOLETE case 228 : itype = FR30BF_INSN_BC;goto extract_sfmt_bcd; -// OBSOLETE case 229 : itype = FR30BF_INSN_BNC;goto extract_sfmt_bcd; -// OBSOLETE case 230 : itype = FR30BF_INSN_BN;goto extract_sfmt_bnd; -// OBSOLETE case 231 : itype = FR30BF_INSN_BP;goto extract_sfmt_bnd; -// OBSOLETE case 232 : itype = FR30BF_INSN_BV;goto extract_sfmt_bvd; -// OBSOLETE case 233 : itype = FR30BF_INSN_BNV;goto extract_sfmt_bvd; -// OBSOLETE case 234 : itype = FR30BF_INSN_BLT;goto extract_sfmt_bltd; -// OBSOLETE case 235 : itype = FR30BF_INSN_BGE;goto extract_sfmt_bltd; -// OBSOLETE case 236 : itype = FR30BF_INSN_BLE;goto extract_sfmt_bled; -// OBSOLETE case 237 : itype = FR30BF_INSN_BGT;goto extract_sfmt_bled; -// OBSOLETE case 238 : itype = FR30BF_INSN_BLS;goto extract_sfmt_blsd; -// OBSOLETE case 239 : itype = FR30BF_INSN_BHI;goto extract_sfmt_blsd; -// OBSOLETE case 240 : itype = FR30BF_INSN_BRAD;goto extract_sfmt_brad; -// OBSOLETE case 241 : itype = FR30BF_INSN_BNOD;goto extract_sfmt_bnod; -// OBSOLETE case 242 : itype = FR30BF_INSN_BEQD;goto extract_sfmt_beqd; -// OBSOLETE case 243 : itype = FR30BF_INSN_BNED;goto extract_sfmt_beqd; -// OBSOLETE case 244 : itype = FR30BF_INSN_BCD;goto extract_sfmt_bcd; -// OBSOLETE case 245 : itype = FR30BF_INSN_BNCD;goto extract_sfmt_bcd; -// OBSOLETE case 246 : itype = FR30BF_INSN_BND;goto extract_sfmt_bnd; -// OBSOLETE case 247 : itype = FR30BF_INSN_BPD;goto extract_sfmt_bnd; -// OBSOLETE case 248 : itype = FR30BF_INSN_BVD;goto extract_sfmt_bvd; -// OBSOLETE case 249 : itype = FR30BF_INSN_BNVD;goto extract_sfmt_bvd; -// OBSOLETE case 250 : itype = FR30BF_INSN_BLTD;goto extract_sfmt_bltd; -// OBSOLETE case 251 : itype = FR30BF_INSN_BGED;goto extract_sfmt_bltd; -// OBSOLETE case 252 : itype = FR30BF_INSN_BLED;goto extract_sfmt_bled; -// OBSOLETE case 253 : itype = FR30BF_INSN_BGTD;goto extract_sfmt_bled; -// OBSOLETE case 254 : itype = FR30BF_INSN_BLSD;goto extract_sfmt_blsd; -// OBSOLETE case 255 : itype = FR30BF_INSN_BHID;goto extract_sfmt_blsd; -// OBSOLETE default : itype = FR30BF_INSN_X_INVALID; goto extract_sfmt_empty; -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* The instruction has been decoded, now extract the fields. */ -// OBSOLETE -// OBSOLETE extract_sfmt_empty: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_empty", (char *) 0)); -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_add: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_add", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_addi: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE UINT f_u4; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_u4) = f_u4; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addi", "f_Ri 0x%x", 'x', f_Ri, "f_u4 0x%x", 'x', f_u4, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_add2: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE SI f_m4; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_m4 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 4)) | (((-1) << (4)))); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_m4) = f_m4; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_add2", "f_Ri 0x%x", 'x', f_Ri, "f_m4 0x%x", 'x', f_m4, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_addc: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addc", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_addn: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addn", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_addni: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE UINT f_u4; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_u4) = f_u4; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addni", "f_Ri 0x%x", 'x', f_Ri, "f_u4 0x%x", 'x', f_u4, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_addn2: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE SI f_m4; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_m4 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 4)) | (((-1) << (4)))); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_m4) = f_m4; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addn2", "f_Ri 0x%x", 'x', f_Ri, "f_m4 0x%x", 'x', f_m4, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_cmp: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmp", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_cmpi: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE UINT f_u4; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_u4) = f_u4; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmpi", "f_Ri 0x%x", 'x', f_Ri, "f_u4 0x%x", 'x', f_u4, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_cmp2: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE SI f_m4; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_m4 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 4)) | (((-1) << (4)))); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_m4) = f_m4; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmp2", "f_Ri 0x%x", 'x', f_Ri, "f_m4 0x%x", 'x', f_m4, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_and: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_and", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_andm: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_andm", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_andh: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_andh", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_andb: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_andb", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_bandl: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE UINT f_u4; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_u4) = f_u4; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bandl", "f_Ri 0x%x", 'x', f_Ri, "f_u4 0x%x", 'x', f_u4, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_btstl: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE UINT f_u4; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_u4) = f_u4; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_btstl", "f_Ri 0x%x", 'x', f_Ri, "f_u4 0x%x", 'x', f_u4, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_mul: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mul", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_mulu: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mulu", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_mulh: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mulh", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_div0s: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_div0s", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_div0u: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_div0u", (char *) 0)); -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_div1: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_div1", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_div2: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_div2", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_div3: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_div3", (char *) 0)); -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_div4s: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_div4s", (char *) 0)); -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_lsl: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lsl", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_lsli: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE UINT f_u4; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_u4) = f_u4; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lsli", "f_Ri 0x%x", 'x', f_Ri, "f_u4 0x%x", 'x', f_u4, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldi8: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi8.f -// OBSOLETE UINT f_i8; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_i8 = EXTRACT_MSB0_UINT (insn, 16, 4, 8); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_i8) = f_i8; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldi8", "f_i8 0x%x", 'x', f_i8, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldi20: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi20.f -// OBSOLETE UINT f_i20_16; -// OBSOLETE UINT f_i20_4; -// OBSOLETE UINT f_Ri; -// OBSOLETE UINT f_i20; -// OBSOLETE /* Contents of trailing part of insn. */ -// OBSOLETE UINT word_1; -// OBSOLETE -// OBSOLETE word_1 = GETIMEMUHI (current_cpu, pc + 2); -// OBSOLETE f_i20_16 = (0|(EXTRACT_MSB0_UINT (word_1, 16, 0, 16) << 0)); -// OBSOLETE f_i20_4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE { -// OBSOLETE f_i20 = ((((f_i20_4) << (16))) | (f_i20_16)); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_i20) = f_i20; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldi20", "f_i20 0x%x", 'x', f_i20, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldi32: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi32.f -// OBSOLETE UINT f_i32; -// OBSOLETE UINT f_Ri; -// OBSOLETE /* Contents of trailing part of insn. */ -// OBSOLETE UINT word_1; -// OBSOLETE UINT word_2; -// OBSOLETE -// OBSOLETE word_1 = GETIMEMUHI (current_cpu, pc + 2); -// OBSOLETE word_2 = GETIMEMUHI (current_cpu, pc + 4); -// OBSOLETE f_i32 = (0|(EXTRACT_MSB0_UINT (word_2, 16, 0, 16) << 0)|(EXTRACT_MSB0_UINT (word_1, 16, 0, 16) << 16)); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_i32) = f_i32; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldi32", "f_i32 0x%x", 'x', f_i32, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ld: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ld", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_lduh: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lduh", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldub: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldub", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldr13: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr13", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldr13uh: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr13uh", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldr13ub: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr13ub", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldr14: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14.f -// OBSOLETE SI f_disp10; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_disp10 = ((EXTRACT_MSB0_INT (insn, 16, 4, 8)) << (2)); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_disp10) = f_disp10; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr14", "f_disp10 0x%x", 'x', f_disp10, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_14) = 14; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldr14uh: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14uh.f -// OBSOLETE SI f_disp9; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_disp9 = ((EXTRACT_MSB0_INT (insn, 16, 4, 8)) << (1)); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_disp9) = f_disp9; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr14uh", "f_disp9 0x%x", 'x', f_disp9, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_14) = 14; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldr14ub: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14ub.f -// OBSOLETE INT f_disp8; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_disp8 = EXTRACT_MSB0_INT (insn, 16, 4, 8); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_disp8) = f_disp8; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr14ub", "f_disp8 0x%x", 'x', f_disp8, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_14) = 14; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldr15: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15.f -// OBSOLETE USI f_udisp6; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_udisp6 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 4)) << (2)); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_udisp6) = f_udisp6; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr15", "f_udisp6 0x%x", 'x', f_udisp6, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldr15gr: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15gr.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr15gr", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldr15dr: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15dr.f -// OBSOLETE UINT f_Rs2; -// OBSOLETE -// OBSOLETE f_Rs2 = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Rs2) = f_Rs2; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr15dr", "f_Rs2 0x%x", 'x', f_Rs2, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldr15ps: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr15ps", (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_st: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_st", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_sth: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_sth", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_stb: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stb", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_str13: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str13", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_str13h: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str13h", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_str13b: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str13b", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_str14: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14.f -// OBSOLETE SI f_disp10; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_disp10 = ((EXTRACT_MSB0_INT (insn, 16, 4, 8)) << (2)); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_disp10) = f_disp10; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str14", "f_Ri 0x%x", 'x', f_Ri, "f_disp10 0x%x", 'x', f_disp10, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_h_gr_SI_14) = 14; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_str14h: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14h.f -// OBSOLETE SI f_disp9; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_disp9 = ((EXTRACT_MSB0_INT (insn, 16, 4, 8)) << (1)); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_disp9) = f_disp9; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str14h", "f_Ri 0x%x", 'x', f_Ri, "f_disp9 0x%x", 'x', f_disp9, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_h_gr_SI_14) = 14; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_str14b: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14b.f -// OBSOLETE INT f_disp8; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_disp8 = EXTRACT_MSB0_INT (insn, 16, 4, 8); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_disp8) = f_disp8; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str14b", "f_Ri 0x%x", 'x', f_Ri, "f_disp8 0x%x", 'x', f_disp8, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_h_gr_SI_14) = 14; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_str15: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str15.f -// OBSOLETE USI f_udisp6; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_udisp6 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 4)) << (2)); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_udisp6) = f_udisp6; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str15", "f_Ri 0x%x", 'x', f_Ri, "f_udisp6 0x%x", 'x', f_udisp6, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_str15gr: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str15gr.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str15gr", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_str15dr: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15dr.f -// OBSOLETE UINT f_Rs2; -// OBSOLETE -// OBSOLETE f_Rs2 = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Rs2) = f_Rs2; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str15dr", "f_Rs2 0x%x", 'x', f_Rs2, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_str15ps: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str15ps", (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_mov: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mov", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_movdr: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_movdr.f -// OBSOLETE UINT f_Rs1; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rs1 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Rs1) = f_Rs1; -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_movdr", "f_Rs1 0x%x", 'x', f_Rs1, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_movps: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_movdr.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_movps", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_mov2dr: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE UINT f_Rs1; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rs1 = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rs1) = f_Rs1; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mov2dr", "f_Ri 0x%x", 'x', f_Ri, "f_Rs1 0x%x", 'x', f_Rs1, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_mov2ps: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mov2ps", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_jmp: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_jmp", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_callr: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_callr", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_call: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_call.f -// OBSOLETE SI f_rel12; -// OBSOLETE -// OBSOLETE f_rel12 = ((((EXTRACT_MSB0_INT (insn, 16, 5, 11)) << (1))) + (((pc) + (2)))); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (i_label12) = f_rel12; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_call", "label12 0x%x", 'x', f_rel12, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ret: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ret", (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_int: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE UINT f_u8; -// OBSOLETE -// OBSOLETE f_u8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_u8) = f_u8; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_int", "f_u8 0x%x", 'x', f_u8, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_inte: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_inte", (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_reti: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_reti", (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_brad: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE SI f_rel9; -// OBSOLETE -// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2)))); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (i_label9) = f_rel9; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_brad", "label9 0x%x", 'x', f_rel9, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_bnod: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bnod", (char *) 0)); -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_beqd: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE SI f_rel9; -// OBSOLETE -// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2)))); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (i_label9) = f_rel9; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_beqd", "label9 0x%x", 'x', f_rel9, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_bcd: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE SI f_rel9; -// OBSOLETE -// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2)))); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (i_label9) = f_rel9; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bcd", "label9 0x%x", 'x', f_rel9, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_bnd: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE SI f_rel9; -// OBSOLETE -// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2)))); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (i_label9) = f_rel9; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bnd", "label9 0x%x", 'x', f_rel9, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_bvd: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE SI f_rel9; -// OBSOLETE -// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2)))); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (i_label9) = f_rel9; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bvd", "label9 0x%x", 'x', f_rel9, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_bltd: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE SI f_rel9; -// OBSOLETE -// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2)))); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (i_label9) = f_rel9; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bltd", "label9 0x%x", 'x', f_rel9, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_bled: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE SI f_rel9; -// OBSOLETE -// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2)))); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (i_label9) = f_rel9; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bled", "label9 0x%x", 'x', f_rel9, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_blsd: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE SI f_rel9; -// OBSOLETE -// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2)))); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (i_label9) = f_rel9; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_blsd", "label9 0x%x", 'x', f_rel9, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmovr13: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE USI f_dir10; -// OBSOLETE -// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2)); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir10) = f_dir10; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr13", "f_dir10 0x%x", 'x', f_dir10, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmovr13h: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE USI f_dir9; -// OBSOLETE -// OBSOLETE f_dir9 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (1)); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir9) = f_dir9; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr13h", "f_dir9 0x%x", 'x', f_dir9, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmovr13b: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE UINT f_dir8; -// OBSOLETE -// OBSOLETE f_dir8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir8) = f_dir8; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr13b", "f_dir8 0x%x", 'x', f_dir8, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmovr13pi: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE USI f_dir10; -// OBSOLETE -// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2)); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir10) = f_dir10; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr13pi", "f_dir10 0x%x", 'x', f_dir10, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE FLD (out_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmovr13pih: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE USI f_dir9; -// OBSOLETE -// OBSOLETE f_dir9 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (1)); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir9) = f_dir9; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr13pih", "f_dir9 0x%x", 'x', f_dir9, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE FLD (out_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmovr13pib: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE UINT f_dir8; -// OBSOLETE -// OBSOLETE f_dir8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir8) = f_dir8; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr13pib", "f_dir8 0x%x", 'x', f_dir8, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE FLD (out_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmovr15pi: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr15pi.f -// OBSOLETE USI f_dir10; -// OBSOLETE -// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2)); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir10) = f_dir10; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr15pi", "f_dir10 0x%x", 'x', f_dir10, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmov2r13: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE USI f_dir10; -// OBSOLETE -// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2)); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir10) = f_dir10; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r13", "f_dir10 0x%x", 'x', f_dir10, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (out_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmov2r13h: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE USI f_dir9; -// OBSOLETE -// OBSOLETE f_dir9 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (1)); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir9) = f_dir9; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r13h", "f_dir9 0x%x", 'x', f_dir9, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (out_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmov2r13b: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE UINT f_dir8; -// OBSOLETE -// OBSOLETE f_dir8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir8) = f_dir8; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r13b", "f_dir8 0x%x", 'x', f_dir8, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (out_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmov2r13pi: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE USI f_dir10; -// OBSOLETE -// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2)); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir10) = f_dir10; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r13pi", "f_dir10 0x%x", 'x', f_dir10, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE FLD (out_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmov2r13pih: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE USI f_dir9; -// OBSOLETE -// OBSOLETE f_dir9 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (1)); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir9) = f_dir9; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r13pih", "f_dir9 0x%x", 'x', f_dir9, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE FLD (out_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmov2r13pib: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE UINT f_dir8; -// OBSOLETE -// OBSOLETE f_dir8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir8) = f_dir8; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r13pib", "f_dir8 0x%x", 'x', f_dir8, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE FLD (out_h_gr_SI_13) = 13; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_dmov2r15pd: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr15pi.f -// OBSOLETE USI f_dir10; -// OBSOLETE -// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2)); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_dir10) = f_dir10; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r15pd", "f_dir10 0x%x", 'x', f_dir10, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldres: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldres", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_copop: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE /* Contents of trailing part of insn. */ -// OBSOLETE UINT word_1; -// OBSOLETE -// OBSOLETE word_1 = GETIMEMUHI (current_cpu, pc + 2); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_copop", (char *) 0)); -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_andccr: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE UINT f_u8; -// OBSOLETE -// OBSOLETE f_u8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_u8) = f_u8; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_andccr", "f_u8 0x%x", 'x', f_u8, (char *) 0)); -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_stilm: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE UINT f_u8; -// OBSOLETE -// OBSOLETE f_u8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_u8) = f_u8; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stilm", "f_u8 0x%x", 'x', f_u8, (char *) 0)); -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_addsp: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f -// OBSOLETE SI f_s10; -// OBSOLETE -// OBSOLETE f_s10 = ((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (2)); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_s10) = f_s10; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addsp", "f_s10 0x%x", 'x', f_s10, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_extsb: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_extsb", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_extub: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_extub", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_extsh: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_extsh", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_extuh: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_extuh", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldm0: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldm0.f -// OBSOLETE UINT f_reglist_low_ld; -// OBSOLETE -// OBSOLETE f_reglist_low_ld = EXTRACT_MSB0_UINT (insn, 16, 8, 8); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_reglist_low_ld) = f_reglist_low_ld; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldm0", "f_reglist_low_ld 0x%x", 'x', f_reglist_low_ld, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_0) = 0; -// OBSOLETE FLD (out_h_gr_SI_1) = 1; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_2) = 2; -// OBSOLETE FLD (out_h_gr_SI_3) = 3; -// OBSOLETE FLD (out_h_gr_SI_4) = 4; -// OBSOLETE FLD (out_h_gr_SI_5) = 5; -// OBSOLETE FLD (out_h_gr_SI_6) = 6; -// OBSOLETE FLD (out_h_gr_SI_7) = 7; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_ldm1: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldm1.f -// OBSOLETE UINT f_reglist_hi_ld; -// OBSOLETE -// OBSOLETE f_reglist_hi_ld = EXTRACT_MSB0_UINT (insn, 16, 8, 8); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_reglist_hi_ld) = f_reglist_hi_ld; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldm1", "f_reglist_hi_ld 0x%x", 'x', f_reglist_hi_ld, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_10) = 10; -// OBSOLETE FLD (out_h_gr_SI_11) = 11; -// OBSOLETE FLD (out_h_gr_SI_12) = 12; -// OBSOLETE FLD (out_h_gr_SI_13) = 13; -// OBSOLETE FLD (out_h_gr_SI_14) = 14; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_8) = 8; -// OBSOLETE FLD (out_h_gr_SI_9) = 9; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_stm0: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_stm0.f -// OBSOLETE UINT f_reglist_low_st; -// OBSOLETE -// OBSOLETE f_reglist_low_st = EXTRACT_MSB0_UINT (insn, 16, 8, 8); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_reglist_low_st) = f_reglist_low_st; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stm0", "f_reglist_low_st 0x%x", 'x', f_reglist_low_st, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_0) = 0; -// OBSOLETE FLD (in_h_gr_SI_1) = 1; -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (in_h_gr_SI_2) = 2; -// OBSOLETE FLD (in_h_gr_SI_3) = 3; -// OBSOLETE FLD (in_h_gr_SI_4) = 4; -// OBSOLETE FLD (in_h_gr_SI_5) = 5; -// OBSOLETE FLD (in_h_gr_SI_6) = 6; -// OBSOLETE FLD (in_h_gr_SI_7) = 7; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_stm1: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_stm1.f -// OBSOLETE UINT f_reglist_hi_st; -// OBSOLETE -// OBSOLETE f_reglist_hi_st = EXTRACT_MSB0_UINT (insn, 16, 8, 8); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_reglist_hi_st) = f_reglist_hi_st; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stm1", "f_reglist_hi_st 0x%x", 'x', f_reglist_hi_st, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_10) = 10; -// OBSOLETE FLD (in_h_gr_SI_11) = 11; -// OBSOLETE FLD (in_h_gr_SI_12) = 12; -// OBSOLETE FLD (in_h_gr_SI_13) = 13; -// OBSOLETE FLD (in_h_gr_SI_14) = 14; -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (in_h_gr_SI_8) = 8; -// OBSOLETE FLD (in_h_gr_SI_9) = 9; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_enter: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_enter.f -// OBSOLETE USI f_u10; -// OBSOLETE -// OBSOLETE f_u10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2)); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_u10) = f_u10; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_enter", "f_u10 0x%x", 'x', f_u10, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_14) = 14; -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_14) = 14; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_leave: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_enter.f -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_leave", (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_h_gr_SI_14) = 14; -// OBSOLETE FLD (in_h_gr_SI_15) = 15; -// OBSOLETE FLD (out_h_gr_SI_14) = 14; -// OBSOLETE FLD (out_h_gr_SI_15) = 15; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE extract_sfmt_xchb: -// OBSOLETE { -// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype]; -// OBSOLETE CGEN_INSN_INT insn = base_insn; -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE UINT f_Rj; -// OBSOLETE UINT f_Ri; -// OBSOLETE -// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4); -// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4); -// OBSOLETE -// OBSOLETE /* Record the fields for the semantic handler. */ -// OBSOLETE FLD (f_Ri) = f_Ri; -// OBSOLETE FLD (f_Rj) = f_Rj; -// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri]; -// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj]; -// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_xchb", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0)); -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE /* Record the fields for profiling. */ -// OBSOLETE if (PROFILE_MODEL_P (current_cpu)) -// OBSOLETE { -// OBSOLETE FLD (in_Ri) = f_Ri; -// OBSOLETE FLD (in_Rj) = f_Rj; -// OBSOLETE FLD (out_Ri) = f_Ri; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE #undef FLD -// OBSOLETE return idesc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE } diff --git a/sim/fr30/decode.h b/sim/fr30/decode.h deleted file mode 100644 index 452c3f9..0000000 --- a/sim/fr30/decode.h +++ /dev/null @@ -1,127 +0,0 @@ -// OBSOLETE /* Decode header for fr30bf. -// OBSOLETE -// OBSOLETE THIS FILE IS MACHINE GENERATED WITH CGEN. -// OBSOLETE -// OBSOLETE Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// OBSOLETE -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #ifndef FR30BF_DECODE_H -// OBSOLETE #define FR30BF_DECODE_H -// OBSOLETE -// OBSOLETE extern const IDESC *fr30bf_decode (SIM_CPU *, IADDR, -// OBSOLETE CGEN_INSN_INT, -// OBSOLETE ARGBUF *); -// OBSOLETE extern void fr30bf_init_idesc_table (SIM_CPU *); -// OBSOLETE extern void fr30bf_sem_init_idesc_table (SIM_CPU *); -// OBSOLETE extern void fr30bf_semf_init_idesc_table (SIM_CPU *); -// OBSOLETE -// OBSOLETE /* Enum declaration for instructions in cpu family fr30bf. */ -// OBSOLETE typedef enum fr30bf_insn_type { -// OBSOLETE FR30BF_INSN_X_INVALID, FR30BF_INSN_X_AFTER, FR30BF_INSN_X_BEFORE, FR30BF_INSN_X_CTI_CHAIN -// OBSOLETE , FR30BF_INSN_X_CHAIN, FR30BF_INSN_X_BEGIN, FR30BF_INSN_ADD, FR30BF_INSN_ADDI -// OBSOLETE , FR30BF_INSN_ADD2, FR30BF_INSN_ADDC, FR30BF_INSN_ADDN, FR30BF_INSN_ADDNI -// OBSOLETE , FR30BF_INSN_ADDN2, FR30BF_INSN_SUB, FR30BF_INSN_SUBC, FR30BF_INSN_SUBN -// OBSOLETE , FR30BF_INSN_CMP, FR30BF_INSN_CMPI, FR30BF_INSN_CMP2, FR30BF_INSN_AND -// OBSOLETE , FR30BF_INSN_OR, FR30BF_INSN_EOR, FR30BF_INSN_ANDM, FR30BF_INSN_ANDH -// OBSOLETE , FR30BF_INSN_ANDB, FR30BF_INSN_ORM, FR30BF_INSN_ORH, FR30BF_INSN_ORB -// OBSOLETE , FR30BF_INSN_EORM, FR30BF_INSN_EORH, FR30BF_INSN_EORB, FR30BF_INSN_BANDL -// OBSOLETE , FR30BF_INSN_BORL, FR30BF_INSN_BEORL, FR30BF_INSN_BANDH, FR30BF_INSN_BORH -// OBSOLETE , FR30BF_INSN_BEORH, FR30BF_INSN_BTSTL, FR30BF_INSN_BTSTH, FR30BF_INSN_MUL -// OBSOLETE , FR30BF_INSN_MULU, FR30BF_INSN_MULH, FR30BF_INSN_MULUH, FR30BF_INSN_DIV0S -// OBSOLETE , FR30BF_INSN_DIV0U, FR30BF_INSN_DIV1, FR30BF_INSN_DIV2, FR30BF_INSN_DIV3 -// OBSOLETE , FR30BF_INSN_DIV4S, FR30BF_INSN_LSL, FR30BF_INSN_LSLI, FR30BF_INSN_LSL2 -// OBSOLETE , FR30BF_INSN_LSR, FR30BF_INSN_LSRI, FR30BF_INSN_LSR2, FR30BF_INSN_ASR -// OBSOLETE , FR30BF_INSN_ASRI, FR30BF_INSN_ASR2, FR30BF_INSN_LDI8, FR30BF_INSN_LDI20 -// OBSOLETE , FR30BF_INSN_LDI32, FR30BF_INSN_LD, FR30BF_INSN_LDUH, FR30BF_INSN_LDUB -// OBSOLETE , FR30BF_INSN_LDR13, FR30BF_INSN_LDR13UH, FR30BF_INSN_LDR13UB, FR30BF_INSN_LDR14 -// OBSOLETE , FR30BF_INSN_LDR14UH, FR30BF_INSN_LDR14UB, FR30BF_INSN_LDR15, FR30BF_INSN_LDR15GR -// OBSOLETE , FR30BF_INSN_LDR15DR, FR30BF_INSN_LDR15PS, FR30BF_INSN_ST, FR30BF_INSN_STH -// OBSOLETE , FR30BF_INSN_STB, FR30BF_INSN_STR13, FR30BF_INSN_STR13H, FR30BF_INSN_STR13B -// OBSOLETE , FR30BF_INSN_STR14, FR30BF_INSN_STR14H, FR30BF_INSN_STR14B, FR30BF_INSN_STR15 -// OBSOLETE , FR30BF_INSN_STR15GR, FR30BF_INSN_STR15DR, FR30BF_INSN_STR15PS, FR30BF_INSN_MOV -// OBSOLETE , FR30BF_INSN_MOVDR, FR30BF_INSN_MOVPS, FR30BF_INSN_MOV2DR, FR30BF_INSN_MOV2PS -// OBSOLETE , FR30BF_INSN_JMP, FR30BF_INSN_JMPD, FR30BF_INSN_CALLR, FR30BF_INSN_CALLRD -// OBSOLETE , FR30BF_INSN_CALL, FR30BF_INSN_CALLD, FR30BF_INSN_RET, FR30BF_INSN_RET_D -// OBSOLETE , FR30BF_INSN_INT, FR30BF_INSN_INTE, FR30BF_INSN_RETI, FR30BF_INSN_BRAD -// OBSOLETE , FR30BF_INSN_BRA, FR30BF_INSN_BNOD, FR30BF_INSN_BNO, FR30BF_INSN_BEQD -// OBSOLETE , FR30BF_INSN_BEQ, FR30BF_INSN_BNED, FR30BF_INSN_BNE, FR30BF_INSN_BCD -// OBSOLETE , FR30BF_INSN_BC, FR30BF_INSN_BNCD, FR30BF_INSN_BNC, FR30BF_INSN_BND -// OBSOLETE , FR30BF_INSN_BN, FR30BF_INSN_BPD, FR30BF_INSN_BP, FR30BF_INSN_BVD -// OBSOLETE , FR30BF_INSN_BV, FR30BF_INSN_BNVD, FR30BF_INSN_BNV, FR30BF_INSN_BLTD -// OBSOLETE , FR30BF_INSN_BLT, FR30BF_INSN_BGED, FR30BF_INSN_BGE, FR30BF_INSN_BLED -// OBSOLETE , FR30BF_INSN_BLE, FR30BF_INSN_BGTD, FR30BF_INSN_BGT, FR30BF_INSN_BLSD -// OBSOLETE , FR30BF_INSN_BLS, FR30BF_INSN_BHID, FR30BF_INSN_BHI, FR30BF_INSN_DMOVR13 -// OBSOLETE , FR30BF_INSN_DMOVR13H, FR30BF_INSN_DMOVR13B, FR30BF_INSN_DMOVR13PI, FR30BF_INSN_DMOVR13PIH -// OBSOLETE , FR30BF_INSN_DMOVR13PIB, FR30BF_INSN_DMOVR15PI, FR30BF_INSN_DMOV2R13, FR30BF_INSN_DMOV2R13H -// OBSOLETE , FR30BF_INSN_DMOV2R13B, FR30BF_INSN_DMOV2R13PI, FR30BF_INSN_DMOV2R13PIH, FR30BF_INSN_DMOV2R13PIB -// OBSOLETE , FR30BF_INSN_DMOV2R15PD, FR30BF_INSN_LDRES, FR30BF_INSN_STRES, FR30BF_INSN_COPOP -// OBSOLETE , FR30BF_INSN_COPLD, FR30BF_INSN_COPST, FR30BF_INSN_COPSV, FR30BF_INSN_NOP -// OBSOLETE , FR30BF_INSN_ANDCCR, FR30BF_INSN_ORCCR, FR30BF_INSN_STILM, FR30BF_INSN_ADDSP -// OBSOLETE , FR30BF_INSN_EXTSB, FR30BF_INSN_EXTUB, FR30BF_INSN_EXTSH, FR30BF_INSN_EXTUH -// OBSOLETE , FR30BF_INSN_LDM0, FR30BF_INSN_LDM1, FR30BF_INSN_STM0, FR30BF_INSN_STM1 -// OBSOLETE , FR30BF_INSN_ENTER, FR30BF_INSN_LEAVE, FR30BF_INSN_XCHB, FR30BF_INSN_MAX -// OBSOLETE } FR30BF_INSN_TYPE; -// OBSOLETE -// OBSOLETE /* Enum declaration for semantic formats in cpu family fr30bf. */ -// OBSOLETE typedef enum fr30bf_sfmt_type { -// OBSOLETE FR30BF_SFMT_EMPTY, FR30BF_SFMT_ADD, FR30BF_SFMT_ADDI, FR30BF_SFMT_ADD2 -// OBSOLETE , FR30BF_SFMT_ADDC, FR30BF_SFMT_ADDN, FR30BF_SFMT_ADDNI, FR30BF_SFMT_ADDN2 -// OBSOLETE , FR30BF_SFMT_CMP, FR30BF_SFMT_CMPI, FR30BF_SFMT_CMP2, FR30BF_SFMT_AND -// OBSOLETE , FR30BF_SFMT_ANDM, FR30BF_SFMT_ANDH, FR30BF_SFMT_ANDB, FR30BF_SFMT_BANDL -// OBSOLETE , FR30BF_SFMT_BTSTL, FR30BF_SFMT_MUL, FR30BF_SFMT_MULU, FR30BF_SFMT_MULH -// OBSOLETE , FR30BF_SFMT_DIV0S, FR30BF_SFMT_DIV0U, FR30BF_SFMT_DIV1, FR30BF_SFMT_DIV2 -// OBSOLETE , FR30BF_SFMT_DIV3, FR30BF_SFMT_DIV4S, FR30BF_SFMT_LSL, FR30BF_SFMT_LSLI -// OBSOLETE , FR30BF_SFMT_LDI8, FR30BF_SFMT_LDI20, FR30BF_SFMT_LDI32, FR30BF_SFMT_LD -// OBSOLETE , FR30BF_SFMT_LDUH, FR30BF_SFMT_LDUB, FR30BF_SFMT_LDR13, FR30BF_SFMT_LDR13UH -// OBSOLETE , FR30BF_SFMT_LDR13UB, FR30BF_SFMT_LDR14, FR30BF_SFMT_LDR14UH, FR30BF_SFMT_LDR14UB -// OBSOLETE , FR30BF_SFMT_LDR15, FR30BF_SFMT_LDR15GR, FR30BF_SFMT_LDR15DR, FR30BF_SFMT_LDR15PS -// OBSOLETE , FR30BF_SFMT_ST, FR30BF_SFMT_STH, FR30BF_SFMT_STB, FR30BF_SFMT_STR13 -// OBSOLETE , FR30BF_SFMT_STR13H, FR30BF_SFMT_STR13B, FR30BF_SFMT_STR14, FR30BF_SFMT_STR14H -// OBSOLETE , FR30BF_SFMT_STR14B, FR30BF_SFMT_STR15, FR30BF_SFMT_STR15GR, FR30BF_SFMT_STR15DR -// OBSOLETE , FR30BF_SFMT_STR15PS, FR30BF_SFMT_MOV, FR30BF_SFMT_MOVDR, FR30BF_SFMT_MOVPS -// OBSOLETE , FR30BF_SFMT_MOV2DR, FR30BF_SFMT_MOV2PS, FR30BF_SFMT_JMP, FR30BF_SFMT_CALLR -// OBSOLETE , FR30BF_SFMT_CALL, FR30BF_SFMT_RET, FR30BF_SFMT_INT, FR30BF_SFMT_INTE -// OBSOLETE , FR30BF_SFMT_RETI, FR30BF_SFMT_BRAD, FR30BF_SFMT_BNOD, FR30BF_SFMT_BEQD -// OBSOLETE , FR30BF_SFMT_BCD, FR30BF_SFMT_BND, FR30BF_SFMT_BVD, FR30BF_SFMT_BLTD -// OBSOLETE , FR30BF_SFMT_BLED, FR30BF_SFMT_BLSD, FR30BF_SFMT_DMOVR13, FR30BF_SFMT_DMOVR13H -// OBSOLETE , FR30BF_SFMT_DMOVR13B, FR30BF_SFMT_DMOVR13PI, FR30BF_SFMT_DMOVR13PIH, FR30BF_SFMT_DMOVR13PIB -// OBSOLETE , FR30BF_SFMT_DMOVR15PI, FR30BF_SFMT_DMOV2R13, FR30BF_SFMT_DMOV2R13H, FR30BF_SFMT_DMOV2R13B -// OBSOLETE , FR30BF_SFMT_DMOV2R13PI, FR30BF_SFMT_DMOV2R13PIH, FR30BF_SFMT_DMOV2R13PIB, FR30BF_SFMT_DMOV2R15PD -// OBSOLETE , FR30BF_SFMT_LDRES, FR30BF_SFMT_COPOP, FR30BF_SFMT_ANDCCR, FR30BF_SFMT_STILM -// OBSOLETE , FR30BF_SFMT_ADDSP, FR30BF_SFMT_EXTSB, FR30BF_SFMT_EXTUB, FR30BF_SFMT_EXTSH -// OBSOLETE , FR30BF_SFMT_EXTUH, FR30BF_SFMT_LDM0, FR30BF_SFMT_LDM1, FR30BF_SFMT_STM0 -// OBSOLETE , FR30BF_SFMT_STM1, FR30BF_SFMT_ENTER, FR30BF_SFMT_LEAVE, FR30BF_SFMT_XCHB -// OBSOLETE } FR30BF_SFMT_TYPE; -// OBSOLETE -// OBSOLETE /* Function unit handlers (user written). */ -// OBSOLETE -// OBSOLETE extern int fr30bf_model_fr30_1_u_stm (SIM_CPU *, const IDESC *, int /*unit_num*/, int /*referenced*/, INT /*reglist*/); -// OBSOLETE extern int fr30bf_model_fr30_1_u_ldm (SIM_CPU *, const IDESC *, int /*unit_num*/, int /*referenced*/, INT /*reglist*/); -// OBSOLETE extern int fr30bf_model_fr30_1_u_store (SIM_CPU *, const IDESC *, int /*unit_num*/, int /*referenced*/, INT /*Ri*/, INT /*Rj*/); -// OBSOLETE extern int fr30bf_model_fr30_1_u_load (SIM_CPU *, const IDESC *, int /*unit_num*/, int /*referenced*/, INT /*Rj*/, INT /*Ri*/); -// OBSOLETE extern int fr30bf_model_fr30_1_u_cti (SIM_CPU *, const IDESC *, int /*unit_num*/, int /*referenced*/, INT /*Ri*/); -// OBSOLETE extern int fr30bf_model_fr30_1_u_exec (SIM_CPU *, const IDESC *, int /*unit_num*/, int /*referenced*/, INT /*Ri*/, INT /*Rj*/, INT /*Ri*/); -// OBSOLETE -// OBSOLETE /* Profiling before/after handlers (user written) */ -// OBSOLETE -// OBSOLETE extern void fr30bf_model_insn_before (SIM_CPU *, int /*first_p*/); -// OBSOLETE extern void fr30bf_model_insn_after (SIM_CPU *, int /*last_p*/, int /*cycles*/); -// OBSOLETE -// OBSOLETE #endif /* FR30BF_DECODE_H */ diff --git a/sim/fr30/devices.c b/sim/fr30/devices.c deleted file mode 100644 index f99f35c..0000000 --- a/sim/fr30/devices.c +++ /dev/null @@ -1,98 +0,0 @@ -// OBSOLETE /* fr30 device support -// OBSOLETE Copyright (C) 1998, 1999 Free Software Foundation, Inc. -// OBSOLETE Contributed by Cygnus Solutions. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -// OBSOLETE -// OBSOLETE /* ??? All of this is just to get something going. wip! */ -// OBSOLETE -// OBSOLETE #include "sim-main.h" -// OBSOLETE -// OBSOLETE #ifdef HAVE_DV_SOCKSER -// OBSOLETE #include "dv-sockser.h" -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE device fr30_devices; -// OBSOLETE -// OBSOLETE int -// OBSOLETE device_io_read_buffer (device *me, void *source, int space, -// OBSOLETE address_word addr, unsigned nr_bytes, -// OBSOLETE SIM_DESC sd, SIM_CPU *cpu, sim_cia cia) -// OBSOLETE { -// OBSOLETE if (STATE_ENVIRONMENT (sd) != OPERATING_ENVIRONMENT) -// OBSOLETE return nr_bytes; -// OBSOLETE -// OBSOLETE #ifdef HAVE_DV_SOCKSER -// OBSOLETE if (addr == UART_INCHAR_ADDR) -// OBSOLETE { -// OBSOLETE int c = dv_sockser_read (sd); -// OBSOLETE if (c == -1) -// OBSOLETE return 0; -// OBSOLETE *(char *) source = c; -// OBSOLETE return 1; -// OBSOLETE } -// OBSOLETE if (addr == UART_STATUS_ADDR) -// OBSOLETE { -// OBSOLETE int status = dv_sockser_status (sd); -// OBSOLETE unsigned char *p = source; -// OBSOLETE p[0] = 0; -// OBSOLETE p[1] = (((status & DV_SOCKSER_INPUT_EMPTY) -// OBSOLETE #ifdef UART_INPUT_READY0 -// OBSOLETE ? UART_INPUT_READY : 0) -// OBSOLETE #else -// OBSOLETE ? 0 : UART_INPUT_READY) -// OBSOLETE #endif -// OBSOLETE + ((status & DV_SOCKSER_OUTPUT_EMPTY) ? UART_OUTPUT_READY : 0)); -// OBSOLETE return 2; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE return nr_bytes; -// OBSOLETE } -// OBSOLETE -// OBSOLETE int -// OBSOLETE device_io_write_buffer (device *me, const void *source, int space, -// OBSOLETE address_word addr, unsigned nr_bytes, -// OBSOLETE SIM_DESC sd, SIM_CPU *cpu, sim_cia cia) -// OBSOLETE { -// OBSOLETE #if WITH_SCACHE -// OBSOLETE if (addr == MCCR_ADDR) -// OBSOLETE { -// OBSOLETE if ((*(const char *) source & MCCR_CP) != 0) -// OBSOLETE scache_flush (sd); -// OBSOLETE return nr_bytes; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE if (STATE_ENVIRONMENT (sd) != OPERATING_ENVIRONMENT) -// OBSOLETE return nr_bytes; -// OBSOLETE -// OBSOLETE #if HAVE_DV_SOCKSER -// OBSOLETE if (addr == UART_OUTCHAR_ADDR) -// OBSOLETE { -// OBSOLETE int rc = dv_sockser_write (sd, *(char *) source); -// OBSOLETE return rc == 1; -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE return nr_bytes; -// OBSOLETE } -// OBSOLETE -// OBSOLETE void -// OBSOLETE device_error (device *me, char *message, ...) -// OBSOLETE { -// OBSOLETE } diff --git a/sim/fr30/fr30-sim.h b/sim/fr30/fr30-sim.h deleted file mode 100644 index f1d9109..0000000 --- a/sim/fr30/fr30-sim.h +++ /dev/null @@ -1,96 +0,0 @@ -// OBSOLETE /* collection of junk waiting time to sort out -// OBSOLETE Copyright (C) 1998, 1999 Free Software Foundation, Inc. -// OBSOLETE Contributed by Cygnus Solutions. -// OBSOLETE -// OBSOLETE This file is part of the GNU Simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -// OBSOLETE -// OBSOLETE #ifndef FR30_SIM_H -// OBSOLETE #define FR30_SIM_H -// OBSOLETE -// OBSOLETE /* gdb register numbers */ -// OBSOLETE #define PC_REGNUM 16 -// OBSOLETE #define PS_REGNUM 17 -// OBSOLETE #define TBR_REGNUM 18 -// OBSOLETE #define RP_REGNUM 19 -// OBSOLETE #define SSP_REGNUM 20 -// OBSOLETE #define USP_REGNUM 21 -// OBSOLETE #define MDH_REGNUM 22 -// OBSOLETE #define MDL_REGNUM 23 -// OBSOLETE -// OBSOLETE extern BI fr30bf_h_sbit_get_handler (SIM_CPU *); -// OBSOLETE extern void fr30bf_h_sbit_set_handler (SIM_CPU *, BI); -// OBSOLETE -// OBSOLETE extern UQI fr30bf_h_ccr_get_handler (SIM_CPU *); -// OBSOLETE extern void fr30bf_h_ccr_set_handler (SIM_CPU *, UQI); -// OBSOLETE -// OBSOLETE extern UQI fr30bf_h_scr_get_handler (SIM_CPU *); -// OBSOLETE extern void fr30bf_h_scr_set_handler (SIM_CPU *, UQI); -// OBSOLETE -// OBSOLETE extern UQI fr30bf_h_ilm_get_handler (SIM_CPU *); -// OBSOLETE extern void fr30bf_h_ilm_set_handler (SIM_CPU *, UQI); -// OBSOLETE -// OBSOLETE extern USI fr30bf_h_ps_get_handler (SIM_CPU *); -// OBSOLETE extern void fr30bf_h_ps_set_handler (SIM_CPU *, USI); -// OBSOLETE -// OBSOLETE extern SI fr30bf_h_dr_get_handler (SIM_CPU *, UINT); -// OBSOLETE extern void fr30bf_h_dr_set_handler (SIM_CPU *, UINT, SI); -// OBSOLETE -// OBSOLETE #define GETTWI GETTSI -// OBSOLETE #define SETTWI SETTSI -// OBSOLETE -// OBSOLETE /* Hardware/device support. -// OBSOLETE ??? Will eventually want to move device stuff to config files. */ -// OBSOLETE -// OBSOLETE /* Special purpose traps. */ -// OBSOLETE #define TRAP_SYSCALL 10 -// OBSOLETE #define TRAP_BREAKPOINT 9 -// OBSOLETE -// OBSOLETE /* Support for the MCCR register (Cache Control Register) is needed in order -// OBSOLETE for overlays to work correctly with the scache: cached instructions need -// OBSOLETE to be flushed when the instruction space is changed at runtime. */ -// OBSOLETE -// OBSOLETE /* Cache Control Register */ -// OBSOLETE #define MCCR_ADDR 0xffffffff -// OBSOLETE #define MCCR_CP 0x80 -// OBSOLETE /* not supported */ -// OBSOLETE #define MCCR_CM0 2 -// OBSOLETE #define MCCR_CM1 1 -// OBSOLETE -// OBSOLETE /* Serial device addresses. */ -// OBSOLETE /* These are the values for the MSA2000 board. -// OBSOLETE ??? Will eventually need to move this to a config file. */ -// OBSOLETE #define UART_INCHAR_ADDR 0xff004009 -// OBSOLETE #define UART_OUTCHAR_ADDR 0xff004007 -// OBSOLETE #define UART_STATUS_ADDR 0xff004002 -// OBSOLETE -// OBSOLETE #define UART_INPUT_READY 0x4 -// OBSOLETE #define UART_OUTPUT_READY 0x1 -// OBSOLETE -// OBSOLETE /* Start address and length of all device support. */ -// OBSOLETE #define FR30_DEVICE_ADDR 0xff000000 -// OBSOLETE #define FR30_DEVICE_LEN 0x00ffffff -// OBSOLETE -// OBSOLETE /* sim_core_attach device argument. */ -// OBSOLETE extern device fr30_devices; -// OBSOLETE -// OBSOLETE /* FIXME: Temporary, until device support ready. */ -// OBSOLETE struct _device { int foo; }; -// OBSOLETE -// OBSOLETE /* Handle the trap insn. */ -// OBSOLETE USI fr30_int (SIM_CPU *, PCADDR, int); -// OBSOLETE -// OBSOLETE #endif /* FR30_SIM_H */ diff --git a/sim/fr30/fr30.c b/sim/fr30/fr30.c deleted file mode 100644 index 835ca9a..0000000 --- a/sim/fr30/fr30.c +++ /dev/null @@ -1,423 +0,0 @@ -// OBSOLETE /* fr30 simulator support code -// OBSOLETE Copyright (C) 1998, 1999 Free Software Foundation, Inc. -// OBSOLETE Contributed by Cygnus Solutions. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -// OBSOLETE -// OBSOLETE #define WANT_CPU -// OBSOLETE #define WANT_CPU_FR30BF -// OBSOLETE -// OBSOLETE #include "sim-main.h" -// OBSOLETE #include "cgen-mem.h" -// OBSOLETE #include "cgen-ops.h" -// OBSOLETE -// OBSOLETE /* Convert gdb dedicated register number to actual dr reg number. */ -// OBSOLETE -// OBSOLETE static int -// OBSOLETE decode_gdb_dr_regnum (int gdb_regnum) -// OBSOLETE { -// OBSOLETE switch (gdb_regnum) -// OBSOLETE { -// OBSOLETE case TBR_REGNUM : return H_DR_TBR; -// OBSOLETE case RP_REGNUM : return H_DR_RP; -// OBSOLETE case SSP_REGNUM : return H_DR_SSP; -// OBSOLETE case USP_REGNUM : return H_DR_USP; -// OBSOLETE case MDH_REGNUM : return H_DR_MDH; -// OBSOLETE case MDL_REGNUM : return H_DR_MDL; -// OBSOLETE } -// OBSOLETE abort (); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* The contents of BUF are in target byte order. */ -// OBSOLETE -// OBSOLETE int -// OBSOLETE fr30bf_fetch_register (SIM_CPU *current_cpu, int rn, unsigned char *buf, int len) -// OBSOLETE { -// OBSOLETE if (rn < 16) -// OBSOLETE SETTWI (buf, fr30bf_h_gr_get (current_cpu, rn)); -// OBSOLETE else -// OBSOLETE switch (rn) -// OBSOLETE { -// OBSOLETE case PC_REGNUM : -// OBSOLETE SETTWI (buf, fr30bf_h_pc_get (current_cpu)); -// OBSOLETE break; -// OBSOLETE case PS_REGNUM : -// OBSOLETE SETTWI (buf, fr30bf_h_ps_get (current_cpu)); -// OBSOLETE break; -// OBSOLETE case TBR_REGNUM : -// OBSOLETE case RP_REGNUM : -// OBSOLETE case SSP_REGNUM : -// OBSOLETE case USP_REGNUM : -// OBSOLETE case MDH_REGNUM : -// OBSOLETE case MDL_REGNUM : -// OBSOLETE SETTWI (buf, fr30bf_h_dr_get (current_cpu, -// OBSOLETE decode_gdb_dr_regnum (rn))); -// OBSOLETE break; -// OBSOLETE default : -// OBSOLETE return 0; -// OBSOLETE } -// OBSOLETE -// OBSOLETE return -1; /*FIXME*/ -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* The contents of BUF are in target byte order. */ -// OBSOLETE -// OBSOLETE int -// OBSOLETE fr30bf_store_register (SIM_CPU *current_cpu, int rn, unsigned char *buf, int len) -// OBSOLETE { -// OBSOLETE if (rn < 16) -// OBSOLETE fr30bf_h_gr_set (current_cpu, rn, GETTWI (buf)); -// OBSOLETE else -// OBSOLETE switch (rn) -// OBSOLETE { -// OBSOLETE case PC_REGNUM : -// OBSOLETE fr30bf_h_pc_set (current_cpu, GETTWI (buf)); -// OBSOLETE break; -// OBSOLETE case PS_REGNUM : -// OBSOLETE fr30bf_h_ps_set (current_cpu, GETTWI (buf)); -// OBSOLETE break; -// OBSOLETE case TBR_REGNUM : -// OBSOLETE case RP_REGNUM : -// OBSOLETE case SSP_REGNUM : -// OBSOLETE case USP_REGNUM : -// OBSOLETE case MDH_REGNUM : -// OBSOLETE case MDL_REGNUM : -// OBSOLETE fr30bf_h_dr_set (current_cpu, -// OBSOLETE decode_gdb_dr_regnum (rn), -// OBSOLETE GETTWI (buf)); -// OBSOLETE break; -// OBSOLETE default : -// OBSOLETE return 0; -// OBSOLETE } -// OBSOLETE -// OBSOLETE return -1; /*FIXME*/ -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Cover fns to access the ccr bits. */ -// OBSOLETE -// OBSOLETE BI -// OBSOLETE fr30bf_h_sbit_get_handler (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_sbit); -// OBSOLETE } -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_sbit_set_handler (SIM_CPU *current_cpu, BI newval) -// OBSOLETE { -// OBSOLETE int old_sbit = CPU (h_sbit); -// OBSOLETE int new_sbit = (newval != 0); -// OBSOLETE -// OBSOLETE CPU (h_sbit) = new_sbit; -// OBSOLETE -// OBSOLETE /* When switching stack modes, update the registers. */ -// OBSOLETE if (old_sbit != new_sbit) -// OBSOLETE { -// OBSOLETE if (old_sbit) -// OBSOLETE { -// OBSOLETE /* Switching user -> system. */ -// OBSOLETE CPU (h_dr[H_DR_USP]) = CPU (h_gr[H_GR_SP]); -// OBSOLETE CPU (h_gr[H_GR_SP]) = CPU (h_dr[H_DR_SSP]); -// OBSOLETE } -// OBSOLETE else -// OBSOLETE { -// OBSOLETE /* Switching system -> user. */ -// OBSOLETE CPU (h_dr[H_DR_SSP]) = CPU (h_gr[H_GR_SP]); -// OBSOLETE CPU (h_gr[H_GR_SP]) = CPU (h_dr[H_DR_USP]); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* TODO: r15 interlock */ -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Cover fns to access the ccr bits. */ -// OBSOLETE -// OBSOLETE UQI -// OBSOLETE fr30bf_h_ccr_get_handler (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE int ccr = ( (GET_H_CBIT () << 0) -// OBSOLETE | (GET_H_VBIT () << 1) -// OBSOLETE | (GET_H_ZBIT () << 2) -// OBSOLETE | (GET_H_NBIT () << 3) -// OBSOLETE | (GET_H_IBIT () << 4) -// OBSOLETE | (GET_H_SBIT () << 5)); -// OBSOLETE -// OBSOLETE return ccr; -// OBSOLETE } -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_ccr_set_handler (SIM_CPU *current_cpu, UQI newval) -// OBSOLETE { -// OBSOLETE int ccr = newval & 0x3f; -// OBSOLETE -// OBSOLETE SET_H_CBIT ((ccr & 1) != 0); -// OBSOLETE SET_H_VBIT ((ccr & 2) != 0); -// OBSOLETE SET_H_ZBIT ((ccr & 4) != 0); -// OBSOLETE SET_H_NBIT ((ccr & 8) != 0); -// OBSOLETE SET_H_IBIT ((ccr & 0x10) != 0); -// OBSOLETE SET_H_SBIT ((ccr & 0x20) != 0); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Cover fns to access the scr bits. */ -// OBSOLETE -// OBSOLETE UQI -// OBSOLETE fr30bf_h_scr_get_handler (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE int scr = ( (GET_H_TBIT () << 0) -// OBSOLETE | (GET_H_D0BIT () << 1) -// OBSOLETE | (GET_H_D1BIT () << 2)); -// OBSOLETE return scr; -// OBSOLETE } -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_scr_set_handler (SIM_CPU *current_cpu, UQI newval) -// OBSOLETE { -// OBSOLETE int scr = newval & 7; -// OBSOLETE -// OBSOLETE SET_H_TBIT ((scr & 1) != 0); -// OBSOLETE SET_H_D0BIT ((scr & 2) != 0); -// OBSOLETE SET_H_D1BIT ((scr & 4) != 0); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Cover fns to access the ilm bits. */ -// OBSOLETE -// OBSOLETE UQI -// OBSOLETE fr30bf_h_ilm_get_handler (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE return CPU (h_ilm); -// OBSOLETE } -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_ilm_set_handler (SIM_CPU *current_cpu, UQI newval) -// OBSOLETE { -// OBSOLETE int ilm = newval & 0x1f; -// OBSOLETE int current_ilm = CPU (h_ilm); -// OBSOLETE -// OBSOLETE /* We can only set new ilm values < 16 if the current ilm is < 16. Otherwise -// OBSOLETE we add 16 to the value we are given. */ -// OBSOLETE if (current_ilm >= 16 && ilm < 16) -// OBSOLETE ilm += 16; -// OBSOLETE -// OBSOLETE CPU (h_ilm) = ilm; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Cover fns to access the ps register. */ -// OBSOLETE -// OBSOLETE USI -// OBSOLETE fr30bf_h_ps_get_handler (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE int ccr = GET_H_CCR (); -// OBSOLETE int scr = GET_H_SCR (); -// OBSOLETE int ilm = GET_H_ILM (); -// OBSOLETE -// OBSOLETE return ccr | (scr << 8) | (ilm << 16); -// OBSOLETE } -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_ps_set_handler (SIM_CPU *current_cpu, USI newval) -// OBSOLETE { -// OBSOLETE int ccr = newval & 0xff; -// OBSOLETE int scr = (newval >> 8) & 7; -// OBSOLETE int ilm = (newval >> 16) & 0x1f; -// OBSOLETE -// OBSOLETE SET_H_CCR (ccr); -// OBSOLETE SET_H_SCR (scr); -// OBSOLETE SET_H_ILM (ilm); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Cover fns to access the dedicated registers. */ -// OBSOLETE -// OBSOLETE SI -// OBSOLETE fr30bf_h_dr_get_handler (SIM_CPU *current_cpu, UINT dr) -// OBSOLETE { -// OBSOLETE switch (dr) -// OBSOLETE { -// OBSOLETE case H_DR_SSP : -// OBSOLETE if (! GET_H_SBIT ()) -// OBSOLETE return GET_H_GR (H_GR_SP); -// OBSOLETE else -// OBSOLETE return CPU (h_dr[H_DR_SSP]); -// OBSOLETE case H_DR_USP : -// OBSOLETE if (GET_H_SBIT ()) -// OBSOLETE return GET_H_GR (H_GR_SP); -// OBSOLETE else -// OBSOLETE return CPU (h_dr[H_DR_USP]); -// OBSOLETE case H_DR_TBR : -// OBSOLETE case H_DR_RP : -// OBSOLETE case H_DR_MDH : -// OBSOLETE case H_DR_MDL : -// OBSOLETE return CPU (h_dr[dr]); -// OBSOLETE } -// OBSOLETE return 0; -// OBSOLETE } -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_h_dr_set_handler (SIM_CPU *current_cpu, UINT dr, SI newval) -// OBSOLETE { -// OBSOLETE switch (dr) -// OBSOLETE { -// OBSOLETE case H_DR_SSP : -// OBSOLETE if (! GET_H_SBIT ()) -// OBSOLETE SET_H_GR (H_GR_SP, newval); -// OBSOLETE else -// OBSOLETE CPU (h_dr[H_DR_SSP]) = newval; -// OBSOLETE break; -// OBSOLETE case H_DR_USP : -// OBSOLETE if (GET_H_SBIT ()) -// OBSOLETE SET_H_GR (H_GR_SP, newval); -// OBSOLETE else -// OBSOLETE CPU (h_dr[H_DR_USP]) = newval; -// OBSOLETE break; -// OBSOLETE case H_DR_TBR : -// OBSOLETE case H_DR_RP : -// OBSOLETE case H_DR_MDH : -// OBSOLETE case H_DR_MDL : -// OBSOLETE CPU (h_dr[dr]) = newval; -// OBSOLETE break; -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE -// OBSOLETE /* FIXME: Some of these should be inline or macros. Later. */ -// OBSOLETE -// OBSOLETE /* Initialize cycle counting for an insn. -// OBSOLETE FIRST_P is non-zero if this is the first insn in a set of parallel -// OBSOLETE insns. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_model_insn_before (SIM_CPU *cpu, int first_p) -// OBSOLETE { -// OBSOLETE MODEL_FR30_1_DATA *d = CPU_MODEL_DATA (cpu); -// OBSOLETE d->load_regs_pending = 0; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Record the cycles computed for an insn. -// OBSOLETE LAST_P is non-zero if this is the last insn in a set of parallel insns, -// OBSOLETE and we update the total cycle count. -// OBSOLETE CYCLES is the cycle count of the insn. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30bf_model_insn_after (SIM_CPU *cpu, int last_p, int cycles) -// OBSOLETE { -// OBSOLETE PROFILE_DATA *p = CPU_PROFILE_DATA (cpu); -// OBSOLETE MODEL_FR30_1_DATA *d = CPU_MODEL_DATA (cpu); -// OBSOLETE -// OBSOLETE PROFILE_MODEL_TOTAL_CYCLES (p) += cycles; -// OBSOLETE PROFILE_MODEL_CUR_INSN_CYCLES (p) = cycles; -// OBSOLETE d->load_regs = d->load_regs_pending; -// OBSOLETE } -// OBSOLETE -// OBSOLETE static INLINE int -// OBSOLETE check_load_stall (SIM_CPU *cpu, int regno) -// OBSOLETE { -// OBSOLETE const MODEL_FR30_1_DATA *d = CPU_MODEL_DATA (cpu); -// OBSOLETE UINT load_regs = d->load_regs; -// OBSOLETE -// OBSOLETE if (regno != -1 -// OBSOLETE && (load_regs & (1 << regno)) != 0) -// OBSOLETE { -// OBSOLETE PROFILE_DATA *p = CPU_PROFILE_DATA (cpu); -// OBSOLETE ++ PROFILE_MODEL_LOAD_STALL_CYCLES (p); -// OBSOLETE if (TRACE_INSN_P (cpu)) -// OBSOLETE cgen_trace_printf (cpu, " ; Load stall."); -// OBSOLETE return 1; -// OBSOLETE } -// OBSOLETE else -// OBSOLETE return 0; -// OBSOLETE } -// OBSOLETE -// OBSOLETE int -// OBSOLETE fr30bf_model_fr30_1_u_exec (SIM_CPU *cpu, const IDESC *idesc, -// OBSOLETE int unit_num, int referenced, -// OBSOLETE INT in_Ri, INT in_Rj, INT out_Ri) -// OBSOLETE { -// OBSOLETE int cycles = idesc->timing->units[unit_num].done; -// OBSOLETE cycles += check_load_stall (cpu, in_Ri); -// OBSOLETE cycles += check_load_stall (cpu, in_Rj); -// OBSOLETE return cycles; -// OBSOLETE } -// OBSOLETE -// OBSOLETE int -// OBSOLETE fr30bf_model_fr30_1_u_cti (SIM_CPU *cpu, const IDESC *idesc, -// OBSOLETE int unit_num, int referenced, -// OBSOLETE INT in_Ri) -// OBSOLETE { -// OBSOLETE PROFILE_DATA *p = CPU_PROFILE_DATA (cpu); -// OBSOLETE /* (1 << 1): The pc is the 2nd element in inputs, outputs. -// OBSOLETE ??? can be cleaned up */ -// OBSOLETE int taken_p = (referenced & (1 << 1)) != 0; -// OBSOLETE int cycles = idesc->timing->units[unit_num].done; -// OBSOLETE int delay_slot_p = CGEN_ATTR_VALUE (NULL, idesc->attrs, CGEN_INSN_DELAY_SLOT); -// OBSOLETE -// OBSOLETE cycles += check_load_stall (cpu, in_Ri); -// OBSOLETE if (taken_p) -// OBSOLETE { -// OBSOLETE /* ??? Handling cti's without delay slots this way will run afoul of -// OBSOLETE accurate system simulation. Later. */ -// OBSOLETE if (! delay_slot_p) -// OBSOLETE { -// OBSOLETE ++cycles; -// OBSOLETE ++PROFILE_MODEL_CTI_STALL_CYCLES (p); -// OBSOLETE } -// OBSOLETE ++PROFILE_MODEL_TAKEN_COUNT (p); -// OBSOLETE } -// OBSOLETE else -// OBSOLETE ++PROFILE_MODEL_UNTAKEN_COUNT (p); -// OBSOLETE -// OBSOLETE return cycles; -// OBSOLETE } -// OBSOLETE -// OBSOLETE int -// OBSOLETE fr30bf_model_fr30_1_u_load (SIM_CPU *cpu, const IDESC *idesc, -// OBSOLETE int unit_num, int referenced, -// OBSOLETE INT in_Rj, INT out_Ri) -// OBSOLETE { -// OBSOLETE MODEL_FR30_1_DATA *d = CPU_MODEL_DATA (cpu); -// OBSOLETE int cycles = idesc->timing->units[unit_num].done; -// OBSOLETE d->load_regs_pending |= 1 << out_Ri; -// OBSOLETE cycles += check_load_stall (cpu, in_Rj); -// OBSOLETE return cycles; -// OBSOLETE } -// OBSOLETE -// OBSOLETE int -// OBSOLETE fr30bf_model_fr30_1_u_store (SIM_CPU *cpu, const IDESC *idesc, -// OBSOLETE int unit_num, int referenced, -// OBSOLETE INT in_Ri, INT in_Rj) -// OBSOLETE { -// OBSOLETE int cycles = idesc->timing->units[unit_num].done; -// OBSOLETE cycles += check_load_stall (cpu, in_Ri); -// OBSOLETE cycles += check_load_stall (cpu, in_Rj); -// OBSOLETE return cycles; -// OBSOLETE } -// OBSOLETE -// OBSOLETE int -// OBSOLETE fr30bf_model_fr30_1_u_ldm (SIM_CPU *cpu, const IDESC *idesc, -// OBSOLETE int unit_num, int referenced, -// OBSOLETE INT reglist) -// OBSOLETE { -// OBSOLETE return idesc->timing->units[unit_num].done; -// OBSOLETE } -// OBSOLETE -// OBSOLETE int -// OBSOLETE fr30bf_model_fr30_1_u_stm (SIM_CPU *cpu, const IDESC *idesc, -// OBSOLETE int unit_num, int referenced, -// OBSOLETE INT reglist) -// OBSOLETE { -// OBSOLETE return idesc->timing->units[unit_num].done; -// OBSOLETE } -// OBSOLETE -// OBSOLETE #endif /* WITH_PROFILE_MODEL_P */ diff --git a/sim/fr30/mloop.in b/sim/fr30/mloop.in deleted file mode 100644 index f161bb1..0000000 --- a/sim/fr30/mloop.in +++ /dev/null @@ -1,236 +0,0 @@ -# OBSOLETE # Simulator main loop for fr30. -*- C -*- -# OBSOLETE # Copyright (C) 1998, 1999 Free Software Foundation, Inc. -# OBSOLETE # Contributed by Cygnus Solutions. -# OBSOLETE # -# OBSOLETE # This file is part of the GNU Simulators. -# OBSOLETE # -# OBSOLETE # This program is free software; you can redistribute it and/or modify -# OBSOLETE # it under the terms of the GNU General Public License as published by -# OBSOLETE # the Free Software Foundation; either version 2, or (at your option) -# OBSOLETE # any later version. -# OBSOLETE # -# OBSOLETE # This program is distributed in the hope that it will be useful, -# OBSOLETE # but WITHOUT ANY WARRANTY; without even the implied warranty of -# OBSOLETE # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# OBSOLETE # GNU General Public License for more details. -# OBSOLETE # -# OBSOLETE # You should have received a copy of the GNU General Public License along -# OBSOLETE # with this program; if not, write to the Free Software Foundation, Inc., -# OBSOLETE # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# OBSOLETE -# OBSOLETE # Syntax: -# OBSOLETE # /bin/sh mainloop.in command -# OBSOLETE # -# OBSOLETE # Command is one of: -# OBSOLETE # -# OBSOLETE # init -# OBSOLETE # support -# OBSOLETE # extract-{simple,scache,pbb} -# OBSOLETE # {full,fast}-exec-{simple,scache,pbb} -# OBSOLETE # -# OBSOLETE # A target need only provide a "full" version of one of simple,scache,pbb. -# OBSOLETE # If the target wants it can also provide a fast version of same. -# OBSOLETE # It can't provide more than this, however for illustration's sake the FR30 -# OBSOLETE # port provides examples of all. -# OBSOLETE -# OBSOLETE # ??? After a few more ports are done, revisit. -# OBSOLETE # Will eventually need to machine generate a lot of this. -# OBSOLETE -# OBSOLETE case "x$1" in -# OBSOLETE -# OBSOLETE xsupport) -# OBSOLETE -# OBSOLETE cat <<EOF -# OBSOLETE -# OBSOLETE static INLINE const IDESC * -# OBSOLETE extract (SIM_CPU *current_cpu, PCADDR pc, CGEN_INSN_INT insn, ARGBUF *abuf, -# OBSOLETE int fast_p) -# OBSOLETE { -# OBSOLETE const IDESC *id = @cpu@_decode (current_cpu, pc, insn, abuf); -# OBSOLETE @cpu@_fill_argbuf (current_cpu, abuf, id, pc, fast_p); -# OBSOLETE if (! fast_p) -# OBSOLETE { -# OBSOLETE int trace_p = PC_IN_TRACE_RANGE_P (current_cpu, pc); -# OBSOLETE int profile_p = PC_IN_PROFILE_RANGE_P (current_cpu, pc); -# OBSOLETE @cpu@_fill_argbuf_tp (current_cpu, abuf, trace_p, profile_p); -# OBSOLETE } -# OBSOLETE return id; -# OBSOLETE } -# OBSOLETE -# OBSOLETE static INLINE SEM_PC -# OBSOLETE execute (SIM_CPU *current_cpu, SCACHE *sc, int fast_p) -# OBSOLETE { -# OBSOLETE SEM_PC vpc; -# OBSOLETE -# OBSOLETE if (fast_p) -# OBSOLETE { -# OBSOLETE #if ! WITH_SEM_SWITCH_FAST -# OBSOLETE #if WITH_SCACHE -# OBSOLETE vpc = (*sc->argbuf.semantic.sem_fast) (current_cpu, sc); -# OBSOLETE #else -# OBSOLETE vpc = (*sc->argbuf.semantic.sem_fast) (current_cpu, &sc->argbuf); -# OBSOLETE #endif -# OBSOLETE #else -# OBSOLETE abort (); -# OBSOLETE #endif /* WITH_SEM_SWITCH_FAST */ -# OBSOLETE } -# OBSOLETE else -# OBSOLETE { -# OBSOLETE #if ! WITH_SEM_SWITCH_FULL -# OBSOLETE ARGBUF *abuf = &sc->argbuf; -# OBSOLETE const IDESC *idesc = abuf->idesc; -# OBSOLETE #if WITH_SCACHE_PBB -# OBSOLETE int virtual_p = CGEN_ATTR_VALUE (NULL, idesc->attrs, CGEN_INSN_VIRTUAL); -# OBSOLETE #else -# OBSOLETE int virtual_p = 0; -# OBSOLETE #endif -# OBSOLETE -# OBSOLETE if (! virtual_p) -# OBSOLETE { -# OBSOLETE /* FIXME: call x-before */ -# OBSOLETE if (ARGBUF_PROFILE_P (abuf)) -# OBSOLETE PROFILE_COUNT_INSN (current_cpu, abuf->addr, idesc->num); -# OBSOLETE /* FIXME: Later make cover macros: PROFILE_INSN_{INIT,FINI}. */ -# OBSOLETE if (PROFILE_MODEL_P (current_cpu) -# OBSOLETE && ARGBUF_PROFILE_P (abuf)) -# OBSOLETE @cpu@_model_insn_before (current_cpu, 1 /*first_p*/); -# OBSOLETE TRACE_INSN_INIT (current_cpu, abuf, 1); -# OBSOLETE TRACE_INSN (current_cpu, idesc->idata, -# OBSOLETE (const struct argbuf *) abuf, abuf->addr); -# OBSOLETE } -# OBSOLETE #if WITH_SCACHE -# OBSOLETE vpc = (*sc->argbuf.semantic.sem_full) (current_cpu, sc); -# OBSOLETE #else -# OBSOLETE vpc = (*sc->argbuf.semantic.sem_full) (current_cpu, abuf); -# OBSOLETE #endif -# OBSOLETE if (! virtual_p) -# OBSOLETE { -# OBSOLETE /* FIXME: call x-after */ -# OBSOLETE if (PROFILE_MODEL_P (current_cpu) -# OBSOLETE && ARGBUF_PROFILE_P (abuf)) -# OBSOLETE { -# OBSOLETE int cycles; -# OBSOLETE -# OBSOLETE cycles = (*idesc->timing->model_fn) (current_cpu, sc); -# OBSOLETE @cpu@_model_insn_after (current_cpu, 1 /*last_p*/, cycles); -# OBSOLETE } -# OBSOLETE TRACE_INSN_FINI (current_cpu, abuf, 1); -# OBSOLETE } -# OBSOLETE #else -# OBSOLETE abort (); -# OBSOLETE #endif /* WITH_SEM_SWITCH_FULL */ -# OBSOLETE } -# OBSOLETE -# OBSOLETE return vpc; -# OBSOLETE } -# OBSOLETE -# OBSOLETE EOF -# OBSOLETE -# OBSOLETE ;; -# OBSOLETE -# OBSOLETE xinit) -# OBSOLETE -# OBSOLETE cat <<EOF -# OBSOLETE /*xxxinit*/ -# OBSOLETE EOF -# OBSOLETE -# OBSOLETE ;; -# OBSOLETE -# OBSOLETE xextract-simple | xextract-scache) -# OBSOLETE -# OBSOLETE # Inputs: current_cpu, vpc, sc, FAST_P -# OBSOLETE # Outputs: sc filled in -# OBSOLETE -# OBSOLETE cat <<EOF -# OBSOLETE { -# OBSOLETE CGEN_INSN_INT insn = GETIMEMUHI (current_cpu, vpc); -# OBSOLETE extract (current_cpu, vpc, insn, SEM_ARGBUF (sc), FAST_P); -# OBSOLETE } -# OBSOLETE EOF -# OBSOLETE -# OBSOLETE ;; -# OBSOLETE -# OBSOLETE xextract-pbb) -# OBSOLETE -# OBSOLETE # Inputs: current_cpu, pc, sc, max_insns, FAST_P -# OBSOLETE # Outputs: sc, pc -# OBSOLETE # sc must be left pointing past the last created entry. -# OBSOLETE # pc must be left pointing past the last created entry. -# OBSOLETE # If the pbb is terminated by a cti insn, SET_CTI_VPC(sc) must be called -# OBSOLETE # to record the vpc of the cti insn. -# OBSOLETE # SET_INSN_COUNT(n) must be called to record number of real insns. -# OBSOLETE -# OBSOLETE cat <<EOF -# OBSOLETE { -# OBSOLETE const IDESC *idesc; -# OBSOLETE int icount = 0; -# OBSOLETE -# OBSOLETE while (max_insns > 0) -# OBSOLETE { -# OBSOLETE UHI insn = GETIMEMUHI (current_cpu, pc); -# OBSOLETE idesc = extract (current_cpu, pc, insn, &sc->argbuf, FAST_P); -# OBSOLETE ++sc; -# OBSOLETE --max_insns; -# OBSOLETE ++icount; -# OBSOLETE pc += idesc->length; -# OBSOLETE if (IDESC_CTI_P (idesc)) -# OBSOLETE { -# OBSOLETE SET_CTI_VPC (sc - 1); -# OBSOLETE -# OBSOLETE /* Delay slot? */ -# OBSOLETE /* ??? breakpoints in delay slots */ -# OBSOLETE if (CGEN_ATTR_VALUE (NULL, idesc->attrs, CGEN_INSN_DELAY_SLOT)) -# OBSOLETE { -# OBSOLETE UHI insn = GETIMEMUHI (current_cpu, pc); -# OBSOLETE idesc = extract (current_cpu, pc, insn, &sc->argbuf, FAST_P); -# OBSOLETE if (CGEN_ATTR_VALUE (NULL, idesc->attrs, CGEN_INSN_NOT_IN_DELAY_SLOT)) -# OBSOLETE { -# OBSOLETE /* malformed program */ -# OBSOLETE sim_io_eprintf (CPU_STATE (current_cpu), -# OBSOLETE "malformed program, \`%s' insn in delay slot\n", -# OBSOLETE CGEN_INSN_NAME (idesc->idata)); -# OBSOLETE } -# OBSOLETE else -# OBSOLETE { -# OBSOLETE ++sc; -# OBSOLETE --max_insns; -# OBSOLETE ++icount; -# OBSOLETE pc += idesc->length; -# OBSOLETE } -# OBSOLETE } -# OBSOLETE break; -# OBSOLETE } -# OBSOLETE } -# OBSOLETE -# OBSOLETE Finish: -# OBSOLETE SET_INSN_COUNT (icount); -# OBSOLETE } -# OBSOLETE EOF -# OBSOLETE -# OBSOLETE ;; -# OBSOLETE -# OBSOLETE xfull-exec-* | xfast-exec-*) -# OBSOLETE -# OBSOLETE # Inputs: current_cpu, sc, FAST_P -# OBSOLETE # Outputs: vpc -# OBSOLETE # vpc contains the address of the next insn to execute -# OBSOLETE -# OBSOLETE cat <<EOF -# OBSOLETE { -# OBSOLETE #if (! FAST_P && WITH_SEM_SWITCH_FULL) || (FAST_P && WITH_SEM_SWITCH_FAST) -# OBSOLETE #define DEFINE_SWITCH -# OBSOLETE #include "sem-switch.c" -# OBSOLETE #else -# OBSOLETE vpc = execute (current_cpu, vpc, FAST_P); -# OBSOLETE #endif -# OBSOLETE } -# OBSOLETE EOF -# OBSOLETE -# OBSOLETE ;; -# OBSOLETE -# OBSOLETE *) -# OBSOLETE echo "Invalid argument to mainloop.in: $1" >&2 -# OBSOLETE exit 1 -# OBSOLETE ;; -# OBSOLETE -# OBSOLETE esac diff --git a/sim/fr30/model.c b/sim/fr30/model.c deleted file mode 100644 index 15a1ecc..0000000 --- a/sim/fr30/model.c +++ /dev/null @@ -1,4003 +0,0 @@ -// OBSOLETE /* Simulator model support for fr30bf. -// OBSOLETE -// OBSOLETE THIS FILE IS MACHINE GENERATED WITH CGEN. -// OBSOLETE -// OBSOLETE Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// OBSOLETE -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #define WANT_CPU fr30bf -// OBSOLETE #define WANT_CPU_FR30BF -// OBSOLETE -// OBSOLETE #include "sim-main.h" -// OBSOLETE -// OBSOLETE /* The profiling data is recorded here, but is accessed via the profiling -// OBSOLETE mechanism. After all, this is information for profiling. */ -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE -// OBSOLETE /* Model handlers for each insn. */ -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_add (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_addi (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_add2 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_addc (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_addn (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_addni (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_addn2 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_sub (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_subc (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_subn (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_cmp (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_cmpi (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_cmp2 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_and (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_or (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_eor (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_andm (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_andh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_andb (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_orm (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_orh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_orb (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_eorm (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_eorh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_eorb (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bandl (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_borl (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_beorl (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bandh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_borh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_beorh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 1, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 2, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_btstl (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 1, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_btsth (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 1, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_mul (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_mulu (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_mulh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_muluh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_div0s (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_div0u (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_div1 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE if (insn_referenced & (1 << 0)) referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_div2 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE if (insn_referenced & (1 << 0)) referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_div3 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_div4s (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_lsl (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE if (insn_referenced & (1 << 0)) referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_lsli (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE if (insn_referenced & (1 << 0)) referenced |= 1 << 0; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_lsl2 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE if (insn_referenced & (1 << 0)) referenced |= 1 << 0; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_lsr (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE if (insn_referenced & (1 << 0)) referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_lsri (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE if (insn_referenced & (1 << 0)) referenced |= 1 << 0; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_lsr2 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE if (insn_referenced & (1 << 0)) referenced |= 1 << 0; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_asr (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE if (insn_referenced & (1 << 0)) referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_asri (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE if (insn_referenced & (1 << 0)) referenced |= 1 << 0; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_asr2 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE if (insn_referenced & (1 << 0)) referenced |= 1 << 0; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldi8 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi8.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldi20 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi20.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldi32 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi32.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ld (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_lduh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldub (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldr13 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldr13uh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldr13ub (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldr14 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldr14uh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14uh.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldr14ub (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14ub.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldr15 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldr15gr (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15gr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldr15dr (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15dr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldr15ps (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_st (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_sth (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_stb (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_str13 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_str13h (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_str13b (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_str14 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_str14h (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14h.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_str14b (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14b.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_str15 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str15.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_str15gr (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str15gr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_str15dr (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15dr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_str15ps (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_mov (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_movdr (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_movdr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_movps (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_movdr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_mov2dr (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_mov2ps (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_jmp (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_jmpd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_callr (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_callrd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_call (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_call.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_calld (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_call.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ret (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ret_d (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_int (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_inte (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_reti (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_brad (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bra (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bnod (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bno (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_beqd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_beq (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bned (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bne (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bcd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bc (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bncd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bnc (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bnd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bn (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bpd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bp (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bvd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bv (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bnvd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bnv (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 2)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bltd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 3)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_blt (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 3)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bged (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 3)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bge (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 3)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bled (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 4)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ble (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 4)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bgtd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 4)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bgt (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 4)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_blsd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 3)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bls (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 3)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bhid (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 3)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_bhi (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE if (insn_referenced & (1 << 3)) referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_cti (current_cpu, idesc, 0, referenced, in_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmovr13 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmovr13h (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmovr13b (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 0, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmovr13pi (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 1, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmovr13pih (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 1, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmovr13pib (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 1, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmovr15pi (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr15pi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 1, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmov2r13 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmov2r13h (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmov2r13b (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmov2r13pi (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 1, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmov2r13pih (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 1, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmov2r13pib (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 1, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_dmov2r15pd (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr15pi.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 1, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldres (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_stres (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_copop (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_copld (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_copst (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_copsv (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_nop (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_andccr (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_orccr (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_stilm (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_addsp (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_extsb (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_extub (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_extsh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_extuh (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 2; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldm0 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldm0.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_reglist = 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_ldm (current_cpu, idesc, 0, referenced, in_reglist); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_ldm1 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldm1.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_reglist = 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_ldm (current_cpu, idesc, 0, referenced, in_reglist); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_stm0 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_stm0.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_reglist = 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_stm (current_cpu, idesc, 0, referenced, in_reglist); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_stm1 (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_stm1.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_reglist = 0; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_stm (current_cpu, idesc, 0, referenced, in_reglist); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_enter (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_enter.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_leave (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_enter.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_exec (current_cpu, idesc, 0, referenced, in_Ri, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE model_fr30_1_xchb (SIM_CPU *current_cpu, void *sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); -// OBSOLETE const IDESC * UNUSED idesc = abuf->idesc; -// OBSOLETE int cycles = 0; -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE INT out_Ri = -1; -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE out_Ri = FLD (out_Ri); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_load (current_cpu, idesc, 0, referenced, in_Rj, out_Ri); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE int referenced = 0; -// OBSOLETE int UNUSED insn_referenced = abuf->written; -// OBSOLETE INT in_Ri = -1; -// OBSOLETE INT in_Rj = -1; -// OBSOLETE in_Ri = FLD (in_Ri); -// OBSOLETE in_Rj = FLD (in_Rj); -// OBSOLETE referenced |= 1 << 0; -// OBSOLETE referenced |= 1 << 1; -// OBSOLETE cycles += fr30bf_model_fr30_1_u_store (current_cpu, idesc, 1, referenced, in_Ri, in_Rj); -// OBSOLETE } -// OBSOLETE return cycles; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* We assume UNIT_NONE == 0 because the tables don't always terminate -// OBSOLETE entries with it. */ -// OBSOLETE -// OBSOLETE /* Model timing data for `fr30-1'. */ -// OBSOLETE -// OBSOLETE static const INSN_TIMING fr30_1_timing[] = { -// OBSOLETE { FR30BF_INSN_X_INVALID, 0, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_X_AFTER, 0, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_X_BEFORE, 0, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_X_CHAIN, 0, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_X_BEGIN, 0, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ADD, model_fr30_1_add, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ADDI, model_fr30_1_addi, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ADD2, model_fr30_1_add2, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ADDC, model_fr30_1_addc, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ADDN, model_fr30_1_addn, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ADDNI, model_fr30_1_addni, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ADDN2, model_fr30_1_addn2, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_SUB, model_fr30_1_sub, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_SUBC, model_fr30_1_subc, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_SUBN, model_fr30_1_subn, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_CMP, model_fr30_1_cmp, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_CMPI, model_fr30_1_cmpi, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_CMP2, model_fr30_1_cmp2, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_AND, model_fr30_1_and, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_OR, model_fr30_1_or, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_EOR, model_fr30_1_eor, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ANDM, model_fr30_1_andm, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ANDH, model_fr30_1_andh, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ANDB, model_fr30_1_andb, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ORM, model_fr30_1_orm, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ORH, model_fr30_1_orh, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ORB, model_fr30_1_orb, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_EORM, model_fr30_1_eorm, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_EORH, model_fr30_1_eorh, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_EORB, model_fr30_1_eorb, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BANDL, model_fr30_1_bandl, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BORL, model_fr30_1_borl, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BEORL, model_fr30_1_beorl, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BANDH, model_fr30_1_bandh, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BORH, model_fr30_1_borh, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BEORH, model_fr30_1_beorh, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 }, { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BTSTL, model_fr30_1_btstl, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_EXEC, 1, 2 } } }, -// OBSOLETE { FR30BF_INSN_BTSTH, model_fr30_1_btsth, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_EXEC, 1, 2 } } }, -// OBSOLETE { FR30BF_INSN_MUL, model_fr30_1_mul, { { (int) UNIT_FR30_1_U_EXEC, 1, 5 } } }, -// OBSOLETE { FR30BF_INSN_MULU, model_fr30_1_mulu, { { (int) UNIT_FR30_1_U_EXEC, 1, 5 } } }, -// OBSOLETE { FR30BF_INSN_MULH, model_fr30_1_mulh, { { (int) UNIT_FR30_1_U_EXEC, 1, 3 } } }, -// OBSOLETE { FR30BF_INSN_MULUH, model_fr30_1_muluh, { { (int) UNIT_FR30_1_U_EXEC, 1, 3 } } }, -// OBSOLETE { FR30BF_INSN_DIV0S, model_fr30_1_div0s, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DIV0U, model_fr30_1_div0u, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DIV1, model_fr30_1_div1, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DIV2, model_fr30_1_div2, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DIV3, model_fr30_1_div3, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DIV4S, model_fr30_1_div4s, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LSL, model_fr30_1_lsl, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LSLI, model_fr30_1_lsli, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LSL2, model_fr30_1_lsl2, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LSR, model_fr30_1_lsr, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LSRI, model_fr30_1_lsri, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LSR2, model_fr30_1_lsr2, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ASR, model_fr30_1_asr, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ASRI, model_fr30_1_asri, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ASR2, model_fr30_1_asr2, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDI8, model_fr30_1_ldi8, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDI20, model_fr30_1_ldi20, { { (int) UNIT_FR30_1_U_EXEC, 1, 2 } } }, -// OBSOLETE { FR30BF_INSN_LDI32, model_fr30_1_ldi32, { { (int) UNIT_FR30_1_U_EXEC, 1, 3 } } }, -// OBSOLETE { FR30BF_INSN_LD, model_fr30_1_ld, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDUH, model_fr30_1_lduh, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDUB, model_fr30_1_ldub, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDR13, model_fr30_1_ldr13, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDR13UH, model_fr30_1_ldr13uh, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDR13UB, model_fr30_1_ldr13ub, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDR14, model_fr30_1_ldr14, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDR14UH, model_fr30_1_ldr14uh, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDR14UB, model_fr30_1_ldr14ub, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDR15, model_fr30_1_ldr15, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDR15GR, model_fr30_1_ldr15gr, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDR15DR, model_fr30_1_ldr15dr, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDR15PS, model_fr30_1_ldr15ps, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ST, model_fr30_1_st, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STH, model_fr30_1_sth, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STB, model_fr30_1_stb, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STR13, model_fr30_1_str13, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STR13H, model_fr30_1_str13h, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STR13B, model_fr30_1_str13b, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STR14, model_fr30_1_str14, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STR14H, model_fr30_1_str14h, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STR14B, model_fr30_1_str14b, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STR15, model_fr30_1_str15, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STR15GR, model_fr30_1_str15gr, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STR15DR, model_fr30_1_str15dr, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STR15PS, model_fr30_1_str15ps, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_MOV, model_fr30_1_mov, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_MOVDR, model_fr30_1_movdr, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_MOVPS, model_fr30_1_movps, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_MOV2DR, model_fr30_1_mov2dr, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_MOV2PS, model_fr30_1_mov2ps, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_JMP, model_fr30_1_jmp, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_JMPD, model_fr30_1_jmpd, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_CALLR, model_fr30_1_callr, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_CALLRD, model_fr30_1_callrd, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_CALL, model_fr30_1_call, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_CALLD, model_fr30_1_calld, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_RET, model_fr30_1_ret, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_RET_D, model_fr30_1_ret_d, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_INT, model_fr30_1_int, { { (int) UNIT_FR30_1_U_EXEC, 1, 6 } } }, -// OBSOLETE { FR30BF_INSN_INTE, model_fr30_1_inte, { { (int) UNIT_FR30_1_U_EXEC, 1, 6 } } }, -// OBSOLETE { FR30BF_INSN_RETI, model_fr30_1_reti, { { (int) UNIT_FR30_1_U_EXEC, 1, 4 } } }, -// OBSOLETE { FR30BF_INSN_BRAD, model_fr30_1_brad, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BRA, model_fr30_1_bra, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BNOD, model_fr30_1_bnod, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BNO, model_fr30_1_bno, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BEQD, model_fr30_1_beqd, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BEQ, model_fr30_1_beq, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BNED, model_fr30_1_bned, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BNE, model_fr30_1_bne, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BCD, model_fr30_1_bcd, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BC, model_fr30_1_bc, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BNCD, model_fr30_1_bncd, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BNC, model_fr30_1_bnc, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BND, model_fr30_1_bnd, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BN, model_fr30_1_bn, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BPD, model_fr30_1_bpd, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BP, model_fr30_1_bp, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BVD, model_fr30_1_bvd, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BV, model_fr30_1_bv, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BNVD, model_fr30_1_bnvd, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BNV, model_fr30_1_bnv, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BLTD, model_fr30_1_bltd, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BLT, model_fr30_1_blt, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BGED, model_fr30_1_bged, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BGE, model_fr30_1_bge, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BLED, model_fr30_1_bled, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BLE, model_fr30_1_ble, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BGTD, model_fr30_1_bgtd, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BGT, model_fr30_1_bgt, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BLSD, model_fr30_1_blsd, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BLS, model_fr30_1_bls, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BHID, model_fr30_1_bhid, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_BHI, model_fr30_1_bhi, { { (int) UNIT_FR30_1_U_CTI, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOVR13, model_fr30_1_dmovr13, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOVR13H, model_fr30_1_dmovr13h, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOVR13B, model_fr30_1_dmovr13b, { { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOVR13PI, model_fr30_1_dmovr13pi, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOVR13PIH, model_fr30_1_dmovr13pih, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOVR13PIB, model_fr30_1_dmovr13pib, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOVR15PI, model_fr30_1_dmovr15pi, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOV2R13, model_fr30_1_dmov2r13, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOV2R13H, model_fr30_1_dmov2r13h, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOV2R13B, model_fr30_1_dmov2r13b, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOV2R13PI, model_fr30_1_dmov2r13pi, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOV2R13PIH, model_fr30_1_dmov2r13pih, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOV2R13PIB, model_fr30_1_dmov2r13pib, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_DMOV2R15PD, model_fr30_1_dmov2r15pd, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDRES, model_fr30_1_ldres, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STRES, model_fr30_1_stres, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_COPOP, model_fr30_1_copop, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_COPLD, model_fr30_1_copld, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_COPST, model_fr30_1_copst, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_COPSV, model_fr30_1_copsv, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_NOP, model_fr30_1_nop, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ANDCCR, model_fr30_1_andccr, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ORCCR, model_fr30_1_orccr, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STILM, model_fr30_1_stilm, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ADDSP, model_fr30_1_addsp, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_EXTSB, model_fr30_1_extsb, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_EXTUB, model_fr30_1_extub, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_EXTSH, model_fr30_1_extsh, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_EXTUH, model_fr30_1_extuh, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDM0, model_fr30_1_ldm0, { { (int) UNIT_FR30_1_U_LDM, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_LDM1, model_fr30_1_ldm1, { { (int) UNIT_FR30_1_U_LDM, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STM0, model_fr30_1_stm0, { { (int) UNIT_FR30_1_U_STM, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_STM1, model_fr30_1_stm1, { { (int) UNIT_FR30_1_U_STM, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_ENTER, model_fr30_1_enter, { { (int) UNIT_FR30_1_U_EXEC, 1, 2 } } }, -// OBSOLETE { FR30BF_INSN_LEAVE, model_fr30_1_leave, { { (int) UNIT_FR30_1_U_EXEC, 1, 1 } } }, -// OBSOLETE { FR30BF_INSN_XCHB, model_fr30_1_xchb, { { (int) UNIT_FR30_1_U_LOAD, 1, 1 }, { (int) UNIT_FR30_1_U_STORE, 1, 1 } } }, -// OBSOLETE }; -// OBSOLETE -// OBSOLETE #endif /* WITH_PROFILE_MODEL_P */ -// OBSOLETE -// OBSOLETE static void -// OBSOLETE fr30_1_model_init (SIM_CPU *cpu) -// OBSOLETE { -// OBSOLETE CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_FR30_1_DATA)); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #if WITH_PROFILE_MODEL_P -// OBSOLETE #define TIMING_DATA(td) td -// OBSOLETE #else -// OBSOLETE #define TIMING_DATA(td) 0 -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE static const MODEL fr30_models[] = -// OBSOLETE { -// OBSOLETE { "fr30-1", & fr30_mach, MODEL_FR30_1, TIMING_DATA (& fr30_1_timing[0]), fr30_1_model_init }, -// OBSOLETE { 0 } -// OBSOLETE }; -// OBSOLETE -// OBSOLETE /* The properties of this cpu's implementation. */ -// OBSOLETE -// OBSOLETE static const MACH_IMP_PROPERTIES fr30bf_imp_properties = -// OBSOLETE { -// OBSOLETE sizeof (SIM_CPU), -// OBSOLETE #if WITH_SCACHE -// OBSOLETE sizeof (SCACHE) -// OBSOLETE #else -// OBSOLETE 0 -// OBSOLETE #endif -// OBSOLETE }; -// OBSOLETE -// OBSOLETE -// OBSOLETE static void -// OBSOLETE fr30bf_prepare_run (SIM_CPU *cpu) -// OBSOLETE { -// OBSOLETE if (CPU_IDESC (cpu) == NULL) -// OBSOLETE fr30bf_init_idesc_table (cpu); -// OBSOLETE } -// OBSOLETE -// OBSOLETE static const CGEN_INSN * -// OBSOLETE fr30bf_get_idata (SIM_CPU *cpu, int inum) -// OBSOLETE { -// OBSOLETE return CPU_IDESC (cpu) [inum].idata; -// OBSOLETE } -// OBSOLETE -// OBSOLETE static void -// OBSOLETE fr30_init_cpu (SIM_CPU *cpu) -// OBSOLETE { -// OBSOLETE CPU_REG_FETCH (cpu) = fr30bf_fetch_register; -// OBSOLETE CPU_REG_STORE (cpu) = fr30bf_store_register; -// OBSOLETE CPU_PC_FETCH (cpu) = fr30bf_h_pc_get; -// OBSOLETE CPU_PC_STORE (cpu) = fr30bf_h_pc_set; -// OBSOLETE CPU_GET_IDATA (cpu) = fr30bf_get_idata; -// OBSOLETE CPU_MAX_INSNS (cpu) = FR30BF_INSN_XCHB + 1; -// OBSOLETE CPU_INSN_NAME (cpu) = cgen_insn_name; -// OBSOLETE CPU_FULL_ENGINE_FN (cpu) = fr30bf_engine_run_full; -// OBSOLETE #if WITH_FAST -// OBSOLETE CPU_FAST_ENGINE_FN (cpu) = fr30bf_engine_run_fast; -// OBSOLETE #else -// OBSOLETE CPU_FAST_ENGINE_FN (cpu) = fr30bf_engine_run_full; -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE -// OBSOLETE const MACH fr30_mach = -// OBSOLETE { -// OBSOLETE "fr30", "fr30", MACH_FR30, -// OBSOLETE 32, 32, & fr30_models[0], & fr30bf_imp_properties, -// OBSOLETE fr30_init_cpu, -// OBSOLETE fr30bf_prepare_run -// OBSOLETE }; diff --git a/sim/fr30/sem-switch.c b/sim/fr30/sem-switch.c deleted file mode 100644 index 15f3c22..0000000 --- a/sim/fr30/sem-switch.c +++ /dev/null @@ -1,5409 +0,0 @@ -// OBSOLETE /* Simulator instruction semantics for fr30bf. -// OBSOLETE -// OBSOLETE THIS FILE IS MACHINE GENERATED WITH CGEN. -// OBSOLETE -// OBSOLETE Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// OBSOLETE -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #ifdef DEFINE_LABELS -// OBSOLETE -// OBSOLETE /* The labels have the case they have because the enum of insn types -// OBSOLETE is all uppercase and in the non-stdc case the insn symbol is built -// OBSOLETE into the enum name. */ -// OBSOLETE -// OBSOLETE static struct { -// OBSOLETE int index; -// OBSOLETE void *label; -// OBSOLETE } labels[] = { -// OBSOLETE { FR30BF_INSN_X_INVALID, && case_sem_INSN_X_INVALID }, -// OBSOLETE { FR30BF_INSN_X_AFTER, && case_sem_INSN_X_AFTER }, -// OBSOLETE { FR30BF_INSN_X_BEFORE, && case_sem_INSN_X_BEFORE }, -// OBSOLETE { FR30BF_INSN_X_CTI_CHAIN, && case_sem_INSN_X_CTI_CHAIN }, -// OBSOLETE { FR30BF_INSN_X_CHAIN, && case_sem_INSN_X_CHAIN }, -// OBSOLETE { FR30BF_INSN_X_BEGIN, && case_sem_INSN_X_BEGIN }, -// OBSOLETE { FR30BF_INSN_ADD, && case_sem_INSN_ADD }, -// OBSOLETE { FR30BF_INSN_ADDI, && case_sem_INSN_ADDI }, -// OBSOLETE { FR30BF_INSN_ADD2, && case_sem_INSN_ADD2 }, -// OBSOLETE { FR30BF_INSN_ADDC, && case_sem_INSN_ADDC }, -// OBSOLETE { FR30BF_INSN_ADDN, && case_sem_INSN_ADDN }, -// OBSOLETE { FR30BF_INSN_ADDNI, && case_sem_INSN_ADDNI }, -// OBSOLETE { FR30BF_INSN_ADDN2, && case_sem_INSN_ADDN2 }, -// OBSOLETE { FR30BF_INSN_SUB, && case_sem_INSN_SUB }, -// OBSOLETE { FR30BF_INSN_SUBC, && case_sem_INSN_SUBC }, -// OBSOLETE { FR30BF_INSN_SUBN, && case_sem_INSN_SUBN }, -// OBSOLETE { FR30BF_INSN_CMP, && case_sem_INSN_CMP }, -// OBSOLETE { FR30BF_INSN_CMPI, && case_sem_INSN_CMPI }, -// OBSOLETE { FR30BF_INSN_CMP2, && case_sem_INSN_CMP2 }, -// OBSOLETE { FR30BF_INSN_AND, && case_sem_INSN_AND }, -// OBSOLETE { FR30BF_INSN_OR, && case_sem_INSN_OR }, -// OBSOLETE { FR30BF_INSN_EOR, && case_sem_INSN_EOR }, -// OBSOLETE { FR30BF_INSN_ANDM, && case_sem_INSN_ANDM }, -// OBSOLETE { FR30BF_INSN_ANDH, && case_sem_INSN_ANDH }, -// OBSOLETE { FR30BF_INSN_ANDB, && case_sem_INSN_ANDB }, -// OBSOLETE { FR30BF_INSN_ORM, && case_sem_INSN_ORM }, -// OBSOLETE { FR30BF_INSN_ORH, && case_sem_INSN_ORH }, -// OBSOLETE { FR30BF_INSN_ORB, && case_sem_INSN_ORB }, -// OBSOLETE { FR30BF_INSN_EORM, && case_sem_INSN_EORM }, -// OBSOLETE { FR30BF_INSN_EORH, && case_sem_INSN_EORH }, -// OBSOLETE { FR30BF_INSN_EORB, && case_sem_INSN_EORB }, -// OBSOLETE { FR30BF_INSN_BANDL, && case_sem_INSN_BANDL }, -// OBSOLETE { FR30BF_INSN_BORL, && case_sem_INSN_BORL }, -// OBSOLETE { FR30BF_INSN_BEORL, && case_sem_INSN_BEORL }, -// OBSOLETE { FR30BF_INSN_BANDH, && case_sem_INSN_BANDH }, -// OBSOLETE { FR30BF_INSN_BORH, && case_sem_INSN_BORH }, -// OBSOLETE { FR30BF_INSN_BEORH, && case_sem_INSN_BEORH }, -// OBSOLETE { FR30BF_INSN_BTSTL, && case_sem_INSN_BTSTL }, -// OBSOLETE { FR30BF_INSN_BTSTH, && case_sem_INSN_BTSTH }, -// OBSOLETE { FR30BF_INSN_MUL, && case_sem_INSN_MUL }, -// OBSOLETE { FR30BF_INSN_MULU, && case_sem_INSN_MULU }, -// OBSOLETE { FR30BF_INSN_MULH, && case_sem_INSN_MULH }, -// OBSOLETE { FR30BF_INSN_MULUH, && case_sem_INSN_MULUH }, -// OBSOLETE { FR30BF_INSN_DIV0S, && case_sem_INSN_DIV0S }, -// OBSOLETE { FR30BF_INSN_DIV0U, && case_sem_INSN_DIV0U }, -// OBSOLETE { FR30BF_INSN_DIV1, && case_sem_INSN_DIV1 }, -// OBSOLETE { FR30BF_INSN_DIV2, && case_sem_INSN_DIV2 }, -// OBSOLETE { FR30BF_INSN_DIV3, && case_sem_INSN_DIV3 }, -// OBSOLETE { FR30BF_INSN_DIV4S, && case_sem_INSN_DIV4S }, -// OBSOLETE { FR30BF_INSN_LSL, && case_sem_INSN_LSL }, -// OBSOLETE { FR30BF_INSN_LSLI, && case_sem_INSN_LSLI }, -// OBSOLETE { FR30BF_INSN_LSL2, && case_sem_INSN_LSL2 }, -// OBSOLETE { FR30BF_INSN_LSR, && case_sem_INSN_LSR }, -// OBSOLETE { FR30BF_INSN_LSRI, && case_sem_INSN_LSRI }, -// OBSOLETE { FR30BF_INSN_LSR2, && case_sem_INSN_LSR2 }, -// OBSOLETE { FR30BF_INSN_ASR, && case_sem_INSN_ASR }, -// OBSOLETE { FR30BF_INSN_ASRI, && case_sem_INSN_ASRI }, -// OBSOLETE { FR30BF_INSN_ASR2, && case_sem_INSN_ASR2 }, -// OBSOLETE { FR30BF_INSN_LDI8, && case_sem_INSN_LDI8 }, -// OBSOLETE { FR30BF_INSN_LDI20, && case_sem_INSN_LDI20 }, -// OBSOLETE { FR30BF_INSN_LDI32, && case_sem_INSN_LDI32 }, -// OBSOLETE { FR30BF_INSN_LD, && case_sem_INSN_LD }, -// OBSOLETE { FR30BF_INSN_LDUH, && case_sem_INSN_LDUH }, -// OBSOLETE { FR30BF_INSN_LDUB, && case_sem_INSN_LDUB }, -// OBSOLETE { FR30BF_INSN_LDR13, && case_sem_INSN_LDR13 }, -// OBSOLETE { FR30BF_INSN_LDR13UH, && case_sem_INSN_LDR13UH }, -// OBSOLETE { FR30BF_INSN_LDR13UB, && case_sem_INSN_LDR13UB }, -// OBSOLETE { FR30BF_INSN_LDR14, && case_sem_INSN_LDR14 }, -// OBSOLETE { FR30BF_INSN_LDR14UH, && case_sem_INSN_LDR14UH }, -// OBSOLETE { FR30BF_INSN_LDR14UB, && case_sem_INSN_LDR14UB }, -// OBSOLETE { FR30BF_INSN_LDR15, && case_sem_INSN_LDR15 }, -// OBSOLETE { FR30BF_INSN_LDR15GR, && case_sem_INSN_LDR15GR }, -// OBSOLETE { FR30BF_INSN_LDR15DR, && case_sem_INSN_LDR15DR }, -// OBSOLETE { FR30BF_INSN_LDR15PS, && case_sem_INSN_LDR15PS }, -// OBSOLETE { FR30BF_INSN_ST, && case_sem_INSN_ST }, -// OBSOLETE { FR30BF_INSN_STH, && case_sem_INSN_STH }, -// OBSOLETE { FR30BF_INSN_STB, && case_sem_INSN_STB }, -// OBSOLETE { FR30BF_INSN_STR13, && case_sem_INSN_STR13 }, -// OBSOLETE { FR30BF_INSN_STR13H, && case_sem_INSN_STR13H }, -// OBSOLETE { FR30BF_INSN_STR13B, && case_sem_INSN_STR13B }, -// OBSOLETE { FR30BF_INSN_STR14, && case_sem_INSN_STR14 }, -// OBSOLETE { FR30BF_INSN_STR14H, && case_sem_INSN_STR14H }, -// OBSOLETE { FR30BF_INSN_STR14B, && case_sem_INSN_STR14B }, -// OBSOLETE { FR30BF_INSN_STR15, && case_sem_INSN_STR15 }, -// OBSOLETE { FR30BF_INSN_STR15GR, && case_sem_INSN_STR15GR }, -// OBSOLETE { FR30BF_INSN_STR15DR, && case_sem_INSN_STR15DR }, -// OBSOLETE { FR30BF_INSN_STR15PS, && case_sem_INSN_STR15PS }, -// OBSOLETE { FR30BF_INSN_MOV, && case_sem_INSN_MOV }, -// OBSOLETE { FR30BF_INSN_MOVDR, && case_sem_INSN_MOVDR }, -// OBSOLETE { FR30BF_INSN_MOVPS, && case_sem_INSN_MOVPS }, -// OBSOLETE { FR30BF_INSN_MOV2DR, && case_sem_INSN_MOV2DR }, -// OBSOLETE { FR30BF_INSN_MOV2PS, && case_sem_INSN_MOV2PS }, -// OBSOLETE { FR30BF_INSN_JMP, && case_sem_INSN_JMP }, -// OBSOLETE { FR30BF_INSN_JMPD, && case_sem_INSN_JMPD }, -// OBSOLETE { FR30BF_INSN_CALLR, && case_sem_INSN_CALLR }, -// OBSOLETE { FR30BF_INSN_CALLRD, && case_sem_INSN_CALLRD }, -// OBSOLETE { FR30BF_INSN_CALL, && case_sem_INSN_CALL }, -// OBSOLETE { FR30BF_INSN_CALLD, && case_sem_INSN_CALLD }, -// OBSOLETE { FR30BF_INSN_RET, && case_sem_INSN_RET }, -// OBSOLETE { FR30BF_INSN_RET_D, && case_sem_INSN_RET_D }, -// OBSOLETE { FR30BF_INSN_INT, && case_sem_INSN_INT }, -// OBSOLETE { FR30BF_INSN_INTE, && case_sem_INSN_INTE }, -// OBSOLETE { FR30BF_INSN_RETI, && case_sem_INSN_RETI }, -// OBSOLETE { FR30BF_INSN_BRAD, && case_sem_INSN_BRAD }, -// OBSOLETE { FR30BF_INSN_BRA, && case_sem_INSN_BRA }, -// OBSOLETE { FR30BF_INSN_BNOD, && case_sem_INSN_BNOD }, -// OBSOLETE { FR30BF_INSN_BNO, && case_sem_INSN_BNO }, -// OBSOLETE { FR30BF_INSN_BEQD, && case_sem_INSN_BEQD }, -// OBSOLETE { FR30BF_INSN_BEQ, && case_sem_INSN_BEQ }, -// OBSOLETE { FR30BF_INSN_BNED, && case_sem_INSN_BNED }, -// OBSOLETE { FR30BF_INSN_BNE, && case_sem_INSN_BNE }, -// OBSOLETE { FR30BF_INSN_BCD, && case_sem_INSN_BCD }, -// OBSOLETE { FR30BF_INSN_BC, && case_sem_INSN_BC }, -// OBSOLETE { FR30BF_INSN_BNCD, && case_sem_INSN_BNCD }, -// OBSOLETE { FR30BF_INSN_BNC, && case_sem_INSN_BNC }, -// OBSOLETE { FR30BF_INSN_BND, && case_sem_INSN_BND }, -// OBSOLETE { FR30BF_INSN_BN, && case_sem_INSN_BN }, -// OBSOLETE { FR30BF_INSN_BPD, && case_sem_INSN_BPD }, -// OBSOLETE { FR30BF_INSN_BP, && case_sem_INSN_BP }, -// OBSOLETE { FR30BF_INSN_BVD, && case_sem_INSN_BVD }, -// OBSOLETE { FR30BF_INSN_BV, && case_sem_INSN_BV }, -// OBSOLETE { FR30BF_INSN_BNVD, && case_sem_INSN_BNVD }, -// OBSOLETE { FR30BF_INSN_BNV, && case_sem_INSN_BNV }, -// OBSOLETE { FR30BF_INSN_BLTD, && case_sem_INSN_BLTD }, -// OBSOLETE { FR30BF_INSN_BLT, && case_sem_INSN_BLT }, -// OBSOLETE { FR30BF_INSN_BGED, && case_sem_INSN_BGED }, -// OBSOLETE { FR30BF_INSN_BGE, && case_sem_INSN_BGE }, -// OBSOLETE { FR30BF_INSN_BLED, && case_sem_INSN_BLED }, -// OBSOLETE { FR30BF_INSN_BLE, && case_sem_INSN_BLE }, -// OBSOLETE { FR30BF_INSN_BGTD, && case_sem_INSN_BGTD }, -// OBSOLETE { FR30BF_INSN_BGT, && case_sem_INSN_BGT }, -// OBSOLETE { FR30BF_INSN_BLSD, && case_sem_INSN_BLSD }, -// OBSOLETE { FR30BF_INSN_BLS, && case_sem_INSN_BLS }, -// OBSOLETE { FR30BF_INSN_BHID, && case_sem_INSN_BHID }, -// OBSOLETE { FR30BF_INSN_BHI, && case_sem_INSN_BHI }, -// OBSOLETE { FR30BF_INSN_DMOVR13, && case_sem_INSN_DMOVR13 }, -// OBSOLETE { FR30BF_INSN_DMOVR13H, && case_sem_INSN_DMOVR13H }, -// OBSOLETE { FR30BF_INSN_DMOVR13B, && case_sem_INSN_DMOVR13B }, -// OBSOLETE { FR30BF_INSN_DMOVR13PI, && case_sem_INSN_DMOVR13PI }, -// OBSOLETE { FR30BF_INSN_DMOVR13PIH, && case_sem_INSN_DMOVR13PIH }, -// OBSOLETE { FR30BF_INSN_DMOVR13PIB, && case_sem_INSN_DMOVR13PIB }, -// OBSOLETE { FR30BF_INSN_DMOVR15PI, && case_sem_INSN_DMOVR15PI }, -// OBSOLETE { FR30BF_INSN_DMOV2R13, && case_sem_INSN_DMOV2R13 }, -// OBSOLETE { FR30BF_INSN_DMOV2R13H, && case_sem_INSN_DMOV2R13H }, -// OBSOLETE { FR30BF_INSN_DMOV2R13B, && case_sem_INSN_DMOV2R13B }, -// OBSOLETE { FR30BF_INSN_DMOV2R13PI, && case_sem_INSN_DMOV2R13PI }, -// OBSOLETE { FR30BF_INSN_DMOV2R13PIH, && case_sem_INSN_DMOV2R13PIH }, -// OBSOLETE { FR30BF_INSN_DMOV2R13PIB, && case_sem_INSN_DMOV2R13PIB }, -// OBSOLETE { FR30BF_INSN_DMOV2R15PD, && case_sem_INSN_DMOV2R15PD }, -// OBSOLETE { FR30BF_INSN_LDRES, && case_sem_INSN_LDRES }, -// OBSOLETE { FR30BF_INSN_STRES, && case_sem_INSN_STRES }, -// OBSOLETE { FR30BF_INSN_COPOP, && case_sem_INSN_COPOP }, -// OBSOLETE { FR30BF_INSN_COPLD, && case_sem_INSN_COPLD }, -// OBSOLETE { FR30BF_INSN_COPST, && case_sem_INSN_COPST }, -// OBSOLETE { FR30BF_INSN_COPSV, && case_sem_INSN_COPSV }, -// OBSOLETE { FR30BF_INSN_NOP, && case_sem_INSN_NOP }, -// OBSOLETE { FR30BF_INSN_ANDCCR, && case_sem_INSN_ANDCCR }, -// OBSOLETE { FR30BF_INSN_ORCCR, && case_sem_INSN_ORCCR }, -// OBSOLETE { FR30BF_INSN_STILM, && case_sem_INSN_STILM }, -// OBSOLETE { FR30BF_INSN_ADDSP, && case_sem_INSN_ADDSP }, -// OBSOLETE { FR30BF_INSN_EXTSB, && case_sem_INSN_EXTSB }, -// OBSOLETE { FR30BF_INSN_EXTUB, && case_sem_INSN_EXTUB }, -// OBSOLETE { FR30BF_INSN_EXTSH, && case_sem_INSN_EXTSH }, -// OBSOLETE { FR30BF_INSN_EXTUH, && case_sem_INSN_EXTUH }, -// OBSOLETE { FR30BF_INSN_LDM0, && case_sem_INSN_LDM0 }, -// OBSOLETE { FR30BF_INSN_LDM1, && case_sem_INSN_LDM1 }, -// OBSOLETE { FR30BF_INSN_STM0, && case_sem_INSN_STM0 }, -// OBSOLETE { FR30BF_INSN_STM1, && case_sem_INSN_STM1 }, -// OBSOLETE { FR30BF_INSN_ENTER, && case_sem_INSN_ENTER }, -// OBSOLETE { FR30BF_INSN_LEAVE, && case_sem_INSN_LEAVE }, -// OBSOLETE { FR30BF_INSN_XCHB, && case_sem_INSN_XCHB }, -// OBSOLETE { 0, 0 } -// OBSOLETE }; -// OBSOLETE int i; -// OBSOLETE -// OBSOLETE for (i = 0; labels[i].label != 0; ++i) -// OBSOLETE { -// OBSOLETE #if FAST_P -// OBSOLETE CPU_IDESC (current_cpu) [labels[i].index].sem_fast_lab = labels[i].label; -// OBSOLETE #else -// OBSOLETE CPU_IDESC (current_cpu) [labels[i].index].sem_full_lab = labels[i].label; -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef DEFINE_LABELS -// OBSOLETE #endif /* DEFINE_LABELS */ -// OBSOLETE -// OBSOLETE #ifdef DEFINE_SWITCH -// OBSOLETE -// OBSOLETE /* If hyper-fast [well not unnecessarily slow] execution is selected, turn -// OBSOLETE off frills like tracing and profiling. */ -// OBSOLETE /* FIXME: A better way would be to have TRACE_RESULT check for something -// OBSOLETE that can cause it to be optimized out. Another way would be to emit -// OBSOLETE special handlers into the instruction "stream". */ -// OBSOLETE -// OBSOLETE #if FAST_P -// OBSOLETE #undef TRACE_RESULT -// OBSOLETE #define TRACE_RESULT(cpu, abuf, name, type, val) -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE #undef GET_ATTR -// OBSOLETE #if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE) -// OBSOLETE #define GET_ATTR(cpu, num, attr) CGEN_ATTR_VALUE (NULL, abuf->idesc->attrs, CGEN_INSN_##attr) -// OBSOLETE #else -// OBSOLETE #define GET_ATTR(cpu, num, attr) CGEN_ATTR_VALUE (NULL, abuf->idesc->attrs, CGEN_INSN_/**/attr) -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE { -// OBSOLETE -// OBSOLETE #if WITH_SCACHE_PBB -// OBSOLETE -// OBSOLETE /* Branch to next handler without going around main loop. */ -// OBSOLETE #define NEXT(vpc) goto * SEM_ARGBUF (vpc) -> semantic.sem_case -// OBSOLETE SWITCH (sem, SEM_ARGBUF (vpc) -> semantic.sem_case) -// OBSOLETE -// OBSOLETE #else /* ! WITH_SCACHE_PBB */ -// OBSOLETE -// OBSOLETE #define NEXT(vpc) BREAK (sem) -// OBSOLETE #ifdef __GNUC__ -// OBSOLETE #if FAST_P -// OBSOLETE SWITCH (sem, SEM_ARGBUF (sc) -> idesc->sem_fast_lab) -// OBSOLETE #else -// OBSOLETE SWITCH (sem, SEM_ARGBUF (sc) -> idesc->sem_full_lab) -// OBSOLETE #endif -// OBSOLETE #else -// OBSOLETE SWITCH (sem, SEM_ARGBUF (sc) -> idesc->num) -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE #endif /* ! WITH_SCACHE_PBB */ -// OBSOLETE -// OBSOLETE { -// OBSOLETE -// OBSOLETE CASE (sem, INSN_X_INVALID) : /* --invalid-- */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 0); -// OBSOLETE -// OBSOLETE { -// OBSOLETE /* Update the recorded pc in the cpu state struct. -// OBSOLETE Only necessary for WITH_SCACHE case, but to avoid the -// OBSOLETE conditional compilation .... */ -// OBSOLETE SET_H_PC (pc); -// OBSOLETE /* Virtual insns have zero size. Overwrite vpc with address of next insn -// OBSOLETE using the default-insn-bitsize spec. When executing insns in parallel -// OBSOLETE we may want to queue the fault and continue execution. */ -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE vpc = sim_engine_invalid_insn (current_cpu, pc, vpc); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_X_AFTER) : /* --after-- */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 0); -// OBSOLETE -// OBSOLETE { -// OBSOLETE #if WITH_SCACHE_PBB_FR30BF -// OBSOLETE fr30bf_pbb_after (current_cpu, sem_arg); -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_X_BEFORE) : /* --before-- */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 0); -// OBSOLETE -// OBSOLETE { -// OBSOLETE #if WITH_SCACHE_PBB_FR30BF -// OBSOLETE fr30bf_pbb_before (current_cpu, sem_arg); -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_X_CTI_CHAIN) : /* --cti-chain-- */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 0); -// OBSOLETE -// OBSOLETE { -// OBSOLETE #if WITH_SCACHE_PBB_FR30BF -// OBSOLETE #ifdef DEFINE_SWITCH -// OBSOLETE vpc = fr30bf_pbb_cti_chain (current_cpu, sem_arg, -// OBSOLETE pbb_br_type, pbb_br_npc); -// OBSOLETE BREAK (sem); -// OBSOLETE #else -// OBSOLETE /* FIXME: Allow provision of explicit ifmt spec in insn spec. */ -// OBSOLETE vpc = fr30bf_pbb_cti_chain (current_cpu, sem_arg, -// OBSOLETE CPU_PBB_BR_TYPE (current_cpu), -// OBSOLETE CPU_PBB_BR_NPC (current_cpu)); -// OBSOLETE #endif -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_X_CHAIN) : /* --chain-- */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 0); -// OBSOLETE -// OBSOLETE { -// OBSOLETE #if WITH_SCACHE_PBB_FR30BF -// OBSOLETE vpc = fr30bf_pbb_chain (current_cpu, sem_arg); -// OBSOLETE #ifdef DEFINE_SWITCH -// OBSOLETE BREAK (sem); -// OBSOLETE #endif -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_X_BEGIN) : /* --begin-- */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 0); -// OBSOLETE -// OBSOLETE { -// OBSOLETE #if WITH_SCACHE_PBB_FR30BF -// OBSOLETE #if defined DEFINE_SWITCH || defined FAST_P -// OBSOLETE /* In the switch case FAST_P is a constant, allowing several optimizations -// OBSOLETE in any called inline functions. */ -// OBSOLETE vpc = fr30bf_pbb_begin (current_cpu, FAST_P); -// OBSOLETE #else -// OBSOLETE #if 0 /* cgen engine can't handle dynamic fast/full switching yet. */ -// OBSOLETE vpc = fr30bf_pbb_begin (current_cpu, STATE_RUN_FAST_P (CPU_STATE (current_cpu))); -// OBSOLETE #else -// OBSOLETE vpc = fr30bf_pbb_begin (current_cpu, 0); -// OBSOLETE #endif -// OBSOLETE #endif -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ADD) : /* add $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = ADDOFSI (* FLD (i_Ri), * FLD (i_Rj), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = ADDCFSI (* FLD (i_Ri), * FLD (i_Rj), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ADDI) : /* add $u4,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = ADDOFSI (* FLD (i_Ri), FLD (f_u4), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = ADDCFSI (* FLD (i_Ri), FLD (f_u4), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), FLD (f_u4)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ADD2) : /* add2 $m4,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = ADDOFSI (* FLD (i_Ri), FLD (f_m4), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = ADDCFSI (* FLD (i_Ri), FLD (f_m4), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), FLD (f_m4)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ADDC) : /* addc $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = ADDCSI (* FLD (i_Ri), * FLD (i_Rj), CPU (h_cbit)); -// OBSOLETE { -// OBSOLETE BI opval = ADDOFSI (* FLD (i_Ri), * FLD (i_Rj), CPU (h_cbit)); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = ADDCFSI (* FLD (i_Ri), * FLD (i_Rj), CPU (h_cbit)); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ADDN) : /* addn $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ADDNI) : /* addn $u4,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), FLD (f_u4)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ADDN2) : /* addn2 $m4,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), FLD (f_m4)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_SUB) : /* sub $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = SUBOFSI (* FLD (i_Ri), * FLD (i_Rj), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (* FLD (i_Ri), * FLD (i_Rj), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_SUBC) : /* subc $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = SUBCSI (* FLD (i_Ri), * FLD (i_Rj), CPU (h_cbit)); -// OBSOLETE { -// OBSOLETE BI opval = SUBOFSI (* FLD (i_Ri), * FLD (i_Rj), CPU (h_cbit)); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (* FLD (i_Ri), * FLD (i_Rj), CPU (h_cbit)); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_SUBN) : /* subn $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_CMP) : /* cmp $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp1; -// OBSOLETE { -// OBSOLETE BI opval = SUBOFSI (* FLD (i_Ri), * FLD (i_Rj), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (* FLD (i_Ri), * FLD (i_Rj), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE tmp_tmp1 = SUBSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (tmp_tmp1, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (tmp_tmp1, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_CMPI) : /* cmp $u4,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp1; -// OBSOLETE { -// OBSOLETE BI opval = SUBOFSI (* FLD (i_Ri), FLD (f_u4), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (* FLD (i_Ri), FLD (f_u4), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE tmp_tmp1 = SUBSI (* FLD (i_Ri), FLD (f_u4)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (tmp_tmp1, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (tmp_tmp1, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_CMP2) : /* cmp2 $m4,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp1; -// OBSOLETE { -// OBSOLETE BI opval = SUBOFSI (* FLD (i_Ri), FLD (f_m4), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (* FLD (i_Ri), FLD (f_m4), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE tmp_tmp1 = SUBSI (* FLD (i_Ri), FLD (f_m4)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (tmp_tmp1, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (tmp_tmp1, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_AND) : /* and $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ANDSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_OR) : /* or $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ORSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_EOR) : /* eor $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = XORSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ANDM) : /* and $Rj,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = ANDSI (GETMEMSI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SETMEMSI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ANDH) : /* andh $Rj,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI tmp_tmp; -// OBSOLETE tmp_tmp = ANDHI (GETMEMHI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQHI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTHI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE HI opval = tmp_tmp; -// OBSOLETE SETMEMHI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ANDB) : /* andb $Rj,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI tmp_tmp; -// OBSOLETE tmp_tmp = ANDQI (GETMEMQI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQQI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTQI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE QI opval = tmp_tmp; -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ORM) : /* or $Rj,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = ORSI (GETMEMSI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SETMEMSI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ORH) : /* orh $Rj,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI tmp_tmp; -// OBSOLETE tmp_tmp = ORHI (GETMEMHI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQHI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTHI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE HI opval = tmp_tmp; -// OBSOLETE SETMEMHI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ORB) : /* orb $Rj,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI tmp_tmp; -// OBSOLETE tmp_tmp = ORQI (GETMEMQI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQQI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTQI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE QI opval = tmp_tmp; -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_EORM) : /* eor $Rj,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = XORSI (GETMEMSI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SETMEMSI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_EORH) : /* eorh $Rj,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI tmp_tmp; -// OBSOLETE tmp_tmp = XORHI (GETMEMHI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQHI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTHI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE HI opval = tmp_tmp; -// OBSOLETE SETMEMHI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_EORB) : /* eorb $Rj,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI tmp_tmp; -// OBSOLETE tmp_tmp = XORQI (GETMEMQI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQQI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTQI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE QI opval = tmp_tmp; -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BANDL) : /* bandl $u4,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = ANDQI (ORQI (FLD (f_u4), 240), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BORL) : /* borl $u4,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = ORQI (FLD (f_u4), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BEORL) : /* beorl $u4,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = XORQI (FLD (f_u4), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BANDH) : /* bandh $u4,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = ANDQI (ORQI (SLLQI (FLD (f_u4), 4), 15), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BORH) : /* borh $u4,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = ORQI (SLLQI (FLD (f_u4), 4), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BEORH) : /* beorh $u4,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = XORQI (SLLQI (FLD (f_u4), 4), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BTSTL) : /* btstl $u4,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI tmp_tmp; -// OBSOLETE tmp_tmp = ANDQI (FLD (f_u4), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE { -// OBSOLETE BI opval = EQQI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BTSTH) : /* btsth $u4,@$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI tmp_tmp; -// OBSOLETE tmp_tmp = ANDQI (SLLQI (FLD (f_u4), 4), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE { -// OBSOLETE BI opval = EQQI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTQI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_MUL) : /* mul $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE DI tmp_tmp; -// OBSOLETE tmp_tmp = MULDI (EXTSIDI (* FLD (i_Rj)), EXTSIDI (* FLD (i_Ri))); -// OBSOLETE { -// OBSOLETE SI opval = TRUNCDISI (tmp_tmp); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = TRUNCDISI (SRLDI (tmp_tmp, 32)); -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQDI (tmp_tmp, MAKEDI (0, 0)); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = ORIF (GTDI (tmp_tmp, MAKEDI (0, 2147483647)), LTDI (tmp_tmp, NEGDI (MAKEDI (0, 0x80000000)))); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_MULU) : /* mulu $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE DI tmp_tmp; -// OBSOLETE tmp_tmp = MULDI (ZEXTSIDI (* FLD (i_Rj)), ZEXTSIDI (* FLD (i_Ri))); -// OBSOLETE { -// OBSOLETE SI opval = TRUNCDISI (tmp_tmp); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = TRUNCDISI (SRLDI (tmp_tmp, 32)); -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (GET_H_DR (((UINT) 4)), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = NESI (GET_H_DR (((UINT) 4)), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_MULH) : /* mulh $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = MULHI (TRUNCSIHI (* FLD (i_Rj)), TRUNCSIHI (* FLD (i_Ri))); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = GESI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_MULUH) : /* muluh $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = MULSI (ANDSI (* FLD (i_Rj), 65535), ANDSI (* FLD (i_Ri), 65535)); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = GESI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DIV0S) : /* div0s $Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = LTSI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_d0bit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "d0bit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = XORBI (CPU (h_d0bit), LTSI (* FLD (i_Ri), 0)); -// OBSOLETE CPU (h_d1bit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "d1bit", 'x', opval); -// OBSOLETE } -// OBSOLETE if (NEBI (CPU (h_d0bit), 0)) { -// OBSOLETE { -// OBSOLETE SI opval = 0xffffffff; -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE SI opval = 0; -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DIV0U) : /* div0u $Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_d0bit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "d0bit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_d1bit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "d1bit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = 0; -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DIV1) : /* div1 $Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE { -// OBSOLETE SI opval = SLLSI (GET_H_DR (((UINT) 4)), 1); -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE if (LTSI (GET_H_DR (((UINT) 5)), 0)) { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (GET_H_DR (((UINT) 4)), 1); -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SLLSI (GET_H_DR (((UINT) 5)), 1); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE if (EQBI (CPU (h_d1bit), 1)) { -// OBSOLETE { -// OBSOLETE tmp_tmp = ADDSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri)); -// OBSOLETE { -// OBSOLETE BI opval = ADDCFSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 6); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE tmp_tmp = SUBSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri)); -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 6); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (NOTBI (XORBI (XORBI (CPU (h_d0bit), CPU (h_d1bit)), CPU (h_cbit)))) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ORSI (GET_H_DR (((UINT) 5)), 1); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (GET_H_DR (((UINT) 4)), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DIV2) : /* div2 $Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE if (EQBI (CPU (h_d1bit), 1)) { -// OBSOLETE { -// OBSOLETE tmp_tmp = ADDSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri)); -// OBSOLETE { -// OBSOLETE BI opval = ADDCFSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE tmp_tmp = SUBSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri)); -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (EQSI (tmp_tmp, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = 1; -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = 0; -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DIV3) : /* div3 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (EQBI (CPU (h_zbit), 1)) { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (GET_H_DR (((UINT) 5)), 1); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DIV4S) : /* div4s */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (EQBI (CPU (h_d1bit), 1)) { -// OBSOLETE { -// OBSOLETE SI opval = NEGSI (GET_H_DR (((UINT) 5))); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LSL) : /* lsl $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = ANDSI (* FLD (i_Rj), 31); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (32, tmp_shift))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SLLSI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LSLI) : /* lsl $u4,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = FLD (f_u4); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (32, tmp_shift))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SLLSI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LSL2) : /* lsl2 $u4,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = ADDSI (FLD (f_u4), 16); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (32, tmp_shift))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SLLSI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LSR) : /* lsr $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = ANDSI (* FLD (i_Rj), 31); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (tmp_shift, 1))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SRLSI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LSRI) : /* lsr $u4,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = FLD (f_u4); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (tmp_shift, 1))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SRLSI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LSR2) : /* lsr2 $u4,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = ADDSI (FLD (f_u4), 16); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (tmp_shift, 1))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SRLSI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ASR) : /* asr $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = ANDSI (* FLD (i_Rj), 31); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (tmp_shift, 1))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SRASI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ASRI) : /* asr $u4,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = FLD (f_u4); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (tmp_shift, 1))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SRASI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ASR2) : /* asr2 $u4,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = ADDSI (FLD (f_u4), 16); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (tmp_shift, 1))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SRASI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDI8) : /* ldi:8 $i8,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi8.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = FLD (f_i8); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDI20) : /* ldi:20 $i20,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi20.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 4); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = FLD (f_i20); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDI32) : /* ldi:32 $i32,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi32.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 6); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = FLD (f_i32); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LD) : /* ld @$Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDUH) : /* lduh @$Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUHI (current_cpu, pc, * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDUB) : /* ldub @$Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUQI (current_cpu, pc, * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDR13) : /* ld @($R13,$Rj),$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, ADDSI (* FLD (i_Rj), CPU (h_gr[((UINT) 13)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDR13UH) : /* lduh @($R13,$Rj),$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUHI (current_cpu, pc, ADDSI (* FLD (i_Rj), CPU (h_gr[((UINT) 13)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDR13UB) : /* ldub @($R13,$Rj),$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUQI (current_cpu, pc, ADDSI (* FLD (i_Rj), CPU (h_gr[((UINT) 13)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDR14) : /* ld @($R14,$disp10),$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, ADDSI (FLD (f_disp10), CPU (h_gr[((UINT) 14)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDR14UH) : /* lduh @($R14,$disp9),$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14uh.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUHI (current_cpu, pc, ADDSI (FLD (f_disp9), CPU (h_gr[((UINT) 14)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDR14UB) : /* ldub @($R14,$disp8),$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14ub.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUQI (current_cpu, pc, ADDSI (FLD (f_disp8), CPU (h_gr[((UINT) 14)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDR15) : /* ld @($R15,$udisp6),$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, ADDSI (FLD (f_udisp6), CPU (h_gr[((UINT) 15)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDR15GR) : /* ld @$R15+,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15gr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE if (NESI (FLD (f_Ri), 15)) { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDR15DR) : /* ld @$R15+,$Rs2 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15dr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SET_H_DR (FLD (f_Rs2), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDR15PS) : /* ld @$R15+,$ps */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE USI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE SET_H_PS (opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ps", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ST) : /* st $Ri,@$Rj */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = * FLD (i_Ri); -// OBSOLETE SETMEMSI (current_cpu, pc, * FLD (i_Rj), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STH) : /* sth $Ri,@$Rj */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI opval = * FLD (i_Ri); -// OBSOLETE SETMEMHI (current_cpu, pc, * FLD (i_Rj), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STB) : /* stb $Ri,@$Rj */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = * FLD (i_Ri); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Rj), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STR13) : /* st $Ri,@($R13,$Rj) */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = * FLD (i_Ri); -// OBSOLETE SETMEMSI (current_cpu, pc, ADDSI (* FLD (i_Rj), CPU (h_gr[((UINT) 13)])), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STR13H) : /* sth $Ri,@($R13,$Rj) */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI opval = * FLD (i_Ri); -// OBSOLETE SETMEMHI (current_cpu, pc, ADDSI (* FLD (i_Rj), CPU (h_gr[((UINT) 13)])), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STR13B) : /* stb $Ri,@($R13,$Rj) */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = * FLD (i_Ri); -// OBSOLETE SETMEMQI (current_cpu, pc, ADDSI (* FLD (i_Rj), CPU (h_gr[((UINT) 13)])), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STR14) : /* st $Ri,@($R14,$disp10) */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = * FLD (i_Ri); -// OBSOLETE SETMEMSI (current_cpu, pc, ADDSI (FLD (f_disp10), CPU (h_gr[((UINT) 14)])), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STR14H) : /* sth $Ri,@($R14,$disp9) */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14h.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI opval = * FLD (i_Ri); -// OBSOLETE SETMEMHI (current_cpu, pc, ADDSI (FLD (f_disp9), CPU (h_gr[((UINT) 14)])), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STR14B) : /* stb $Ri,@($R14,$disp8) */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14b.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = * FLD (i_Ri); -// OBSOLETE SETMEMQI (current_cpu, pc, ADDSI (FLD (f_disp8), CPU (h_gr[((UINT) 14)])), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STR15) : /* st $Ri,@($R15,$udisp6) */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str15.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = * FLD (i_Ri); -// OBSOLETE SETMEMSI (current_cpu, pc, ADDSI (CPU (h_gr[((UINT) 15)]), FLD (f_udisp6)), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STR15GR) : /* st $Ri,@-$R15 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str15gr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = * FLD (i_Ri); -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STR15DR) : /* st $Rs2,@-$R15 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15dr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = GET_H_DR (FLD (f_Rs2)); -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STR15PS) : /* st $ps,@-$R15 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = GET_H_PS (); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_MOV) : /* mov $Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = * FLD (i_Rj); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_MOVDR) : /* mov $Rs1,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_movdr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GET_H_DR (FLD (f_Rs1)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_MOVPS) : /* mov $ps,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_movdr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GET_H_PS (); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_MOV2DR) : /* mov $Ri,$Rs1 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = * FLD (i_Ri); -// OBSOLETE SET_H_DR (FLD (f_Rs1), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_MOV2PS) : /* mov $Ri,$ps */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE USI opval = * FLD (i_Ri); -// OBSOLETE SET_H_PS (opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ps", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_JMP) : /* jmp @$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE USI opval = * FLD (i_Ri); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_JMPD) : /* jmp:d @$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE USI opval = * FLD (i_Ri); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_CALLR) : /* call @$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (pc, 2); -// OBSOLETE SET_H_DR (((UINT) 1), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE USI opval = * FLD (i_Ri); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_CALLRD) : /* call:d @$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (pc, 4); -// OBSOLETE SET_H_DR (((UINT) 1), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE USI opval = * FLD (i_Ri); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_CALL) : /* call $label12 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_call.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (pc, 2); -// OBSOLETE SET_H_DR (((UINT) 1), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label12); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_CALLD) : /* call:d $label12 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_call.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (pc, 4); -// OBSOLETE SET_H_DR (((UINT) 1), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label12); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_RET) : /* ret */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE USI opval = GET_H_DR (((UINT) 1)); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_RET_D) : /* ret:d */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE USI opval = GET_H_DR (((UINT) 1)); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_INT) : /* int $u8 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE ; /*clobber*/ -// OBSOLETE ; /*clobber*/ -// OBSOLETE ; /*clobber*/ -// OBSOLETE { -// OBSOLETE SI opval = fr30_int (current_cpu, pc, FLD (f_u8)); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_INTE) : /* inte */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE ; /*clobber*/ -// OBSOLETE ; /*clobber*/ -// OBSOLETE ; /*clobber*/ -// OBSOLETE { -// OBSOLETE SI opval = fr30_inte (current_cpu, pc); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_RETI) : /* reti */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (EQBI (GET_H_SBIT (), 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, GET_H_DR (((UINT) 2))); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 7); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (GET_H_DR (((UINT) 2)), 4); -// OBSOLETE SET_H_DR (((UINT) 2), opval); -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, GET_H_DR (((UINT) 2))); -// OBSOLETE SET_H_PS (opval); -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ps", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (GET_H_DR (((UINT) 2)), 4); -// OBSOLETE SET_H_DR (((UINT) 2), opval); -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, GET_H_DR (((UINT) 3))); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 7); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (GET_H_DR (((UINT) 3)), 4); -// OBSOLETE SET_H_DR (((UINT) 3), opval); -// OBSOLETE written |= (1 << 6); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, GET_H_DR (((UINT) 3))); -// OBSOLETE SET_H_PS (opval); -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ps", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (GET_H_DR (((UINT) 3)), 4); -// OBSOLETE SET_H_DR (((UINT) 3), opval); -// OBSOLETE written |= (1 << 6); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BRAD) : /* bra:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BRA) : /* bra $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BNOD) : /* bno:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BNO) : /* bno $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BEQD) : /* beq:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (CPU (h_zbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BEQ) : /* beq $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (CPU (h_zbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BNED) : /* bne:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (CPU (h_zbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BNE) : /* bne $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (CPU (h_zbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BCD) : /* bc:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (CPU (h_cbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BC) : /* bc $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (CPU (h_cbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BNCD) : /* bnc:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (CPU (h_cbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BNC) : /* bnc $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (CPU (h_cbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BND) : /* bn:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (CPU (h_nbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BN) : /* bn $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (CPU (h_nbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BPD) : /* bp:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (CPU (h_nbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BP) : /* bp $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (CPU (h_nbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BVD) : /* bv:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (CPU (h_vbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BV) : /* bv $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (CPU (h_vbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BNVD) : /* bnv:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (CPU (h_vbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BNV) : /* bnv $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (CPU (h_vbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BLTD) : /* blt:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (XORBI (CPU (h_vbit), CPU (h_nbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BLT) : /* blt $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (XORBI (CPU (h_vbit), CPU (h_nbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BGED) : /* bge:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (XORBI (CPU (h_vbit), CPU (h_nbit)))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BGE) : /* bge $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (XORBI (CPU (h_vbit), CPU (h_nbit)))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BLED) : /* ble:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (ORBI (XORBI (CPU (h_vbit), CPU (h_nbit)), CPU (h_zbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BLE) : /* ble $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (ORBI (XORBI (CPU (h_vbit), CPU (h_nbit)), CPU (h_zbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BGTD) : /* bgt:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (ORBI (XORBI (CPU (h_vbit), CPU (h_nbit)), CPU (h_zbit)))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BGT) : /* bgt $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (ORBI (XORBI (CPU (h_vbit), CPU (h_nbit)), CPU (h_zbit)))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BLSD) : /* bls:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (ORBI (CPU (h_cbit), CPU (h_zbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BLS) : /* bls $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (ORBI (CPU (h_cbit), CPU (h_zbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BHID) : /* bhi:d $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (ORBI (CPU (h_cbit), CPU (h_zbit)))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_BHI) : /* bhi $label9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (ORBI (CPU (h_cbit), CPU (h_zbit)))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOVR13) : /* dmov $R13,@$dir10 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 13)]); -// OBSOLETE SETMEMSI (current_cpu, pc, FLD (f_dir10), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOVR13H) : /* dmovh $R13,@$dir9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI opval = CPU (h_gr[((UINT) 13)]); -// OBSOLETE SETMEMHI (current_cpu, pc, FLD (f_dir9), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOVR13B) : /* dmovb $R13,@$dir8 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = CPU (h_gr[((UINT) 13)]); -// OBSOLETE SETMEMQI (current_cpu, pc, FLD (f_dir8), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOVR13PI) : /* dmov @$R13+,@$dir10 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 13)])); -// OBSOLETE SETMEMSI (current_cpu, pc, FLD (f_dir10), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 13)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOVR13PIH) : /* dmovh @$R13+,@$dir9 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE HI opval = GETMEMHI (current_cpu, pc, CPU (h_gr[((UINT) 13)])); -// OBSOLETE SETMEMHI (current_cpu, pc, FLD (f_dir9), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 13)]), 2); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOVR13PIB) : /* dmovb @$R13+,@$dir8 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE QI opval = GETMEMQI (current_cpu, pc, CPU (h_gr[((UINT) 13)])); -// OBSOLETE SETMEMQI (current_cpu, pc, FLD (f_dir8), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 13)]), 1); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOVR15PI) : /* dmov @$R15+,@$dir10 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr15pi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE SETMEMSI (current_cpu, pc, FLD (f_dir10), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOV2R13) : /* dmov @$dir10,$R13 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, FLD (f_dir10)); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOV2R13H) : /* dmovh @$dir9,$R13 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMHI (current_cpu, pc, FLD (f_dir9)); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOV2R13B) : /* dmovb @$dir8,$R13 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMQI (current_cpu, pc, FLD (f_dir8)); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOV2R13PI) : /* dmov @$dir10,@$R13+ */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, FLD (f_dir10)); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 13)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 13)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOV2R13PIH) : /* dmovh @$dir9,@$R13+ */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE HI opval = GETMEMHI (current_cpu, pc, FLD (f_dir9)); -// OBSOLETE SETMEMHI (current_cpu, pc, CPU (h_gr[((UINT) 13)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 13)]), 2); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOV2R13PIB) : /* dmovb @$dir8,@$R13+ */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE QI opval = GETMEMQI (current_cpu, pc, FLD (f_dir8)); -// OBSOLETE SETMEMQI (current_cpu, pc, CPU (h_gr[((UINT) 13)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 13)]), 1); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_DMOV2R15PD) : /* dmov @$dir10,@-$R15 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr15pi.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, FLD (f_dir10)); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDRES) : /* ldres @$Ri+,$u4 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), 4); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STRES) : /* stres $u4,@$Ri+ */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), 4); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_COPOP) : /* copop $u4c,$ccc,$CRj,$CRi */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 4); -// OBSOLETE -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_COPLD) : /* copld $u4c,$ccc,$Rjc,$CRi */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 4); -// OBSOLETE -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_COPST) : /* copst $u4c,$ccc,$CRj,$Ric */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 4); -// OBSOLETE -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_COPSV) : /* copsv $u4c,$ccc,$CRj,$Ric */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 4); -// OBSOLETE -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_NOP) : /* nop */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ANDCCR) : /* andccr $u8 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE UQI opval = ANDQI (GET_H_CCR (), FLD (f_u8)); -// OBSOLETE SET_H_CCR (opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ccr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ORCCR) : /* orccr $u8 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE UQI opval = ORQI (GET_H_CCR (), FLD (f_u8)); -// OBSOLETE SET_H_CCR (opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ccr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STILM) : /* stilm $u8 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE UQI opval = ANDSI (FLD (f_u8), 31); -// OBSOLETE SET_H_ILM (opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ilm", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ADDSP) : /* addsp $s10 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), FLD (f_s10)); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_EXTSB) : /* extsb $Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = EXTQISI (ANDQI (* FLD (i_Ri), 255)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_EXTUB) : /* extub $Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ZEXTQISI (ANDQI (* FLD (i_Ri), 255)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_EXTSH) : /* extsh $Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = EXTHISI (ANDHI (* FLD (i_Ri), 65535)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_EXTUH) : /* extuh $Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ZEXTHISI (ANDHI (* FLD (i_Ri), 65535)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDM0) : /* ldm0 ($reglist_low_ld) */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldm0.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 1)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 0)]) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 2)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 1)]) = opval; -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 4)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 2)]) = opval; -// OBSOLETE written |= (1 << 6); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 8)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 3)]) = opval; -// OBSOLETE written |= (1 << 7); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 16)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 4)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 32)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 5)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 64)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 6)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 128)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 7)]) = opval; -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LDM1) : /* ldm1 ($reglist_hi_ld) */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldm1.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 1)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 8)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 2)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 9)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 4)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 10)]) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 8)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 11)]) = opval; -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 16)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 12)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 32)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE written |= (1 << 6); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 64)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 14)]) = opval; -// OBSOLETE written |= (1 << 7); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 128)) { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STM0) : /* stm0 ($reglist_low_st) */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_stm0.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 1)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 7)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 2)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 6)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 4)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 5)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 8)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 4)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 16)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 3)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 32)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 2)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 64)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 1)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 128)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 0)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_STM1) : /* stm1 ($reglist_hi_st) */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_stm1.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 1)) { -// OBSOLETE { -// OBSOLETE SI tmp_save_r15; -// OBSOLETE tmp_save_r15 = CPU (h_gr[((UINT) 15)]); -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_save_r15; -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 2)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 14)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 4)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 13)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 8)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 12)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 16)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 11)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 32)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 10)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 64)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 9)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 128)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 8)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_ENTER) : /* enter $u10 */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_enter.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 14)]); -// OBSOLETE SETMEMSI (current_cpu, pc, tmp_tmp, opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE CPU (h_gr[((UINT) 14)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), FLD (f_u10)); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_LEAVE) : /* leave */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_enter.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 14)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, SUBSI (CPU (h_gr[((UINT) 15)]), 4)); -// OBSOLETE CPU (h_gr[((UINT) 14)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE CASE (sem, INSN_XCHB) : /* xchb @$Rj,$Ri */ -// OBSOLETE { -// OBSOLETE SEM_ARG sem_arg = SEM_SEM_ARG (vpc, sc); -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = * FLD (i_Ri); -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUQI (current_cpu, pc, * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE UQI opval = tmp_tmp; -// OBSOLETE SETMEMUQI (current_cpu, pc, * FLD (i_Rj), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE NEXT (vpc); -// OBSOLETE -// OBSOLETE -// OBSOLETE } -// OBSOLETE ENDSWITCH (sem) /* End of semantic switch. */ -// OBSOLETE -// OBSOLETE /* At this point `vpc' contains the next insn to execute. */ -// OBSOLETE } -// OBSOLETE -// OBSOLETE #undef DEFINE_SWITCH -// OBSOLETE #endif /* DEFINE_SWITCH */ diff --git a/sim/fr30/sem.c b/sim/fr30/sem.c deleted file mode 100644 index de61ba6..0000000 --- a/sim/fr30/sem.c +++ /dev/null @@ -1,5729 +0,0 @@ -// OBSOLETE /* Simulator instruction semantics for fr30bf. -// OBSOLETE -// OBSOLETE THIS FILE IS MACHINE GENERATED WITH CGEN. -// OBSOLETE -// OBSOLETE Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// OBSOLETE -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #define WANT_CPU fr30bf -// OBSOLETE #define WANT_CPU_FR30BF -// OBSOLETE -// OBSOLETE #include "sim-main.h" -// OBSOLETE #include "cgen-mem.h" -// OBSOLETE #include "cgen-ops.h" -// OBSOLETE -// OBSOLETE #undef GET_ATTR -// OBSOLETE #if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE) -// OBSOLETE #define GET_ATTR(cpu, num, attr) CGEN_ATTR_VALUE (NULL, abuf->idesc->attrs, CGEN_INSN_##attr) -// OBSOLETE #else -// OBSOLETE #define GET_ATTR(cpu, num, attr) CGEN_ATTR_VALUE (NULL, abuf->idesc->attrs, CGEN_INSN_/**/attr) -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE /* This is used so that we can compile two copies of the semantic code, -// OBSOLETE one with full feature support and one without that runs fast(er). -// OBSOLETE FAST_P, when desired, is defined on the command line, -DFAST_P=1. */ -// OBSOLETE #if FAST_P -// OBSOLETE #define SEM_FN_NAME(cpu,fn) XCONCAT3 (cpu,_semf_,fn) -// OBSOLETE #undef TRACE_RESULT -// OBSOLETE #define TRACE_RESULT(cpu, abuf, name, type, val) -// OBSOLETE #else -// OBSOLETE #define SEM_FN_NAME(cpu,fn) XCONCAT3 (cpu,_sem_,fn) -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE /* x-invalid: --invalid-- */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,x_invalid) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 0); -// OBSOLETE -// OBSOLETE { -// OBSOLETE /* Update the recorded pc in the cpu state struct. -// OBSOLETE Only necessary for WITH_SCACHE case, but to avoid the -// OBSOLETE conditional compilation .... */ -// OBSOLETE SET_H_PC (pc); -// OBSOLETE /* Virtual insns have zero size. Overwrite vpc with address of next insn -// OBSOLETE using the default-insn-bitsize spec. When executing insns in parallel -// OBSOLETE we may want to queue the fault and continue execution. */ -// OBSOLETE vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE vpc = sim_engine_invalid_insn (current_cpu, pc, vpc); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* x-after: --after-- */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,x_after) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 0); -// OBSOLETE -// OBSOLETE { -// OBSOLETE #if WITH_SCACHE_PBB_FR30BF -// OBSOLETE fr30bf_pbb_after (current_cpu, sem_arg); -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* x-before: --before-- */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,x_before) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 0); -// OBSOLETE -// OBSOLETE { -// OBSOLETE #if WITH_SCACHE_PBB_FR30BF -// OBSOLETE fr30bf_pbb_before (current_cpu, sem_arg); -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* x-cti-chain: --cti-chain-- */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,x_cti_chain) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 0); -// OBSOLETE -// OBSOLETE { -// OBSOLETE #if WITH_SCACHE_PBB_FR30BF -// OBSOLETE #ifdef DEFINE_SWITCH -// OBSOLETE vpc = fr30bf_pbb_cti_chain (current_cpu, sem_arg, -// OBSOLETE pbb_br_type, pbb_br_npc); -// OBSOLETE BREAK (sem); -// OBSOLETE #else -// OBSOLETE /* FIXME: Allow provision of explicit ifmt spec in insn spec. */ -// OBSOLETE vpc = fr30bf_pbb_cti_chain (current_cpu, sem_arg, -// OBSOLETE CPU_PBB_BR_TYPE (current_cpu), -// OBSOLETE CPU_PBB_BR_NPC (current_cpu)); -// OBSOLETE #endif -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* x-chain: --chain-- */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,x_chain) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 0); -// OBSOLETE -// OBSOLETE { -// OBSOLETE #if WITH_SCACHE_PBB_FR30BF -// OBSOLETE vpc = fr30bf_pbb_chain (current_cpu, sem_arg); -// OBSOLETE #ifdef DEFINE_SWITCH -// OBSOLETE BREAK (sem); -// OBSOLETE #endif -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* x-begin: --begin-- */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,x_begin) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 0); -// OBSOLETE -// OBSOLETE { -// OBSOLETE #if WITH_SCACHE_PBB_FR30BF -// OBSOLETE #if defined DEFINE_SWITCH || defined FAST_P -// OBSOLETE /* In the switch case FAST_P is a constant, allowing several optimizations -// OBSOLETE in any called inline functions. */ -// OBSOLETE vpc = fr30bf_pbb_begin (current_cpu, FAST_P); -// OBSOLETE #else -// OBSOLETE #if 0 /* cgen engine can't handle dynamic fast/full switching yet. */ -// OBSOLETE vpc = fr30bf_pbb_begin (current_cpu, STATE_RUN_FAST_P (CPU_STATE (current_cpu))); -// OBSOLETE #else -// OBSOLETE vpc = fr30bf_pbb_begin (current_cpu, 0); -// OBSOLETE #endif -// OBSOLETE #endif -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* add: add $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,add) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = ADDOFSI (* FLD (i_Ri), * FLD (i_Rj), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = ADDCFSI (* FLD (i_Ri), * FLD (i_Rj), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* addi: add $u4,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,addi) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = ADDOFSI (* FLD (i_Ri), FLD (f_u4), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = ADDCFSI (* FLD (i_Ri), FLD (f_u4), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), FLD (f_u4)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* add2: add2 $m4,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,add2) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = ADDOFSI (* FLD (i_Ri), FLD (f_m4), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = ADDCFSI (* FLD (i_Ri), FLD (f_m4), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), FLD (f_m4)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* addc: addc $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,addc) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = ADDCSI (* FLD (i_Ri), * FLD (i_Rj), CPU (h_cbit)); -// OBSOLETE { -// OBSOLETE BI opval = ADDOFSI (* FLD (i_Ri), * FLD (i_Rj), CPU (h_cbit)); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = ADDCFSI (* FLD (i_Ri), * FLD (i_Rj), CPU (h_cbit)); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* addn: addn $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,addn) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* addni: addn $u4,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,addni) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), FLD (f_u4)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* addn2: addn2 $m4,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,addn2) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), FLD (f_m4)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* sub: sub $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,sub) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = SUBOFSI (* FLD (i_Ri), * FLD (i_Rj), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (* FLD (i_Ri), * FLD (i_Rj), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* subc: subc $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,subc) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = SUBCSI (* FLD (i_Ri), * FLD (i_Rj), CPU (h_cbit)); -// OBSOLETE { -// OBSOLETE BI opval = SUBOFSI (* FLD (i_Ri), * FLD (i_Rj), CPU (h_cbit)); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (* FLD (i_Ri), * FLD (i_Rj), CPU (h_cbit)); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* subn: subn $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,subn) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* cmp: cmp $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,cmp) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp1; -// OBSOLETE { -// OBSOLETE BI opval = SUBOFSI (* FLD (i_Ri), * FLD (i_Rj), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (* FLD (i_Ri), * FLD (i_Rj), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE tmp_tmp1 = SUBSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (tmp_tmp1, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (tmp_tmp1, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* cmpi: cmp $u4,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,cmpi) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp1; -// OBSOLETE { -// OBSOLETE BI opval = SUBOFSI (* FLD (i_Ri), FLD (f_u4), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (* FLD (i_Ri), FLD (f_u4), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE tmp_tmp1 = SUBSI (* FLD (i_Ri), FLD (f_u4)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (tmp_tmp1, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (tmp_tmp1, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* cmp2: cmp2 $m4,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,cmp2) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp1; -// OBSOLETE { -// OBSOLETE BI opval = SUBOFSI (* FLD (i_Ri), FLD (f_m4), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (* FLD (i_Ri), FLD (f_m4), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE tmp_tmp1 = SUBSI (* FLD (i_Ri), FLD (f_m4)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (tmp_tmp1, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (tmp_tmp1, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* and: and $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,and) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ANDSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* or: or $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,or) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ORSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* eor: eor $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,eor) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = XORSI (* FLD (i_Ri), * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* andm: and $Rj,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,andm) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = ANDSI (GETMEMSI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SETMEMSI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* andh: andh $Rj,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,andh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI tmp_tmp; -// OBSOLETE tmp_tmp = ANDHI (GETMEMHI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQHI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTHI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE HI opval = tmp_tmp; -// OBSOLETE SETMEMHI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* andb: andb $Rj,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,andb) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI tmp_tmp; -// OBSOLETE tmp_tmp = ANDQI (GETMEMQI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQQI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTQI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE QI opval = tmp_tmp; -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* orm: or $Rj,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,orm) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = ORSI (GETMEMSI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SETMEMSI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* orh: orh $Rj,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,orh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI tmp_tmp; -// OBSOLETE tmp_tmp = ORHI (GETMEMHI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQHI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTHI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE HI opval = tmp_tmp; -// OBSOLETE SETMEMHI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* orb: orb $Rj,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,orb) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI tmp_tmp; -// OBSOLETE tmp_tmp = ORQI (GETMEMQI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQQI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTQI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE QI opval = tmp_tmp; -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* eorm: eor $Rj,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,eorm) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = XORSI (GETMEMSI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQSI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SETMEMSI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* eorh: eorh $Rj,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,eorh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI tmp_tmp; -// OBSOLETE tmp_tmp = XORHI (GETMEMHI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQHI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTHI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE HI opval = tmp_tmp; -// OBSOLETE SETMEMHI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* eorb: eorb $Rj,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,eorb) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI tmp_tmp; -// OBSOLETE tmp_tmp = XORQI (GETMEMQI (current_cpu, pc, * FLD (i_Ri)), * FLD (i_Rj)); -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = EQQI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTQI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE QI opval = tmp_tmp; -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bandl: bandl $u4,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bandl) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = ANDQI (ORQI (FLD (f_u4), 240), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* borl: borl $u4,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,borl) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = ORQI (FLD (f_u4), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* beorl: beorl $u4,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,beorl) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = XORQI (FLD (f_u4), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bandh: bandh $u4,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bandh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = ANDQI (ORQI (SLLQI (FLD (f_u4), 4), 15), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* borh: borh $u4,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,borh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = ORQI (SLLQI (FLD (f_u4), 4), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* beorh: beorh $u4,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,beorh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = XORQI (SLLQI (FLD (f_u4), 4), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Ri), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* btstl: btstl $u4,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,btstl) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI tmp_tmp; -// OBSOLETE tmp_tmp = ANDQI (FLD (f_u4), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE { -// OBSOLETE BI opval = EQQI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* btsth: btsth $u4,@$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,btsth) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI tmp_tmp; -// OBSOLETE tmp_tmp = ANDQI (SLLQI (FLD (f_u4), 4), GETMEMQI (current_cpu, pc, * FLD (i_Ri))); -// OBSOLETE { -// OBSOLETE BI opval = EQQI (tmp_tmp, 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTQI (tmp_tmp, 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* mul: mul $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,mul) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE DI tmp_tmp; -// OBSOLETE tmp_tmp = MULDI (EXTSIDI (* FLD (i_Rj)), EXTSIDI (* FLD (i_Ri))); -// OBSOLETE { -// OBSOLETE SI opval = TRUNCDISI (tmp_tmp); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = TRUNCDISI (SRLDI (tmp_tmp, 32)); -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQDI (tmp_tmp, MAKEDI (0, 0)); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = ORIF (GTDI (tmp_tmp, MAKEDI (0, 2147483647)), LTDI (tmp_tmp, NEGDI (MAKEDI (0, 0x80000000)))); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* mulu: mulu $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,mulu) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE DI tmp_tmp; -// OBSOLETE tmp_tmp = MULDI (ZEXTSIDI (* FLD (i_Rj)), ZEXTSIDI (* FLD (i_Ri))); -// OBSOLETE { -// OBSOLETE SI opval = TRUNCDISI (tmp_tmp); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = TRUNCDISI (SRLDI (tmp_tmp, 32)); -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (GET_H_DR (((UINT) 4)), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = NESI (GET_H_DR (((UINT) 4)), 0); -// OBSOLETE CPU (h_vbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "vbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* mulh: mulh $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,mulh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = MULHI (TRUNCSIHI (* FLD (i_Rj)), TRUNCSIHI (* FLD (i_Ri))); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = GESI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* muluh: muluh $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,muluh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = MULSI (ANDSI (* FLD (i_Rj), 65535), ANDSI (* FLD (i_Ri), 65535)); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = GESI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* div0s: div0s $Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,div0s) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = LTSI (GET_H_DR (((UINT) 5)), 0); -// OBSOLETE CPU (h_d0bit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "d0bit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = XORBI (CPU (h_d0bit), LTSI (* FLD (i_Ri), 0)); -// OBSOLETE CPU (h_d1bit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "d1bit", 'x', opval); -// OBSOLETE } -// OBSOLETE if (NEBI (CPU (h_d0bit), 0)) { -// OBSOLETE { -// OBSOLETE SI opval = 0xffffffff; -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE SI opval = 0; -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* div0u: div0u $Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,div0u) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_d0bit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "d0bit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_d1bit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "d1bit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = 0; -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* div1: div1 $Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,div1) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE { -// OBSOLETE SI opval = SLLSI (GET_H_DR (((UINT) 4)), 1); -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE if (LTSI (GET_H_DR (((UINT) 5)), 0)) { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (GET_H_DR (((UINT) 4)), 1); -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SLLSI (GET_H_DR (((UINT) 5)), 1); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE if (EQBI (CPU (h_d1bit), 1)) { -// OBSOLETE { -// OBSOLETE tmp_tmp = ADDSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri)); -// OBSOLETE { -// OBSOLETE BI opval = ADDCFSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 6); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE tmp_tmp = SUBSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri)); -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 6); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (NOTBI (XORBI (XORBI (CPU (h_d0bit), CPU (h_d1bit)), CPU (h_cbit)))) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ORSI (GET_H_DR (((UINT) 5)), 1); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (GET_H_DR (((UINT) 4)), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* div2: div2 $Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,div2) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE if (EQBI (CPU (h_d1bit), 1)) { -// OBSOLETE { -// OBSOLETE tmp_tmp = ADDSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri)); -// OBSOLETE { -// OBSOLETE BI opval = ADDCFSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE tmp_tmp = SUBSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri)); -// OBSOLETE { -// OBSOLETE BI opval = SUBCFSI (GET_H_DR (((UINT) 4)), * FLD (i_Ri), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (EQSI (tmp_tmp, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = 1; -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = 0; -// OBSOLETE SET_H_DR (((UINT) 4), opval); -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* div3: div3 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,div3) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (EQBI (CPU (h_zbit), 1)) { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (GET_H_DR (((UINT) 5)), 1); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* div4s: div4s */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,div4s) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (EQBI (CPU (h_d1bit), 1)) { -// OBSOLETE { -// OBSOLETE SI opval = NEGSI (GET_H_DR (((UINT) 5))); -// OBSOLETE SET_H_DR (((UINT) 5), opval); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* lsl: lsl $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,lsl) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = ANDSI (* FLD (i_Rj), 31); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (32, tmp_shift))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SLLSI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* lsli: lsl $u4,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,lsli) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = FLD (f_u4); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (32, tmp_shift))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SLLSI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* lsl2: lsl2 $u4,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,lsl2) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = ADDSI (FLD (f_u4), 16); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (32, tmp_shift))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SLLSI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* lsr: lsr $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,lsr) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = ANDSI (* FLD (i_Rj), 31); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (tmp_shift, 1))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SRLSI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* lsri: lsr $u4,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,lsri) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = FLD (f_u4); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (tmp_shift, 1))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SRLSI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* lsr2: lsr2 $u4,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,lsr2) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = ADDSI (FLD (f_u4), 16); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (tmp_shift, 1))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SRLSI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* asr: asr $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,asr) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = ANDSI (* FLD (i_Rj), 31); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (tmp_shift, 1))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SRASI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* asri: asr $u4,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,asri) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = FLD (f_u4); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (tmp_shift, 1))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SRASI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* asr2: asr2 $u4,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,asr2) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_shift; -// OBSOLETE tmp_shift = ADDSI (FLD (f_u4), 16); -// OBSOLETE if (NESI (tmp_shift, 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE BI opval = NESI (ANDSI (* FLD (i_Ri), SLLSI (1, SUBSI (tmp_shift, 1))), 0); -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SRASI (* FLD (i_Ri), tmp_shift); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE BI opval = 0; -// OBSOLETE CPU (h_cbit) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "cbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = LTSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_nbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "nbit", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE BI opval = EQSI (* FLD (i_Ri), 0); -// OBSOLETE CPU (h_zbit) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "zbit", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldi8: ldi:8 $i8,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldi8) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi8.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = FLD (f_i8); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldi20: ldi:20 $i20,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldi20) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi20.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = FLD (f_i20); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldi32: ldi:32 $i32,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldi32) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi32.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 6); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = FLD (f_i32); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ld: ld @$Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ld) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* lduh: lduh @$Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,lduh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUHI (current_cpu, pc, * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldub: ldub @$Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldub) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUQI (current_cpu, pc, * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldr13: ld @($R13,$Rj),$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldr13) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, ADDSI (* FLD (i_Rj), CPU (h_gr[((UINT) 13)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldr13uh: lduh @($R13,$Rj),$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldr13uh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUHI (current_cpu, pc, ADDSI (* FLD (i_Rj), CPU (h_gr[((UINT) 13)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldr13ub: ldub @($R13,$Rj),$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldr13ub) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUQI (current_cpu, pc, ADDSI (* FLD (i_Rj), CPU (h_gr[((UINT) 13)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldr14: ld @($R14,$disp10),$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldr14) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, ADDSI (FLD (f_disp10), CPU (h_gr[((UINT) 14)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldr14uh: lduh @($R14,$disp9),$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldr14uh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14uh.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUHI (current_cpu, pc, ADDSI (FLD (f_disp9), CPU (h_gr[((UINT) 14)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldr14ub: ldub @($R14,$disp8),$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldr14ub) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14ub.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUQI (current_cpu, pc, ADDSI (FLD (f_disp8), CPU (h_gr[((UINT) 14)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldr15: ld @($R15,$udisp6),$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldr15) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, ADDSI (FLD (f_udisp6), CPU (h_gr[((UINT) 15)]))); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldr15gr: ld @$R15+,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldr15gr) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15gr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE if (NESI (FLD (f_Ri), 15)) { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldr15dr: ld @$R15+,$Rs2 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldr15dr) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15dr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SET_H_DR (FLD (f_Rs2), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldr15ps: ld @$R15+,$ps */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldr15ps) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE USI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE SET_H_PS (opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ps", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* st: st $Ri,@$Rj */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,st) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = * FLD (i_Ri); -// OBSOLETE SETMEMSI (current_cpu, pc, * FLD (i_Rj), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* sth: sth $Ri,@$Rj */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,sth) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI opval = * FLD (i_Ri); -// OBSOLETE SETMEMHI (current_cpu, pc, * FLD (i_Rj), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* stb: stb $Ri,@$Rj */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,stb) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = * FLD (i_Ri); -// OBSOLETE SETMEMQI (current_cpu, pc, * FLD (i_Rj), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* str13: st $Ri,@($R13,$Rj) */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,str13) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = * FLD (i_Ri); -// OBSOLETE SETMEMSI (current_cpu, pc, ADDSI (* FLD (i_Rj), CPU (h_gr[((UINT) 13)])), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* str13h: sth $Ri,@($R13,$Rj) */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,str13h) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI opval = * FLD (i_Ri); -// OBSOLETE SETMEMHI (current_cpu, pc, ADDSI (* FLD (i_Rj), CPU (h_gr[((UINT) 13)])), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* str13b: stb $Ri,@($R13,$Rj) */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,str13b) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = * FLD (i_Ri); -// OBSOLETE SETMEMQI (current_cpu, pc, ADDSI (* FLD (i_Rj), CPU (h_gr[((UINT) 13)])), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* str14: st $Ri,@($R14,$disp10) */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,str14) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = * FLD (i_Ri); -// OBSOLETE SETMEMSI (current_cpu, pc, ADDSI (FLD (f_disp10), CPU (h_gr[((UINT) 14)])), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* str14h: sth $Ri,@($R14,$disp9) */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,str14h) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14h.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI opval = * FLD (i_Ri); -// OBSOLETE SETMEMHI (current_cpu, pc, ADDSI (FLD (f_disp9), CPU (h_gr[((UINT) 14)])), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* str14b: stb $Ri,@($R14,$disp8) */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,str14b) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14b.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = * FLD (i_Ri); -// OBSOLETE SETMEMQI (current_cpu, pc, ADDSI (FLD (f_disp8), CPU (h_gr[((UINT) 14)])), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* str15: st $Ri,@($R15,$udisp6) */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,str15) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str15.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = * FLD (i_Ri); -// OBSOLETE SETMEMSI (current_cpu, pc, ADDSI (CPU (h_gr[((UINT) 15)]), FLD (f_udisp6)), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* str15gr: st $Ri,@-$R15 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,str15gr) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_str15gr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = * FLD (i_Ri); -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* str15dr: st $Rs2,@-$R15 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,str15dr) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15dr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = GET_H_DR (FLD (f_Rs2)); -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* str15ps: st $ps,@-$R15 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,str15ps) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = GET_H_PS (); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* mov: mov $Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,mov) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = * FLD (i_Rj); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* movdr: mov $Rs1,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,movdr) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_movdr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GET_H_DR (FLD (f_Rs1)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* movps: mov $ps,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,movps) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_movdr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GET_H_PS (); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* mov2dr: mov $Ri,$Rs1 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,mov2dr) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = * FLD (i_Ri); -// OBSOLETE SET_H_DR (FLD (f_Rs1), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* mov2ps: mov $Ri,$ps */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,mov2ps) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE USI opval = * FLD (i_Ri); -// OBSOLETE SET_H_PS (opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ps", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* jmp: jmp @$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,jmp) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE USI opval = * FLD (i_Ri); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* jmpd: jmp:d @$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,jmpd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE USI opval = * FLD (i_Ri); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* callr: call @$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,callr) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (pc, 2); -// OBSOLETE SET_H_DR (((UINT) 1), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE USI opval = * FLD (i_Ri); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* callrd: call:d @$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,callrd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (pc, 4); -// OBSOLETE SET_H_DR (((UINT) 1), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE USI opval = * FLD (i_Ri); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* call: call $label12 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,call) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_call.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (pc, 2); -// OBSOLETE SET_H_DR (((UINT) 1), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label12); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* calld: call:d $label12 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,calld) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_call.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (pc, 4); -// OBSOLETE SET_H_DR (((UINT) 1), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label12); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ret: ret */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ret) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE USI opval = GET_H_DR (((UINT) 1)); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ret:d: ret:d */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ret_d) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE USI opval = GET_H_DR (((UINT) 1)); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* int: int $u8 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,int) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE ; /*clobber*/ -// OBSOLETE ; /*clobber*/ -// OBSOLETE ; /*clobber*/ -// OBSOLETE { -// OBSOLETE SI opval = fr30_int (current_cpu, pc, FLD (f_u8)); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* inte: inte */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,inte) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE ; /*clobber*/ -// OBSOLETE ; /*clobber*/ -// OBSOLETE ; /*clobber*/ -// OBSOLETE { -// OBSOLETE SI opval = fr30_inte (current_cpu, pc); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* reti: reti */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,reti) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (EQBI (GET_H_SBIT (), 0)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, GET_H_DR (((UINT) 2))); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 7); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (GET_H_DR (((UINT) 2)), 4); -// OBSOLETE SET_H_DR (((UINT) 2), opval); -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, GET_H_DR (((UINT) 2))); -// OBSOLETE SET_H_PS (opval); -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ps", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (GET_H_DR (((UINT) 2)), 4); -// OBSOLETE SET_H_DR (((UINT) 2), opval); -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } else { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, GET_H_DR (((UINT) 3))); -// OBSOLETE SEM_BRANCH_VIA_ADDR (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 7); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (GET_H_DR (((UINT) 3)), 4); -// OBSOLETE SET_H_DR (((UINT) 3), opval); -// OBSOLETE written |= (1 << 6); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, GET_H_DR (((UINT) 3))); -// OBSOLETE SET_H_PS (opval); -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ps", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (GET_H_DR (((UINT) 3)), 4); -// OBSOLETE SET_H_DR (((UINT) 3), opval); -// OBSOLETE written |= (1 << 6); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "dr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* brad: bra:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,brad) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bra: bra $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bra) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bnod: bno:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bnod) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bno: bno $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bno) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* beqd: beq:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,beqd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (CPU (h_zbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* beq: beq $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,beq) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (CPU (h_zbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bned: bne:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bned) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (CPU (h_zbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bne: bne $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bne) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (CPU (h_zbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bcd: bc:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bcd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (CPU (h_cbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bc: bc $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bc) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (CPU (h_cbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bncd: bnc:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bncd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (CPU (h_cbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bnc: bnc $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bnc) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (CPU (h_cbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bnd: bn:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bnd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (CPU (h_nbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bn: bn $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bn) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (CPU (h_nbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bpd: bp:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bpd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (CPU (h_nbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bp: bp $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bp) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (CPU (h_nbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bvd: bv:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bvd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (CPU (h_vbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bv: bv $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bv) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (CPU (h_vbit)) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bnvd: bnv:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bnvd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (CPU (h_vbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bnv: bnv $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bnv) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (CPU (h_vbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 2); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bltd: blt:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bltd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (XORBI (CPU (h_vbit), CPU (h_nbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* blt: blt $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,blt) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (XORBI (CPU (h_vbit), CPU (h_nbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bged: bge:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bged) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (XORBI (CPU (h_vbit), CPU (h_nbit)))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bge: bge $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bge) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (XORBI (CPU (h_vbit), CPU (h_nbit)))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bled: ble:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bled) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (ORBI (XORBI (CPU (h_vbit), CPU (h_nbit)), CPU (h_zbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ble: ble $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ble) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (ORBI (XORBI (CPU (h_vbit), CPU (h_nbit)), CPU (h_zbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bgtd: bgt:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bgtd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (ORBI (XORBI (CPU (h_vbit), CPU (h_nbit)), CPU (h_zbit)))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bgt: bgt $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bgt) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (ORBI (XORBI (CPU (h_vbit), CPU (h_nbit)), CPU (h_zbit)))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* blsd: bls:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,blsd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (ORBI (CPU (h_cbit), CPU (h_zbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bls: bls $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bls) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (ORBI (CPU (h_cbit), CPU (h_zbit))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bhid: bhi:d $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bhid) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (NOTBI (ORBI (CPU (h_cbit), CPU (h_zbit)))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* bhi: bhi $label9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,bhi) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_BRANCH_INIT -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE if (NOTBI (ORBI (CPU (h_cbit), CPU (h_zbit)))) { -// OBSOLETE { -// OBSOLETE USI opval = FLD (i_label9); -// OBSOLETE SEM_BRANCH_VIA_CACHE (current_cpu, sem_arg, opval, vpc); -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "pc", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE SEM_BRANCH_FINI (vpc); -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmovr13: dmov $R13,@$dir10 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmovr13) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 13)]); -// OBSOLETE SETMEMSI (current_cpu, pc, FLD (f_dir10), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmovr13h: dmovh $R13,@$dir9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmovr13h) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE HI opval = CPU (h_gr[((UINT) 13)]); -// OBSOLETE SETMEMHI (current_cpu, pc, FLD (f_dir9), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmovr13b: dmovb $R13,@$dir8 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmovr13b) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE QI opval = CPU (h_gr[((UINT) 13)]); -// OBSOLETE SETMEMQI (current_cpu, pc, FLD (f_dir8), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmovr13pi: dmov @$R13+,@$dir10 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmovr13pi) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 13)])); -// OBSOLETE SETMEMSI (current_cpu, pc, FLD (f_dir10), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 13)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmovr13pih: dmovh @$R13+,@$dir9 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmovr13pih) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE HI opval = GETMEMHI (current_cpu, pc, CPU (h_gr[((UINT) 13)])); -// OBSOLETE SETMEMHI (current_cpu, pc, FLD (f_dir9), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 13)]), 2); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmovr13pib: dmovb @$R13+,@$dir8 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmovr13pib) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE QI opval = GETMEMQI (current_cpu, pc, CPU (h_gr[((UINT) 13)])); -// OBSOLETE SETMEMQI (current_cpu, pc, FLD (f_dir8), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 13)]), 1); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmovr15pi: dmov @$R15+,@$dir10 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmovr15pi) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr15pi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE SETMEMSI (current_cpu, pc, FLD (f_dir10), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmov2r13: dmov @$dir10,$R13 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmov2r13) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, FLD (f_dir10)); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmov2r13h: dmovh @$dir9,$R13 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmov2r13h) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMHI (current_cpu, pc, FLD (f_dir9)); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmov2r13b: dmovb @$dir8,$R13 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmov2r13b) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = GETMEMQI (current_cpu, pc, FLD (f_dir8)); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmov2r13pi: dmov @$dir10,@$R13+ */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmov2r13pi) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, FLD (f_dir10)); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 13)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 13)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmov2r13pih: dmovh @$dir9,@$R13+ */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmov2r13pih) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE HI opval = GETMEMHI (current_cpu, pc, FLD (f_dir9)); -// OBSOLETE SETMEMHI (current_cpu, pc, CPU (h_gr[((UINT) 13)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 13)]), 2); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmov2r13pib: dmovb @$dir8,@$R13+ */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmov2r13pib) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE QI opval = GETMEMQI (current_cpu, pc, FLD (f_dir8)); -// OBSOLETE SETMEMQI (current_cpu, pc, CPU (h_gr[((UINT) 13)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 13)]), 1); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* dmov2r15pd: dmov @$dir10,@-$R15 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,dmov2r15pd) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr15pi.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, FLD (f_dir10)); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldres: ldres @$Ri+,$u4 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldres) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), 4); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* stres: stres $u4,@$Ri+ */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,stres) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (* FLD (i_Ri), 4); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* copop: copop $u4c,$ccc,$CRj,$CRi */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,copop) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4); -// OBSOLETE -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* copld: copld $u4c,$ccc,$Rjc,$CRi */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,copld) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4); -// OBSOLETE -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* copst: copst $u4c,$ccc,$CRj,$Ric */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,copst) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4); -// OBSOLETE -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* copsv: copsv $u4c,$ccc,$CRj,$Ric */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,copsv) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 4); -// OBSOLETE -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* nop: nop */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,nop) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE ((void) 0); /*nop*/ -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* andccr: andccr $u8 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,andccr) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE UQI opval = ANDQI (GET_H_CCR (), FLD (f_u8)); -// OBSOLETE SET_H_CCR (opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ccr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* orccr: orccr $u8 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,orccr) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE UQI opval = ORQI (GET_H_CCR (), FLD (f_u8)); -// OBSOLETE SET_H_CCR (opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ccr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* stilm: stilm $u8 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,stilm) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE UQI opval = ANDSI (FLD (f_u8), 31); -// OBSOLETE SET_H_ILM (opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "ilm", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* addsp: addsp $s10 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,addsp) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), FLD (f_s10)); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* extsb: extsb $Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,extsb) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = EXTQISI (ANDQI (* FLD (i_Ri), 255)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* extub: extub $Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,extub) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ZEXTQISI (ANDQI (* FLD (i_Ri), 255)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* extsh: extsh $Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,extsh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = EXTHISI (ANDHI (* FLD (i_Ri), 65535)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* extuh: extuh $Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,extuh) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI opval = ZEXTHISI (ANDHI (* FLD (i_Ri), 65535)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldm0: ldm0 ($reglist_low_ld) */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldm0) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldm0.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 1)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 0)]) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 2)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 1)]) = opval; -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 4)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 2)]) = opval; -// OBSOLETE written |= (1 << 6); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 8)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 3)]) = opval; -// OBSOLETE written |= (1 << 7); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 16)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 4)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 32)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 5)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 64)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 6)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_ld), 128)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 7)]) = opval; -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* ldm1: ldm1 ($reglist_hi_ld) */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,ldm1) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldm1.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 1)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 8)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 2)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 9)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 4)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 10)]) = opval; -// OBSOLETE written |= (1 << 3); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 8)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 11)]) = opval; -// OBSOLETE written |= (1 << 4); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 16)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 12)]) = opval; -// OBSOLETE written |= (1 << 5); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 32)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 13)]) = opval; -// OBSOLETE written |= (1 << 6); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 64)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 14)]) = opval; -// OBSOLETE written |= (1 << 7); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_ld), 128)) { -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)])); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 8); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* stm0: stm0 ($reglist_low_st) */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,stm0) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_stm0.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 1)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 7)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 2)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 6)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 4)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 5)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 8)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 4)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 16)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 3)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 32)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 2)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 64)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 1)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_low_st), 128)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 0)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 11); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* stm1: stm1 ($reglist_hi_st) */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,stm1) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_stm1.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 1)) { -// OBSOLETE { -// OBSOLETE SI tmp_save_r15; -// OBSOLETE tmp_save_r15 = CPU (h_gr[((UINT) 15)]); -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_save_r15; -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 2)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 14)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 4)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 13)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 8)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 12)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 16)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 11)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 32)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 10)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 64)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 9)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE if (ANDSI (FLD (f_reglist_hi_st), 128)) { -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE written |= (1 << 9); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 8)]); -// OBSOLETE SETMEMSI (current_cpu, pc, CPU (h_gr[((UINT) 15)]), opval); -// OBSOLETE written |= (1 << 10); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE abuf->written = written; -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* enter: enter $u10 */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,enter) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_enter.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = SUBSI (CPU (h_gr[((UINT) 15)]), 4); -// OBSOLETE { -// OBSOLETE SI opval = CPU (h_gr[((UINT) 14)]); -// OBSOLETE SETMEMSI (current_cpu, pc, tmp_tmp, opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = tmp_tmp; -// OBSOLETE CPU (h_gr[((UINT) 14)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = SUBSI (CPU (h_gr[((UINT) 15)]), FLD (f_u10)); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* leave: leave */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,leave) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_enter.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE { -// OBSOLETE SI opval = ADDSI (CPU (h_gr[((UINT) 14)]), 4); -// OBSOLETE CPU (h_gr[((UINT) 15)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE SI opval = GETMEMSI (current_cpu, pc, SUBSI (CPU (h_gr[((UINT) 15)]), 4)); -// OBSOLETE CPU (h_gr[((UINT) 14)]) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* xchb: xchb @$Rj,$Ri */ -// OBSOLETE -// OBSOLETE static SEM_PC -// OBSOLETE SEM_FN_NAME (fr30bf,xchb) (SIM_CPU *current_cpu, SEM_ARG sem_arg) -// OBSOLETE { -// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f -// OBSOLETE ARGBUF *abuf = SEM_ARGBUF (sem_arg); -// OBSOLETE int UNUSED written = 0; -// OBSOLETE IADDR UNUSED pc = abuf->addr; -// OBSOLETE SEM_PC vpc = SEM_NEXT_VPC (sem_arg, pc, 2); -// OBSOLETE -// OBSOLETE { -// OBSOLETE SI tmp_tmp; -// OBSOLETE tmp_tmp = * FLD (i_Ri); -// OBSOLETE { -// OBSOLETE SI opval = GETMEMUQI (current_cpu, pc, * FLD (i_Rj)); -// OBSOLETE * FLD (i_Ri) = opval; -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "gr", 'x', opval); -// OBSOLETE } -// OBSOLETE { -// OBSOLETE UQI opval = tmp_tmp; -// OBSOLETE SETMEMUQI (current_cpu, pc, * FLD (i_Rj), opval); -// OBSOLETE TRACE_RESULT (current_cpu, abuf, "memory", 'x', opval); -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE return vpc; -// OBSOLETE #undef FLD -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Table of all semantic fns. */ -// OBSOLETE -// OBSOLETE static const struct sem_fn_desc sem_fns[] = { -// OBSOLETE { FR30BF_INSN_X_INVALID, SEM_FN_NAME (fr30bf,x_invalid) }, -// OBSOLETE { FR30BF_INSN_X_AFTER, SEM_FN_NAME (fr30bf,x_after) }, -// OBSOLETE { FR30BF_INSN_X_BEFORE, SEM_FN_NAME (fr30bf,x_before) }, -// OBSOLETE { FR30BF_INSN_X_CTI_CHAIN, SEM_FN_NAME (fr30bf,x_cti_chain) }, -// OBSOLETE { FR30BF_INSN_X_CHAIN, SEM_FN_NAME (fr30bf,x_chain) }, -// OBSOLETE { FR30BF_INSN_X_BEGIN, SEM_FN_NAME (fr30bf,x_begin) }, -// OBSOLETE { FR30BF_INSN_ADD, SEM_FN_NAME (fr30bf,add) }, -// OBSOLETE { FR30BF_INSN_ADDI, SEM_FN_NAME (fr30bf,addi) }, -// OBSOLETE { FR30BF_INSN_ADD2, SEM_FN_NAME (fr30bf,add2) }, -// OBSOLETE { FR30BF_INSN_ADDC, SEM_FN_NAME (fr30bf,addc) }, -// OBSOLETE { FR30BF_INSN_ADDN, SEM_FN_NAME (fr30bf,addn) }, -// OBSOLETE { FR30BF_INSN_ADDNI, SEM_FN_NAME (fr30bf,addni) }, -// OBSOLETE { FR30BF_INSN_ADDN2, SEM_FN_NAME (fr30bf,addn2) }, -// OBSOLETE { FR30BF_INSN_SUB, SEM_FN_NAME (fr30bf,sub) }, -// OBSOLETE { FR30BF_INSN_SUBC, SEM_FN_NAME (fr30bf,subc) }, -// OBSOLETE { FR30BF_INSN_SUBN, SEM_FN_NAME (fr30bf,subn) }, -// OBSOLETE { FR30BF_INSN_CMP, SEM_FN_NAME (fr30bf,cmp) }, -// OBSOLETE { FR30BF_INSN_CMPI, SEM_FN_NAME (fr30bf,cmpi) }, -// OBSOLETE { FR30BF_INSN_CMP2, SEM_FN_NAME (fr30bf,cmp2) }, -// OBSOLETE { FR30BF_INSN_AND, SEM_FN_NAME (fr30bf,and) }, -// OBSOLETE { FR30BF_INSN_OR, SEM_FN_NAME (fr30bf,or) }, -// OBSOLETE { FR30BF_INSN_EOR, SEM_FN_NAME (fr30bf,eor) }, -// OBSOLETE { FR30BF_INSN_ANDM, SEM_FN_NAME (fr30bf,andm) }, -// OBSOLETE { FR30BF_INSN_ANDH, SEM_FN_NAME (fr30bf,andh) }, -// OBSOLETE { FR30BF_INSN_ANDB, SEM_FN_NAME (fr30bf,andb) }, -// OBSOLETE { FR30BF_INSN_ORM, SEM_FN_NAME (fr30bf,orm) }, -// OBSOLETE { FR30BF_INSN_ORH, SEM_FN_NAME (fr30bf,orh) }, -// OBSOLETE { FR30BF_INSN_ORB, SEM_FN_NAME (fr30bf,orb) }, -// OBSOLETE { FR30BF_INSN_EORM, SEM_FN_NAME (fr30bf,eorm) }, -// OBSOLETE { FR30BF_INSN_EORH, SEM_FN_NAME (fr30bf,eorh) }, -// OBSOLETE { FR30BF_INSN_EORB, SEM_FN_NAME (fr30bf,eorb) }, -// OBSOLETE { FR30BF_INSN_BANDL, SEM_FN_NAME (fr30bf,bandl) }, -// OBSOLETE { FR30BF_INSN_BORL, SEM_FN_NAME (fr30bf,borl) }, -// OBSOLETE { FR30BF_INSN_BEORL, SEM_FN_NAME (fr30bf,beorl) }, -// OBSOLETE { FR30BF_INSN_BANDH, SEM_FN_NAME (fr30bf,bandh) }, -// OBSOLETE { FR30BF_INSN_BORH, SEM_FN_NAME (fr30bf,borh) }, -// OBSOLETE { FR30BF_INSN_BEORH, SEM_FN_NAME (fr30bf,beorh) }, -// OBSOLETE { FR30BF_INSN_BTSTL, SEM_FN_NAME (fr30bf,btstl) }, -// OBSOLETE { FR30BF_INSN_BTSTH, SEM_FN_NAME (fr30bf,btsth) }, -// OBSOLETE { FR30BF_INSN_MUL, SEM_FN_NAME (fr30bf,mul) }, -// OBSOLETE { FR30BF_INSN_MULU, SEM_FN_NAME (fr30bf,mulu) }, -// OBSOLETE { FR30BF_INSN_MULH, SEM_FN_NAME (fr30bf,mulh) }, -// OBSOLETE { FR30BF_INSN_MULUH, SEM_FN_NAME (fr30bf,muluh) }, -// OBSOLETE { FR30BF_INSN_DIV0S, SEM_FN_NAME (fr30bf,div0s) }, -// OBSOLETE { FR30BF_INSN_DIV0U, SEM_FN_NAME (fr30bf,div0u) }, -// OBSOLETE { FR30BF_INSN_DIV1, SEM_FN_NAME (fr30bf,div1) }, -// OBSOLETE { FR30BF_INSN_DIV2, SEM_FN_NAME (fr30bf,div2) }, -// OBSOLETE { FR30BF_INSN_DIV3, SEM_FN_NAME (fr30bf,div3) }, -// OBSOLETE { FR30BF_INSN_DIV4S, SEM_FN_NAME (fr30bf,div4s) }, -// OBSOLETE { FR30BF_INSN_LSL, SEM_FN_NAME (fr30bf,lsl) }, -// OBSOLETE { FR30BF_INSN_LSLI, SEM_FN_NAME (fr30bf,lsli) }, -// OBSOLETE { FR30BF_INSN_LSL2, SEM_FN_NAME (fr30bf,lsl2) }, -// OBSOLETE { FR30BF_INSN_LSR, SEM_FN_NAME (fr30bf,lsr) }, -// OBSOLETE { FR30BF_INSN_LSRI, SEM_FN_NAME (fr30bf,lsri) }, -// OBSOLETE { FR30BF_INSN_LSR2, SEM_FN_NAME (fr30bf,lsr2) }, -// OBSOLETE { FR30BF_INSN_ASR, SEM_FN_NAME (fr30bf,asr) }, -// OBSOLETE { FR30BF_INSN_ASRI, SEM_FN_NAME (fr30bf,asri) }, -// OBSOLETE { FR30BF_INSN_ASR2, SEM_FN_NAME (fr30bf,asr2) }, -// OBSOLETE { FR30BF_INSN_LDI8, SEM_FN_NAME (fr30bf,ldi8) }, -// OBSOLETE { FR30BF_INSN_LDI20, SEM_FN_NAME (fr30bf,ldi20) }, -// OBSOLETE { FR30BF_INSN_LDI32, SEM_FN_NAME (fr30bf,ldi32) }, -// OBSOLETE { FR30BF_INSN_LD, SEM_FN_NAME (fr30bf,ld) }, -// OBSOLETE { FR30BF_INSN_LDUH, SEM_FN_NAME (fr30bf,lduh) }, -// OBSOLETE { FR30BF_INSN_LDUB, SEM_FN_NAME (fr30bf,ldub) }, -// OBSOLETE { FR30BF_INSN_LDR13, SEM_FN_NAME (fr30bf,ldr13) }, -// OBSOLETE { FR30BF_INSN_LDR13UH, SEM_FN_NAME (fr30bf,ldr13uh) }, -// OBSOLETE { FR30BF_INSN_LDR13UB, SEM_FN_NAME (fr30bf,ldr13ub) }, -// OBSOLETE { FR30BF_INSN_LDR14, SEM_FN_NAME (fr30bf,ldr14) }, -// OBSOLETE { FR30BF_INSN_LDR14UH, SEM_FN_NAME (fr30bf,ldr14uh) }, -// OBSOLETE { FR30BF_INSN_LDR14UB, SEM_FN_NAME (fr30bf,ldr14ub) }, -// OBSOLETE { FR30BF_INSN_LDR15, SEM_FN_NAME (fr30bf,ldr15) }, -// OBSOLETE { FR30BF_INSN_LDR15GR, SEM_FN_NAME (fr30bf,ldr15gr) }, -// OBSOLETE { FR30BF_INSN_LDR15DR, SEM_FN_NAME (fr30bf,ldr15dr) }, -// OBSOLETE { FR30BF_INSN_LDR15PS, SEM_FN_NAME (fr30bf,ldr15ps) }, -// OBSOLETE { FR30BF_INSN_ST, SEM_FN_NAME (fr30bf,st) }, -// OBSOLETE { FR30BF_INSN_STH, SEM_FN_NAME (fr30bf,sth) }, -// OBSOLETE { FR30BF_INSN_STB, SEM_FN_NAME (fr30bf,stb) }, -// OBSOLETE { FR30BF_INSN_STR13, SEM_FN_NAME (fr30bf,str13) }, -// OBSOLETE { FR30BF_INSN_STR13H, SEM_FN_NAME (fr30bf,str13h) }, -// OBSOLETE { FR30BF_INSN_STR13B, SEM_FN_NAME (fr30bf,str13b) }, -// OBSOLETE { FR30BF_INSN_STR14, SEM_FN_NAME (fr30bf,str14) }, -// OBSOLETE { FR30BF_INSN_STR14H, SEM_FN_NAME (fr30bf,str14h) }, -// OBSOLETE { FR30BF_INSN_STR14B, SEM_FN_NAME (fr30bf,str14b) }, -// OBSOLETE { FR30BF_INSN_STR15, SEM_FN_NAME (fr30bf,str15) }, -// OBSOLETE { FR30BF_INSN_STR15GR, SEM_FN_NAME (fr30bf,str15gr) }, -// OBSOLETE { FR30BF_INSN_STR15DR, SEM_FN_NAME (fr30bf,str15dr) }, -// OBSOLETE { FR30BF_INSN_STR15PS, SEM_FN_NAME (fr30bf,str15ps) }, -// OBSOLETE { FR30BF_INSN_MOV, SEM_FN_NAME (fr30bf,mov) }, -// OBSOLETE { FR30BF_INSN_MOVDR, SEM_FN_NAME (fr30bf,movdr) }, -// OBSOLETE { FR30BF_INSN_MOVPS, SEM_FN_NAME (fr30bf,movps) }, -// OBSOLETE { FR30BF_INSN_MOV2DR, SEM_FN_NAME (fr30bf,mov2dr) }, -// OBSOLETE { FR30BF_INSN_MOV2PS, SEM_FN_NAME (fr30bf,mov2ps) }, -// OBSOLETE { FR30BF_INSN_JMP, SEM_FN_NAME (fr30bf,jmp) }, -// OBSOLETE { FR30BF_INSN_JMPD, SEM_FN_NAME (fr30bf,jmpd) }, -// OBSOLETE { FR30BF_INSN_CALLR, SEM_FN_NAME (fr30bf,callr) }, -// OBSOLETE { FR30BF_INSN_CALLRD, SEM_FN_NAME (fr30bf,callrd) }, -// OBSOLETE { FR30BF_INSN_CALL, SEM_FN_NAME (fr30bf,call) }, -// OBSOLETE { FR30BF_INSN_CALLD, SEM_FN_NAME (fr30bf,calld) }, -// OBSOLETE { FR30BF_INSN_RET, SEM_FN_NAME (fr30bf,ret) }, -// OBSOLETE { FR30BF_INSN_RET_D, SEM_FN_NAME (fr30bf,ret_d) }, -// OBSOLETE { FR30BF_INSN_INT, SEM_FN_NAME (fr30bf,int) }, -// OBSOLETE { FR30BF_INSN_INTE, SEM_FN_NAME (fr30bf,inte) }, -// OBSOLETE { FR30BF_INSN_RETI, SEM_FN_NAME (fr30bf,reti) }, -// OBSOLETE { FR30BF_INSN_BRAD, SEM_FN_NAME (fr30bf,brad) }, -// OBSOLETE { FR30BF_INSN_BRA, SEM_FN_NAME (fr30bf,bra) }, -// OBSOLETE { FR30BF_INSN_BNOD, SEM_FN_NAME (fr30bf,bnod) }, -// OBSOLETE { FR30BF_INSN_BNO, SEM_FN_NAME (fr30bf,bno) }, -// OBSOLETE { FR30BF_INSN_BEQD, SEM_FN_NAME (fr30bf,beqd) }, -// OBSOLETE { FR30BF_INSN_BEQ, SEM_FN_NAME (fr30bf,beq) }, -// OBSOLETE { FR30BF_INSN_BNED, SEM_FN_NAME (fr30bf,bned) }, -// OBSOLETE { FR30BF_INSN_BNE, SEM_FN_NAME (fr30bf,bne) }, -// OBSOLETE { FR30BF_INSN_BCD, SEM_FN_NAME (fr30bf,bcd) }, -// OBSOLETE { FR30BF_INSN_BC, SEM_FN_NAME (fr30bf,bc) }, -// OBSOLETE { FR30BF_INSN_BNCD, SEM_FN_NAME (fr30bf,bncd) }, -// OBSOLETE { FR30BF_INSN_BNC, SEM_FN_NAME (fr30bf,bnc) }, -// OBSOLETE { FR30BF_INSN_BND, SEM_FN_NAME (fr30bf,bnd) }, -// OBSOLETE { FR30BF_INSN_BN, SEM_FN_NAME (fr30bf,bn) }, -// OBSOLETE { FR30BF_INSN_BPD, SEM_FN_NAME (fr30bf,bpd) }, -// OBSOLETE { FR30BF_INSN_BP, SEM_FN_NAME (fr30bf,bp) }, -// OBSOLETE { FR30BF_INSN_BVD, SEM_FN_NAME (fr30bf,bvd) }, -// OBSOLETE { FR30BF_INSN_BV, SEM_FN_NAME (fr30bf,bv) }, -// OBSOLETE { FR30BF_INSN_BNVD, SEM_FN_NAME (fr30bf,bnvd) }, -// OBSOLETE { FR30BF_INSN_BNV, SEM_FN_NAME (fr30bf,bnv) }, -// OBSOLETE { FR30BF_INSN_BLTD, SEM_FN_NAME (fr30bf,bltd) }, -// OBSOLETE { FR30BF_INSN_BLT, SEM_FN_NAME (fr30bf,blt) }, -// OBSOLETE { FR30BF_INSN_BGED, SEM_FN_NAME (fr30bf,bged) }, -// OBSOLETE { FR30BF_INSN_BGE, SEM_FN_NAME (fr30bf,bge) }, -// OBSOLETE { FR30BF_INSN_BLED, SEM_FN_NAME (fr30bf,bled) }, -// OBSOLETE { FR30BF_INSN_BLE, SEM_FN_NAME (fr30bf,ble) }, -// OBSOLETE { FR30BF_INSN_BGTD, SEM_FN_NAME (fr30bf,bgtd) }, -// OBSOLETE { FR30BF_INSN_BGT, SEM_FN_NAME (fr30bf,bgt) }, -// OBSOLETE { FR30BF_INSN_BLSD, SEM_FN_NAME (fr30bf,blsd) }, -// OBSOLETE { FR30BF_INSN_BLS, SEM_FN_NAME (fr30bf,bls) }, -// OBSOLETE { FR30BF_INSN_BHID, SEM_FN_NAME (fr30bf,bhid) }, -// OBSOLETE { FR30BF_INSN_BHI, SEM_FN_NAME (fr30bf,bhi) }, -// OBSOLETE { FR30BF_INSN_DMOVR13, SEM_FN_NAME (fr30bf,dmovr13) }, -// OBSOLETE { FR30BF_INSN_DMOVR13H, SEM_FN_NAME (fr30bf,dmovr13h) }, -// OBSOLETE { FR30BF_INSN_DMOVR13B, SEM_FN_NAME (fr30bf,dmovr13b) }, -// OBSOLETE { FR30BF_INSN_DMOVR13PI, SEM_FN_NAME (fr30bf,dmovr13pi) }, -// OBSOLETE { FR30BF_INSN_DMOVR13PIH, SEM_FN_NAME (fr30bf,dmovr13pih) }, -// OBSOLETE { FR30BF_INSN_DMOVR13PIB, SEM_FN_NAME (fr30bf,dmovr13pib) }, -// OBSOLETE { FR30BF_INSN_DMOVR15PI, SEM_FN_NAME (fr30bf,dmovr15pi) }, -// OBSOLETE { FR30BF_INSN_DMOV2R13, SEM_FN_NAME (fr30bf,dmov2r13) }, -// OBSOLETE { FR30BF_INSN_DMOV2R13H, SEM_FN_NAME (fr30bf,dmov2r13h) }, -// OBSOLETE { FR30BF_INSN_DMOV2R13B, SEM_FN_NAME (fr30bf,dmov2r13b) }, -// OBSOLETE { FR30BF_INSN_DMOV2R13PI, SEM_FN_NAME (fr30bf,dmov2r13pi) }, -// OBSOLETE { FR30BF_INSN_DMOV2R13PIH, SEM_FN_NAME (fr30bf,dmov2r13pih) }, -// OBSOLETE { FR30BF_INSN_DMOV2R13PIB, SEM_FN_NAME (fr30bf,dmov2r13pib) }, -// OBSOLETE { FR30BF_INSN_DMOV2R15PD, SEM_FN_NAME (fr30bf,dmov2r15pd) }, -// OBSOLETE { FR30BF_INSN_LDRES, SEM_FN_NAME (fr30bf,ldres) }, -// OBSOLETE { FR30BF_INSN_STRES, SEM_FN_NAME (fr30bf,stres) }, -// OBSOLETE { FR30BF_INSN_COPOP, SEM_FN_NAME (fr30bf,copop) }, -// OBSOLETE { FR30BF_INSN_COPLD, SEM_FN_NAME (fr30bf,copld) }, -// OBSOLETE { FR30BF_INSN_COPST, SEM_FN_NAME (fr30bf,copst) }, -// OBSOLETE { FR30BF_INSN_COPSV, SEM_FN_NAME (fr30bf,copsv) }, -// OBSOLETE { FR30BF_INSN_NOP, SEM_FN_NAME (fr30bf,nop) }, -// OBSOLETE { FR30BF_INSN_ANDCCR, SEM_FN_NAME (fr30bf,andccr) }, -// OBSOLETE { FR30BF_INSN_ORCCR, SEM_FN_NAME (fr30bf,orccr) }, -// OBSOLETE { FR30BF_INSN_STILM, SEM_FN_NAME (fr30bf,stilm) }, -// OBSOLETE { FR30BF_INSN_ADDSP, SEM_FN_NAME (fr30bf,addsp) }, -// OBSOLETE { FR30BF_INSN_EXTSB, SEM_FN_NAME (fr30bf,extsb) }, -// OBSOLETE { FR30BF_INSN_EXTUB, SEM_FN_NAME (fr30bf,extub) }, -// OBSOLETE { FR30BF_INSN_EXTSH, SEM_FN_NAME (fr30bf,extsh) }, -// OBSOLETE { FR30BF_INSN_EXTUH, SEM_FN_NAME (fr30bf,extuh) }, -// OBSOLETE { FR30BF_INSN_LDM0, SEM_FN_NAME (fr30bf,ldm0) }, -// OBSOLETE { FR30BF_INSN_LDM1, SEM_FN_NAME (fr30bf,ldm1) }, -// OBSOLETE { FR30BF_INSN_STM0, SEM_FN_NAME (fr30bf,stm0) }, -// OBSOLETE { FR30BF_INSN_STM1, SEM_FN_NAME (fr30bf,stm1) }, -// OBSOLETE { FR30BF_INSN_ENTER, SEM_FN_NAME (fr30bf,enter) }, -// OBSOLETE { FR30BF_INSN_LEAVE, SEM_FN_NAME (fr30bf,leave) }, -// OBSOLETE { FR30BF_INSN_XCHB, SEM_FN_NAME (fr30bf,xchb) }, -// OBSOLETE { 0, 0 } -// OBSOLETE }; -// OBSOLETE -// OBSOLETE /* Add the semantic fns to IDESC_TABLE. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE SEM_FN_NAME (fr30bf,init_idesc_table) (SIM_CPU *current_cpu) -// OBSOLETE { -// OBSOLETE IDESC *idesc_table = CPU_IDESC (current_cpu); -// OBSOLETE const struct sem_fn_desc *sf; -// OBSOLETE int mach_num = MACH_NUM (CPU_MACH (current_cpu)); -// OBSOLETE -// OBSOLETE for (sf = &sem_fns[0]; sf->fn != 0; ++sf) -// OBSOLETE { -// OBSOLETE const CGEN_INSN *insn = idesc_table[sf->index].idata; -// OBSOLETE int valid_p = (CGEN_INSN_VIRTUAL_P (insn) -// OBSOLETE || CGEN_INSN_MACH_HAS_P (insn, mach_num)); -// OBSOLETE #if FAST_P -// OBSOLETE if (valid_p) -// OBSOLETE idesc_table[sf->index].sem_fast = sf->fn; -// OBSOLETE else -// OBSOLETE idesc_table[sf->index].sem_fast = SEM_FN_NAME (fr30bf,x_invalid); -// OBSOLETE #else -// OBSOLETE if (valid_p) -// OBSOLETE idesc_table[sf->index].sem_full = sf->fn; -// OBSOLETE else -// OBSOLETE idesc_table[sf->index].sem_full = SEM_FN_NAME (fr30bf,x_invalid); -// OBSOLETE #endif -// OBSOLETE } -// OBSOLETE } diff --git a/sim/fr30/sim-if.c b/sim/fr30/sim-if.c deleted file mode 100644 index e5c5c57..0000000 --- a/sim/fr30/sim-if.c +++ /dev/null @@ -1,208 +0,0 @@ -// OBSOLETE /* Main simulator entry points specific to the FR30. -// OBSOLETE Copyright (C) 1998, 1999 Free Software Foundation, Inc. -// OBSOLETE Contributed by Cygnus Solutions. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -// OBSOLETE -// OBSOLETE #include "sim-main.h" -// OBSOLETE #ifdef HAVE_STDLIB_H -// OBSOLETE #include <stdlib.h> -// OBSOLETE #endif -// OBSOLETE #include "sim-options.h" -// OBSOLETE #include "libiberty.h" -// OBSOLETE #include "bfd.h" -// OBSOLETE -// OBSOLETE static void free_state (SIM_DESC); -// OBSOLETE static void print_fr30_misc_cpu (SIM_CPU *cpu, int verbose); -// OBSOLETE -// OBSOLETE /* Records simulator descriptor so utilities like fr30_dump_regs can be -// OBSOLETE called from gdb. */ -// OBSOLETE SIM_DESC current_state; -// OBSOLETE -// OBSOLETE /* Cover function of sim_state_free to free the cpu buffers as well. */ -// OBSOLETE -// OBSOLETE static void -// OBSOLETE free_state (SIM_DESC sd) -// OBSOLETE { -// OBSOLETE if (STATE_MODULES (sd) != NULL) -// OBSOLETE sim_module_uninstall (sd); -// OBSOLETE sim_cpu_free_all (sd); -// OBSOLETE sim_state_free (sd); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Create an instance of the simulator. */ -// OBSOLETE -// OBSOLETE SIM_DESC -// OBSOLETE sim_open (kind, callback, abfd, argv) -// OBSOLETE SIM_OPEN_KIND kind; -// OBSOLETE host_callback *callback; -// OBSOLETE struct _bfd *abfd; -// OBSOLETE char **argv; -// OBSOLETE { -// OBSOLETE char c; -// OBSOLETE int i; -// OBSOLETE SIM_DESC sd = sim_state_alloc (kind, callback); -// OBSOLETE -// OBSOLETE /* The cpu data is kept in a separately allocated chunk of memory. */ -// OBSOLETE if (sim_cpu_alloc_all (sd, 1, cgen_cpu_max_extra_bytes ()) != SIM_RC_OK) -// OBSOLETE { -// OBSOLETE free_state (sd); -// OBSOLETE return 0; -// OBSOLETE } -// OBSOLETE -// OBSOLETE #if 0 /* FIXME: pc is in mach-specific struct */ -// OBSOLETE /* FIXME: watchpoints code shouldn't need this */ -// OBSOLETE { -// OBSOLETE SIM_CPU *current_cpu = STATE_CPU (sd, 0); -// OBSOLETE STATE_WATCHPOINTS (sd)->pc = &(PC); -// OBSOLETE STATE_WATCHPOINTS (sd)->sizeof_pc = sizeof (PC); -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE if (sim_pre_argv_init (sd, argv[0]) != SIM_RC_OK) -// OBSOLETE { -// OBSOLETE free_state (sd); -// OBSOLETE return 0; -// OBSOLETE } -// OBSOLETE -// OBSOLETE #if 0 /* FIXME: 'twould be nice if we could do this */ -// OBSOLETE /* These options override any module options. -// OBSOLETE Obviously ambiguity should be avoided, however the caller may wish to -// OBSOLETE augment the meaning of an option. */ -// OBSOLETE if (extra_options != NULL) -// OBSOLETE sim_add_option_table (sd, extra_options); -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE /* getopt will print the error message so we just have to exit if this fails. -// OBSOLETE FIXME: Hmmm... in the case of gdb we need getopt to call -// OBSOLETE print_filtered. */ -// OBSOLETE if (sim_parse_args (sd, argv) != SIM_RC_OK) -// OBSOLETE { -// OBSOLETE free_state (sd); -// OBSOLETE return 0; -// OBSOLETE } -// OBSOLETE -// OBSOLETE #if 0 -// OBSOLETE /* Allocate a handler for the control registers and other devices -// OBSOLETE if no memory for that range has been allocated by the user. -// OBSOLETE All are allocated in one chunk to keep things from being -// OBSOLETE unnecessarily complicated. */ -// OBSOLETE if (sim_core_read_buffer (sd, NULL, read_map, &c, FR30_DEVICE_ADDR, 1) == 0) -// OBSOLETE sim_core_attach (sd, NULL, -// OBSOLETE 0 /*level*/, -// OBSOLETE access_read_write, -// OBSOLETE 0 /*space ???*/, -// OBSOLETE FR30_DEVICE_ADDR, FR30_DEVICE_LEN /*nr_bytes*/, -// OBSOLETE 0 /*modulo*/, -// OBSOLETE &fr30_devices, -// OBSOLETE NULL /*buffer*/); -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE /* Allocate core managed memory if none specified by user. -// OBSOLETE Use address 4 here in case the user wanted address 0 unmapped. */ -// OBSOLETE if (sim_core_read_buffer (sd, NULL, read_map, &c, 4, 1) == 0) -// OBSOLETE sim_do_commandf (sd, "memory region 0,0x%lx", FR30_DEFAULT_MEM_SIZE); -// OBSOLETE -// OBSOLETE /* check for/establish the reference program image */ -// OBSOLETE if (sim_analyze_program (sd, -// OBSOLETE (STATE_PROG_ARGV (sd) != NULL -// OBSOLETE ? *STATE_PROG_ARGV (sd) -// OBSOLETE : NULL), -// OBSOLETE abfd) != SIM_RC_OK) -// OBSOLETE { -// OBSOLETE free_state (sd); -// OBSOLETE return 0; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Establish any remaining configuration options. */ -// OBSOLETE if (sim_config (sd) != SIM_RC_OK) -// OBSOLETE { -// OBSOLETE free_state (sd); -// OBSOLETE return 0; -// OBSOLETE } -// OBSOLETE -// OBSOLETE if (sim_post_argv_init (sd) != SIM_RC_OK) -// OBSOLETE { -// OBSOLETE free_state (sd); -// OBSOLETE return 0; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Open a copy of the cpu descriptor table. */ -// OBSOLETE { -// OBSOLETE CGEN_CPU_DESC cd = fr30_cgen_cpu_open_1 (STATE_ARCHITECTURE (sd)->printable_name, -// OBSOLETE CGEN_ENDIAN_BIG); -// OBSOLETE for (i = 0; i < MAX_NR_PROCESSORS; ++i) -// OBSOLETE { -// OBSOLETE SIM_CPU *cpu = STATE_CPU (sd, i); -// OBSOLETE CPU_CPU_DESC (cpu) = cd; -// OBSOLETE CPU_DISASSEMBLER (cpu) = sim_cgen_disassemble_insn; -// OBSOLETE } -// OBSOLETE fr30_cgen_init_dis (cd); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Initialize various cgen things not done by common framework. -// OBSOLETE Must be done after fr30_cgen_cpu_open. */ -// OBSOLETE cgen_init (sd); -// OBSOLETE -// OBSOLETE /* Store in a global so things like sparc32_dump_regs can be invoked -// OBSOLETE from the gdb command line. */ -// OBSOLETE current_state = sd; -// OBSOLETE -// OBSOLETE return sd; -// OBSOLETE } -// OBSOLETE -// OBSOLETE void -// OBSOLETE sim_close (sd, quitting) -// OBSOLETE SIM_DESC sd; -// OBSOLETE int quitting; -// OBSOLETE { -// OBSOLETE fr30_cgen_cpu_close (CPU_CPU_DESC (STATE_CPU (sd, 0))); -// OBSOLETE sim_module_uninstall (sd); -// OBSOLETE } -// OBSOLETE -// OBSOLETE SIM_RC -// OBSOLETE sim_create_inferior (sd, abfd, argv, envp) -// OBSOLETE SIM_DESC sd; -// OBSOLETE struct _bfd *abfd; -// OBSOLETE char **argv; -// OBSOLETE char **envp; -// OBSOLETE { -// OBSOLETE SIM_CPU *current_cpu = STATE_CPU (sd, 0); -// OBSOLETE SIM_ADDR addr; -// OBSOLETE -// OBSOLETE if (abfd != NULL) -// OBSOLETE addr = bfd_get_start_address (abfd); -// OBSOLETE else -// OBSOLETE addr = 0; -// OBSOLETE sim_pc_set (current_cpu, addr); -// OBSOLETE -// OBSOLETE #if 0 -// OBSOLETE STATE_ARGV (sd) = sim_copy_argv (argv); -// OBSOLETE STATE_ENVP (sd) = sim_copy_argv (envp); -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE return SIM_RC_OK; -// OBSOLETE } -// OBSOLETE -// OBSOLETE void -// OBSOLETE sim_do_command (sd, cmd) -// OBSOLETE SIM_DESC sd; -// OBSOLETE char *cmd; -// OBSOLETE { -// OBSOLETE if (sim_args_command (sd, cmd) != SIM_RC_OK) -// OBSOLETE sim_io_eprintf (sd, "Unknown command `%s'\n", cmd); -// OBSOLETE } diff --git a/sim/fr30/sim-main.h b/sim/fr30/sim-main.h deleted file mode 100644 index 91700fb..0000000 --- a/sim/fr30/sim-main.h +++ /dev/null @@ -1,70 +0,0 @@ -// OBSOLETE /* Main header for the fr30. */ -// OBSOLETE -// OBSOLETE #define USING_SIM_BASE_H /* FIXME: quick hack */ -// OBSOLETE -// OBSOLETE struct _sim_cpu; /* FIXME: should be in sim-basics.h */ -// OBSOLETE typedef struct _sim_cpu SIM_CPU; -// OBSOLETE -// OBSOLETE /* sim-basics.h includes config.h but cgen-types.h must be included before -// OBSOLETE sim-basics.h and cgen-types.h needs config.h. */ -// OBSOLETE #include "config.h" -// OBSOLETE -// OBSOLETE #include "symcat.h" -// OBSOLETE #include "sim-basics.h" -// OBSOLETE #include "cgen-types.h" -// OBSOLETE #include "fr30-desc.h" -// OBSOLETE #include "fr30-opc.h" -// OBSOLETE #include "arch.h" -// OBSOLETE -// OBSOLETE /* These must be defined before sim-base.h. */ -// OBSOLETE typedef USI sim_cia; -// OBSOLETE -// OBSOLETE #define CIA_GET(cpu) CPU_PC_GET (cpu) -// OBSOLETE #define CIA_SET(cpu,val) CPU_PC_SET ((cpu), (val)) -// OBSOLETE -// OBSOLETE #include "sim-base.h" -// OBSOLETE #include "cgen-sim.h" -// OBSOLETE #include "fr30-sim.h" -// OBSOLETE -// OBSOLETE /* The _sim_cpu struct. */ -// OBSOLETE -// OBSOLETE struct _sim_cpu { -// OBSOLETE /* sim/common cpu base. */ -// OBSOLETE sim_cpu_base base; -// OBSOLETE -// OBSOLETE /* Static parts of cgen. */ -// OBSOLETE CGEN_CPU cgen_cpu; -// OBSOLETE -// OBSOLETE /* CPU specific parts go here. -// OBSOLETE Note that in files that don't need to access these pieces WANT_CPU_FOO -// OBSOLETE won't be defined and thus these parts won't appear. This is ok in the -// OBSOLETE sense that things work. It is a source of bugs though. -// OBSOLETE One has to of course be careful to not take the size of this -// OBSOLETE struct and no structure members accessed in non-cpu specific files can -// OBSOLETE go after here. Oh for a better language. */ -// OBSOLETE #if defined (WANT_CPU_FR30BF) -// OBSOLETE FR30BF_CPU_DATA cpu_data; -// OBSOLETE #endif -// OBSOLETE }; -// OBSOLETE -// OBSOLETE /* The sim_state struct. */ -// OBSOLETE -// OBSOLETE struct sim_state { -// OBSOLETE sim_cpu *cpu; -// OBSOLETE #define STATE_CPU(sd, n) (/*&*/ (sd)->cpu) -// OBSOLETE -// OBSOLETE CGEN_STATE cgen_state; -// OBSOLETE -// OBSOLETE sim_state_base base; -// OBSOLETE }; -// OBSOLETE -// OBSOLETE /* Misc. */ -// OBSOLETE -// OBSOLETE /* Catch address exceptions. */ -// OBSOLETE extern SIM_CORE_SIGNAL_FN fr30_core_signal; -// OBSOLETE #define SIM_CORE_SIGNAL(SD,CPU,CIA,MAP,NR_BYTES,ADDR,TRANSFER,ERROR) \ -// OBSOLETE fr30_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), \ -// OBSOLETE (TRANSFER), (ERROR)) -// OBSOLETE -// OBSOLETE /* Default memory size. */ -// OBSOLETE #define FR30_DEFAULT_MEM_SIZE 0x800000 /* 8M */ diff --git a/sim/fr30/tconfig.in b/sim/fr30/tconfig.in deleted file mode 100644 index a67e227..0000000 --- a/sim/fr30/tconfig.in +++ /dev/null @@ -1,42 +0,0 @@ -/* FR30 target configuration file. -*- C -*- */ - -/* Define this if the simulator can vary the size of memory. - See the xxx simulator for an example. - This enables the `-m size' option. - The memory size is stored in STATE_MEM_SIZE. */ -/* Not used for FR30 since we use the memory module. TODO -- check this */ -/* #define SIM_HAVE_MEM_SIZE */ - -/* See sim-hload.c. We properly handle LMA. -- TODO: check this */ -#define SIM_HANDLES_LMA 1 - -/* For MSPR support. FIXME: revisit. */ -#define WITH_DEVICES 1 - -/* FIXME: Revisit. */ -#ifdef HAVE_DV_SOCKSER -MODULE_INSTALL_FN dv_sockser_install; -#define MODULE_LIST dv_sockser_install, -#endif - -#if 0 -/* Enable watchpoints. */ -#define WITH_WATCHPOINTS 1 -#endif - -/* ??? Temporary hack until model support unified. */ -#define SIM_HAVE_MODEL - -/* Define this to enable the intrinsic breakpoint mechanism. */ -/* FIXME: may be able to remove SIM_HAVE_BREAKPOINTS since it essentially - duplicates ifdef SIM_BREAKPOINT (right?) */ -#if 0 -#define SIM_HAVE_BREAKPOINTS -#define SIM_BREAKPOINT { 0x10, 0xf1 } -#define SIM_BREAKPOINT_SIZE 2 -#endif - -/* This is a global setting. Different cpu families can't mix-n-match -scache - and -pbb. However some cpu families may use -simple while others use - one of -scache/-pbb. ???? */ -#define WITH_SCACHE_PBB 1 diff --git a/sim/fr30/traps.c b/sim/fr30/traps.c deleted file mode 100644 index 6852359..0000000 --- a/sim/fr30/traps.c +++ /dev/null @@ -1,218 +0,0 @@ -// OBSOLETE /* fr30 exception, interrupt, and trap (EIT) support -// OBSOLETE Copyright (C) 1998, 1999 Free Software Foundation, Inc. -// OBSOLETE Contributed by Cygnus Solutions. -// OBSOLETE -// OBSOLETE This file is part of the GNU simulators. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2, or (at your option) -// OBSOLETE any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License along -// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc., -// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -// OBSOLETE -// OBSOLETE #include "sim-main.h" -// OBSOLETE #include "targ-vals.h" -// OBSOLETE #include "cgen-engine.h" -// OBSOLETE -// OBSOLETE /* The semantic code invokes this for invalid (unrecognized) instructions. */ -// OBSOLETE -// OBSOLETE SEM_PC -// OBSOLETE sim_engine_invalid_insn (SIM_CPU *current_cpu, IADDR cia, SEM_PC vpc) -// OBSOLETE { -// OBSOLETE SIM_DESC sd = CPU_STATE (current_cpu); -// OBSOLETE -// OBSOLETE #if 0 -// OBSOLETE if (STATE_ENVIRONMENT (sd) == OPERATING_ENVIRONMENT) -// OBSOLETE { -// OBSOLETE h_bsm_set (current_cpu, h_sm_get (current_cpu)); -// OBSOLETE h_bie_set (current_cpu, h_ie_get (current_cpu)); -// OBSOLETE h_bcond_set (current_cpu, h_cond_get (current_cpu)); -// OBSOLETE /* sm not changed */ -// OBSOLETE h_ie_set (current_cpu, 0); -// OBSOLETE h_cond_set (current_cpu, 0); -// OBSOLETE -// OBSOLETE h_bpc_set (current_cpu, cia); -// OBSOLETE -// OBSOLETE sim_engine_restart (CPU_STATE (current_cpu), current_cpu, NULL, -// OBSOLETE EIT_RSVD_INSN_ADDR); -// OBSOLETE } -// OBSOLETE else -// OBSOLETE #endif -// OBSOLETE sim_engine_halt (sd, current_cpu, NULL, cia, sim_stopped, SIM_SIGILL); -// OBSOLETE return vpc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Process an address exception. */ -// OBSOLETE -// OBSOLETE void -// OBSOLETE fr30_core_signal (SIM_DESC sd, SIM_CPU *current_cpu, sim_cia cia, -// OBSOLETE unsigned int map, int nr_bytes, address_word addr, -// OBSOLETE transfer_type transfer, sim_core_signals sig) -// OBSOLETE { -// OBSOLETE #if 0 -// OBSOLETE if (STATE_ENVIRONMENT (sd) == OPERATING_ENVIRONMENT) -// OBSOLETE { -// OBSOLETE h_bsm_set (current_cpu, h_sm_get (current_cpu)); -// OBSOLETE h_bie_set (current_cpu, h_ie_get (current_cpu)); -// OBSOLETE h_bcond_set (current_cpu, h_cond_get (current_cpu)); -// OBSOLETE /* sm not changed */ -// OBSOLETE h_ie_set (current_cpu, 0); -// OBSOLETE h_cond_set (current_cpu, 0); -// OBSOLETE -// OBSOLETE h_bpc_set (current_cpu, cia); -// OBSOLETE -// OBSOLETE sim_engine_restart (CPU_STATE (current_cpu), current_cpu, NULL, -// OBSOLETE EIT_ADDR_EXCP_ADDR); -// OBSOLETE } -// OBSOLETE else -// OBSOLETE #endif -// OBSOLETE sim_core_signal (sd, current_cpu, cia, map, nr_bytes, addr, -// OBSOLETE transfer, sig); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Read/write functions for system call interface. */ -// OBSOLETE -// OBSOLETE static int -// OBSOLETE syscall_read_mem (host_callback *cb, struct cb_syscall *sc, -// OBSOLETE unsigned long taddr, char *buf, int bytes) -// OBSOLETE { -// OBSOLETE SIM_DESC sd = (SIM_DESC) sc->p1; -// OBSOLETE SIM_CPU *cpu = (SIM_CPU *) sc->p2; -// OBSOLETE -// OBSOLETE return sim_core_read_buffer (sd, cpu, read_map, buf, taddr, bytes); -// OBSOLETE } -// OBSOLETE -// OBSOLETE static int -// OBSOLETE syscall_write_mem (host_callback *cb, struct cb_syscall *sc, -// OBSOLETE unsigned long taddr, const char *buf, int bytes) -// OBSOLETE { -// OBSOLETE SIM_DESC sd = (SIM_DESC) sc->p1; -// OBSOLETE SIM_CPU *cpu = (SIM_CPU *) sc->p2; -// OBSOLETE -// OBSOLETE return sim_core_write_buffer (sd, cpu, write_map, buf, taddr, bytes); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Subroutine of fr30_int to save the PS and PC and setup for INT and INTE. */ -// OBSOLETE -// OBSOLETE static void -// OBSOLETE setup_int (SIM_CPU *current_cpu, PCADDR pc) -// OBSOLETE { -// OBSOLETE USI ssp = fr30bf_h_dr_get (current_cpu, H_DR_SSP); -// OBSOLETE USI ps = fr30bf_h_ps_get (current_cpu); -// OBSOLETE -// OBSOLETE ssp -= 4; -// OBSOLETE SETMEMSI (current_cpu, pc, ssp, ps); -// OBSOLETE ssp -= 4; -// OBSOLETE SETMEMSI (current_cpu, pc, ssp, pc + 2); -// OBSOLETE fr30bf_h_dr_set (current_cpu, H_DR_SSP, ssp); -// OBSOLETE fr30bf_h_sbit_set (current_cpu, 0); -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Trap support. -// OBSOLETE The result is the pc address to continue at. -// OBSOLETE Preprocessing like saving the various registers has already been done. */ -// OBSOLETE -// OBSOLETE USI -// OBSOLETE fr30_int (SIM_CPU *current_cpu, PCADDR pc, int num) -// OBSOLETE { -// OBSOLETE SIM_DESC sd = CPU_STATE (current_cpu); -// OBSOLETE host_callback *cb = STATE_CALLBACK (sd); -// OBSOLETE -// OBSOLETE #ifdef SIM_HAVE_BREAKPOINTS -// OBSOLETE /* Check for breakpoints "owned" by the simulator first, regardless -// OBSOLETE of --environment. */ -// OBSOLETE if (num == TRAP_BREAKPOINT) -// OBSOLETE { -// OBSOLETE /* First try sim-break.c. If it's a breakpoint the simulator "owns" -// OBSOLETE it doesn't return. Otherwise it returns and let's us try. */ -// OBSOLETE sim_handle_breakpoint (sd, current_cpu, pc); -// OBSOLETE /* Fall through. */ -// OBSOLETE } -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE if (STATE_ENVIRONMENT (sd) == OPERATING_ENVIRONMENT) -// OBSOLETE { -// OBSOLETE /* The new pc is the trap vector entry. -// OBSOLETE We assume there's a branch there to some handler. */ -// OBSOLETE USI new_pc; -// OBSOLETE setup_int (current_cpu, pc); -// OBSOLETE fr30bf_h_ibit_set (current_cpu, 0); -// OBSOLETE new_pc = GETMEMSI (current_cpu, pc, -// OBSOLETE fr30bf_h_dr_get (current_cpu, H_DR_TBR) -// OBSOLETE + 1024 - ((num + 1) * 4)); -// OBSOLETE return new_pc; -// OBSOLETE } -// OBSOLETE -// OBSOLETE switch (num) -// OBSOLETE { -// OBSOLETE case TRAP_SYSCALL : -// OBSOLETE { -// OBSOLETE /* TODO: find out what the ABI for this is */ -// OBSOLETE CB_SYSCALL s; -// OBSOLETE -// OBSOLETE CB_SYSCALL_INIT (&s); -// OBSOLETE s.func = fr30bf_h_gr_get (current_cpu, 0); -// OBSOLETE s.arg1 = fr30bf_h_gr_get (current_cpu, 4); -// OBSOLETE s.arg2 = fr30bf_h_gr_get (current_cpu, 5); -// OBSOLETE s.arg3 = fr30bf_h_gr_get (current_cpu, 6); -// OBSOLETE -// OBSOLETE if (s.func == TARGET_SYS_exit) -// OBSOLETE { -// OBSOLETE sim_engine_halt (sd, current_cpu, NULL, pc, sim_exited, s.arg1); -// OBSOLETE } -// OBSOLETE -// OBSOLETE s.p1 = (PTR) sd; -// OBSOLETE s.p2 = (PTR) current_cpu; -// OBSOLETE s.read_mem = syscall_read_mem; -// OBSOLETE s.write_mem = syscall_write_mem; -// OBSOLETE cb_syscall (cb, &s); -// OBSOLETE fr30bf_h_gr_set (current_cpu, 2, s.errcode); /* TODO: check this one */ -// OBSOLETE fr30bf_h_gr_set (current_cpu, 4, s.result); -// OBSOLETE fr30bf_h_gr_set (current_cpu, 1, s.result2); /* TODO: check this one */ -// OBSOLETE break; -// OBSOLETE } -// OBSOLETE -// OBSOLETE case TRAP_BREAKPOINT: -// OBSOLETE sim_engine_halt (sd, current_cpu, NULL, pc, -// OBSOLETE sim_stopped, SIM_SIGTRAP); -// OBSOLETE break; -// OBSOLETE -// OBSOLETE default : -// OBSOLETE { -// OBSOLETE USI new_pc; -// OBSOLETE setup_int (current_cpu, pc); -// OBSOLETE fr30bf_h_ibit_set (current_cpu, 0); -// OBSOLETE new_pc = GETMEMSI (current_cpu, pc, -// OBSOLETE fr30bf_h_dr_get (current_cpu, H_DR_TBR) -// OBSOLETE + 1024 - ((num + 1) * 4)); -// OBSOLETE return new_pc; -// OBSOLETE } -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Fake an "reti" insn. -// OBSOLETE Since we didn't push anything to stack, all we need to do is -// OBSOLETE update pc. */ -// OBSOLETE return pc + 2; -// OBSOLETE } -// OBSOLETE -// OBSOLETE USI -// OBSOLETE fr30_inte (SIM_CPU *current_cpu, PCADDR pc, int num) -// OBSOLETE { -// OBSOLETE /* The new pc is the trap #9 vector entry. -// OBSOLETE We assume there's a branch there to some handler. */ -// OBSOLETE USI new_pc; -// OBSOLETE setup_int (current_cpu, pc); -// OBSOLETE fr30bf_h_ilm_set (current_cpu, 4); -// OBSOLETE new_pc = GETMEMSI (current_cpu, pc, -// OBSOLETE fr30bf_h_dr_get (current_cpu, H_DR_TBR) -// OBSOLETE + 1024 - ((9 + 1) * 4)); -// OBSOLETE return new_pc; -// OBSOLETE } |