aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/mips64vr5900el-elf/t-pextuw.s
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-07-11 21:36:11 +0000
committerAndrew Cagney <cagney@redhat.com>1997-07-11 21:36:11 +0000
commitccc034af675a7392fd0b01c314230be71d4e5ff2 (patch)
tree16cbd0f32aa9bad809813836edc5cc1edbc0f613 /sim/testsuite/mips64vr5900el-elf/t-pextuw.s
parent192fcb4e1198c82de1ca0aaf03eae29cef412697 (diff)
downloadgdb-ccc034af675a7392fd0b01c314230be71d4e5ff2.zip
gdb-ccc034af675a7392fd0b01c314230be71d4e5ff2.tar.gz
gdb-ccc034af675a7392fd0b01c314230be71d4e5ff2.tar.bz2
Tests for mips r5900 instructions
Diffstat (limited to 'sim/testsuite/mips64vr5900el-elf/t-pextuw.s')
-rw-r--r--sim/testsuite/mips64vr5900el-elf/t-pextuw.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/sim/testsuite/mips64vr5900el-elf/t-pextuw.s b/sim/testsuite/mips64vr5900el-elf/t-pextuw.s
new file mode 100644
index 0000000..3a7745d
--- /dev/null
+++ b/sim/testsuite/mips64vr5900el-elf/t-pextuw.s
@@ -0,0 +1,11 @@
+.include "t-macros.i"
+
+ start
+
+test_pextuw:
+ load $8 0x0807060504030201 0x0000000000000000
+ load $9 0x100F0E0D0C0B0A09 0x0000000000000000
+ pextuw $10, $8, $9
+ check10 0x08070605100F0E0D 0x040302010C0B0A09
+
+ exit0