diff options
Diffstat (limited to 'sim/testsuite/sim/cris/asm/movepcd.ms')
-rw-r--r-- | sim/testsuite/sim/cris/asm/movepcd.ms | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sim/testsuite/sim/cris/asm/movepcd.ms b/sim/testsuite/sim/cris/asm/movepcd.ms new file mode 100644 index 00000000000..240db55d3ba --- /dev/null +++ b/sim/testsuite/sim/cris/asm/movepcd.ms @@ -0,0 +1,16 @@ +# mach: crisv3 crisv8 crisv10 +# xerror: +# output: General register * PC is not implemented.\nprogram stopped with signal 5.\n + +# Both source and dest contain PC for "test.d r" (move.d r,r). Ideally, +# the output message should say "read" of PC, but we allow PC as source in +# a move.d r,R insn, so there's no logical way to get that, short of a +# special pattern, which would be just too ugly. The output message says +# "write", but let's match "read" too so we won't fail if things suddenly +# improve. + + .include "testutils.inc" + startnostack + setf + test.d pc + quit |