binutils-gdb/sim/testsuite
Jozef Lawrynowicz b7dcc42dfd MSP430: Fix simulator execution of RRUX instruction
The MSP430X RRUX instruction (unsigned right shift) is synthesized as
the RRC (rotate right through carry) instruction, but with the ZC
(zero carry) bit of the opcode extention word set.

Ensure the carry flag is ignored when the ZC bit is set.

sim/msp430/ChangeLog:

2020-01-22  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

	* msp430-sim.c (msp430_step_once): Ignore the carry flag when executing
	an RRC instruction, if the ZC bit of the extension word is set.

sim/testsuite/sim/msp430/ChangeLog:

2020-01-22  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

	* rrux.s: New test.
2020-01-22 21:52:29 +00:00
..
common Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
config Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
d10v-elf Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
frv-elf Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
lib sim: testsuite: support basic vars in flags 2015-11-15 00:43:48 -05:00
m32r-elf Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mips64el-elf Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
sim MSP430: Fix simulator execution of RRUX instruction 2020-01-22 21:52:29 +00:00
.gitignore sim: tests: ignore generated tests 2012-03-19 03:51:09 +00:00
ChangeLog Add install-strip to sim/ 2019-12-19 11:28:53 -07:00
Makefile.in Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
configure Add testsuite for the PRU simulator port 2019-09-23 22:11:16 +01:00
configure.ac Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00