binutils-gdb/sim
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
..
aarch64 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
arm Fix spelling errors 2020-01-17 12:34:03 -06:00
avr Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
bfin Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
common sim: add some stdlib.h includes 2020-01-19 19:48:16 -05:00
cr16 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
cris Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
d10v Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
erc32 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
frv Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ft32 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
h8300 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
igen Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
iq2000 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
lm32 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
m32c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
m32r Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
m68hc11 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mcore Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
microblaze Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mips Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mn10300 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
moxie Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
msp430 MSP430: Fix simulator execution of RRUX instruction 2020-01-22 21:52:29 +00:00
or1k Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ppc Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
pru Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
rl78 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
rx Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
sh Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
sh64 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
testsuite MSP430: Fix simulator execution of RRUX instruction 2020-01-22 21:52:29 +00:00
v850 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
.gitignore sim: drop common/cconfig.h in favor of a single config.h 2016-01-09 03:52:30 -05:00
ChangeLog Add install-strip to sim/ 2019-12-19 11:28:53 -07:00
MAINTAINERS sim: Add PRU simulator port 2019-09-23 22:11:02 +01:00
Makefile.in Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
README-HACKING sim: punt WITH_DEVICES & tconfig.h support 2015-12-26 20:38:31 -05:00
configure sim: Add PRU simulator port 2019-09-23 22:11:02 +01:00
configure.ac Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
configure.tgt sim: Add PRU simulator port 2019-09-23 22:11:02 +01:00