binutils-gdb/sim
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
..
aarch64 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
arm Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
avr Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
bfin Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
common or1k: Add the l.muld, l.muldu, l.macu, l.msbu insns 2018-10-05 11:41:42 +09:00
cr16 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
cris Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
d10v Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
erc32 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
frv Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
ft32 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
h8300 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
igen Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
iq2000 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
lm32 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
m32c Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
m32r Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
m68hc11 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
mcore Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
microblaze Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
mips Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
mn10300 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
moxie Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
msp430 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
or1k or1k: Add the l.muld, l.muldu, l.macu, l.msbu insns 2018-10-05 11:41:42 +09:00
ppc Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
rl78 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
rx Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
sh Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
sh64 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
testsuite or1k: Add the l.muld, l.muldu, l.macu, l.msbu insns 2018-10-05 11:41:42 +09:00
v850 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
.gitignore
ChangeLog or1k: Add the l.muld, l.muldu, l.macu, l.msbu insns 2018-10-05 11:41:42 +09: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
configure.tgt sim: or1k: add or1k target to sim 2017-12-12 23:44:14 +09:00
MAINTAINERS Update my e-mail address, limit maintenance to MIPS I-IV ISAs 2018-07-21 00:14:01 +01:00
Makefile.in Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
README-HACKING