binutils-gdb/sim/testsuite/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 Fix ldn/stn multiple instructions. Fix testcases with unaligned data. 2017-04-22 16:36:01 -07:00
arm sim: arm: add support for MOVW and MOVT instructions 2013-05-15 17:49:44 +00:00
avr sim: avr: fix _start testsuite symbol 2015-03-29 04:14:27 -04:00
bfin sim: bfin: handle negative left saturated shifts as ashifts [BZ #18407] 2015-10-11 03:42:09 -04:00
cr16 sim: make LMA loading the default for all targets 2015-12-24 21:50:17 -05:00
cris Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
fr30 sim/testsuite/: split up arch-specific changelogs 2012-03-21 04:46:59 +00:00
frv sim/testsuite/: split up arch-specific changelogs 2012-03-21 04:46:59 +00:00
ft32 sim: ft32: test coverage for link parameters and PM write port 2015-10-12 20:23:26 -04:00
h8300 Remove leading/trailing white spaces in ChangeLog 2015-07-24 04:16:47 -07:00
iq2000 sim: iq2000: add a basic testsuite 2015-04-05 02:28:44 -04:00
lm32 sim: lm32: add a basic testsuite 2015-04-05 01:58:00 -04:00
m32c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
m32r sim/testsuite/: split up arch-specific changelogs 2012-03-21 04:46:59 +00:00
m68hc11 sim: m68hc11: add a basic testsuite 2015-04-05 03:17:44 -04:00
mcore sim: mcore: add a fail testcase 2015-11-15 07:55:48 -05:00
microblaze sim: microblaze: start a testsuite 2015-03-29 16:45:49 -04:00
mips Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mn10300 sim: mn10300: add a basic testsuite 2015-04-05 03:52:08 -04:00
moxie sim: moxie: fix running after nrun conversion 2015-04-05 04:37:44 -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
pru Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
sh Remove leading/trailing white spaces in ChangeLog 2015-07-24 04:16:47 -07:00
sh64 * Contribute Hitachi SH5 simulator. 2002-02-01 11:44:32 +00:00
v850 sim/testsuite/: split up arch-specific changelogs 2012-03-21 04:46:59 +00:00