binutils-gdb/sim/common
Richard Henderson 07f5f4c683 or1k: Add the l.muld, l.muldu, l.macu, l.msbu insns
Also fix the incorrect definitions of multiply and divide carry and
overflow float.

Changes to the instructions are made in the .cpu file, then we
regenerate the binutils and sim files.

The changes also required a few fixups for tests and additional sim helpers.

cpu/ChangeLog:

yyyy-mm-dd  Richard Henderson  <rth@twiddle.net>
	    Stafford Horne  <shorne@gmail.com>

	* or1korbis.cpu (insn-opcode-mac): Add opcodes for MACU and MSBU.
	(insn-opcode-alu-regreg): Add opcodes for MULD and MULDU.
	(l-mul): Fix overflow support and indentation.
	(l-mulu): Fix overflow support and indentation.
	(l-muld, l-muldu, l-msbu, l-macu): New instructions.
	(l-div); Remove incorrect carry behavior.
	(l-divu): Fix carry and overflow behavior.
	(l-mac): Add overflow support.
	(l-msb, l-msbu): Add carry and overflow support.

opcodes/ChangeLog:

yyyy-mm-dd  Richard Henderson  <rth@twiddle.net>
	    Stafford Horne  <shorne@gmail.com>

	* or1k-desc.c: Regenerate.
	* or1k-desc.h: Regenerate.
	* or1k-opc.c: Regenerate.
	* or1k-opc.h: Regenerate.
	* or1k-opinst.c: Regenerate.

sim/common/ChangeLog:

yyyy-mm-dd  Stafford Horne  <shorne@gmail.com>

	* cgen-ops.h (ADDCFDI): New function, add carry flag DI variant.
	(ADDOFDI): New function, add overflow flag DI variant.
	(SUBCFDI): New function, subtract carry flag DI variant.
	(SUBOFDI): New function, subtract overflow flag DI variant.

sim/ChangeLog:

yyyy-mm-dd  Stafford Horne  <shorne@gmail.com>

	* or1k/cpu.h: Regenerate.
	* or1k/decode.c: Regenerate.
	* or1k/decode.h: Regenerate.
	* or1k/model.c: Regenerate.
	* or1k/sem-switch.c: Regenerate.
	* or1k/sem.c: Regenerate:

sim/testsuite/sim/or1k/ChangeLog:

yyyy-mm-dd  Stafford Horne  <shorne@gmail.com>

	* div.S: Fix tests to match correct overflow/carry semantics.
	* mul.S: Likewise.

gas/ChangeLog:

yyyy-mm-dd  Stafford Horne  <shorne@gmail.com>

	* testsuite/gas/or1k/allinsn.s: Add instruction tests for
	l.muld, l.muldu, l.macu, l.msb, l.msbu.
	* testsuite/gas/or1k/allinsn.d: Add test results for new
	instructions.
2018-10-05 11:41:42 +09:00
..
ChangeLog or1k: Add the l.muld, l.muldu, l.macu, l.msbu insns 2018-10-05 11:41:42 +09:00
Make-common.in Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
Makefile.in Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
acinclude.m4 Honor an existing CC_FOR_BUILD in the environment for sim. 2017-09-06 10:16:12 -07:00
aclocal.m4 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
callback.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-accfp.c sim: cgen: add remainder functions (needed for OR1K lf.rem.[sd]) 2017-12-12 23:41:43 +09:00
cgen-cpu.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-defs.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-engine.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-fpu.c import gdb-1999-07-05 snapshot 1999-07-06 00:58:41 +00:00
cgen-fpu.h sim: cgen: add remainder functions (needed for OR1K lf.rem.[sd]) 2017-12-12 23:41:43 +09:00
cgen-mem.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-ops.h or1k: Add the l.muld, l.muldu, l.macu, l.msbu insns 2018-10-05 11:41:42 +09:00
cgen-par.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-par.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-run.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-scache.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-scache.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-sim.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-trace.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-trace.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-types.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen-utils.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cgen.sh sim: gennltvals.sh: handle split out newlib source tree 2015-04-21 03:10:16 -04:00
configure Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
configure.ac Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
dv-cfi.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
dv-cfi.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
dv-core.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
dv-glue.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
dv-pal.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
dv-sockser.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
dv-sockser.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
gdbinit.in * aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break 2004-12-07 23:37:35 +00:00
genmloop.sh Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
gennltvals.sh sim: mcore: switch to common syscall handling 2015-04-21 03:10:16 -04:00
gentmap.c sim: drop targ-vals.def->nltvals.def indirection 2016-01-10 04:01:16 -05:00
gentvals.sh sim: gennltvals.sh: handle split out newlib source tree 2015-04-21 03:10:16 -04:00
hw-alloc.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-alloc.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-base.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-base.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-device.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-device.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-events.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-events.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-handles.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-handles.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-instances.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-instances.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-main.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-ports.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-ports.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-properties.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-properties.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-tree.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
hw-tree.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
nltvals.def sim: mcore: switch to common syscall handling 2015-04-21 03:10:16 -04:00
nrun.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
run.1 Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-abort.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-alu.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-arange.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-arange.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-assert.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-base.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-basics.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-bits.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-bits.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-close.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-command.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-config.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-config.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-core.c Change "xor" name in cpu_core to allow building with iso646.h or C++ compiler 2018-09-28 16:00:46 -04:00
sim-core.h Change "xor" name in cpu_core to allow building with iso646.h or C++ compiler 2018-09-28 16:00:46 -04:00
sim-cpu.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-cpu.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-endian.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-endian.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-engine.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-engine.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-events.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-events.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-fpu.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-fpu.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-hload.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-hrw.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-hw.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-hw.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-info.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-inline.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-inline.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-io.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-io.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-load.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-memopt.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-memopt.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-model.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-model.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-module.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-module.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-n-bits.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-n-core.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-n-endian.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-options.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-options.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-profile.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-profile.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-reason.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-reg.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-resume.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-run.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-signal.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-signal.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-stop.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-syscall.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-syscall.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-trace.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-trace.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-types.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-utils.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-utils.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-watch.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
sim-watch.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
syscall.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
version.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00