From 7a292a7adf506b866905b06b3024c0fd411c4583 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Mon, 26 Apr 1999 18:34:20 +0000 Subject: import gdb-19990422 snapshot --- sim/testsuite/d30v-elf/ChangeLog | 4 ++++ sim/testsuite/d30v-elf/do-flags.S | 18 ++++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) (limited to 'sim/testsuite/d30v-elf') diff --git a/sim/testsuite/d30v-elf/ChangeLog b/sim/testsuite/d30v-elf/ChangeLog index 6d8369f..98e5877 100644 --- a/sim/testsuite/d30v-elf/ChangeLog +++ b/sim/testsuite/d30v-elf/ChangeLog @@ -1,3 +1,7 @@ +1999-03-17 Frank Ch. Eigler + + * do-flags.S: Added new test for non-lkr status of MVTSYS. + 1999-01-12 Frank Ch. Eigler * do-flags.S: Added one old, one new regression test. diff --git a/sim/testsuite/d30v-elf/do-flags.S b/sim/testsuite/d30v-elf/do-flags.S index 25797e5..f8a15cf 100644 --- a/sim/testsuite/d30v-elf/do-flags.S +++ b/sim/testsuite/d30v-elf/do-flags.S @@ -224,8 +224,22 @@ assert r60, 0x80000000 assert r61, 0x80000000 - - + + # PR 19224 + + add r7,r0,0x80000000 + add r2,r0,r0 || nop + add r1,r0,0x1 || nop + # confirm that these insns do not kill the add in the right container + mvtsys psw,r7 -> add r2,r2,r1 + mvtsys pswh,r7 -> add r2,r2,r1 + mvtsys pswl,r7 -> add r2,r2,r1 + mvtsys f0,r7 -> add r2,r2,r1 + mvtsys mod_s,r7 -> add r2,r2,r1 + + assert r2, 0x5 + + # all okay bra ok -- cgit v1.1