aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/mips64r5900-elf/t-padsbh.s
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>1998-10-29 17:28:18 +0000
committerFrank Ch. Eigler <fche@redhat.com>1998-10-29 17:28:18 +0000
commit271f091db772c822be71fb8fe803817e44a02e87 (patch)
treef16ddff46befd02dab368a97ec5a26a7a4c11494 /sim/testsuite/mips64r5900-elf/t-padsbh.s
parentfd6e6422c8e6aa216a5a4b154d1f3dde44797126 (diff)
downloadgdb-271f091db772c822be71fb8fe803817e44a02e87.zip
gdb-271f091db772c822be71fb8fe803817e44a02e87.tar.gz
gdb-271f091db772c822be71fb8fe803817e44a02e87.tar.bz2
* Test cases for PR 18015.
Thu Oct 29 12:07:06 1998 Frank Ch. Eigler <fche@cygnus.com> * t-psrlvw.s (test_psrlvw): Add test for sign-extension in insn. * t-padsbh.s: New test. * t-mult1.s: New test. * Makefile.in: Run them.
Diffstat (limited to 'sim/testsuite/mips64r5900-elf/t-padsbh.s')
-rw-r--r--sim/testsuite/mips64r5900-elf/t-padsbh.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/sim/testsuite/mips64r5900-elf/t-padsbh.s b/sim/testsuite/mips64r5900-elf/t-padsbh.s
new file mode 100644
index 0000000..30970cc
--- /dev/null
+++ b/sim/testsuite/mips64r5900-elf/t-padsbh.s
@@ -0,0 +1,11 @@
+.include "t-macros.i"
+
+ start
+
+test_padsbh:
+ load $8 0x0122800745658006 0x89a80005cdeb0004
+ load $9 0x0001fff90002fffa 0x00037ffb00047ffc
+ padsbh $10,$9,$8
+ check10 0x0123800045678000 0x765b7ff632197ff8
+
+ exit0