aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDawn Perchik <dawn@cygnus>1997-02-11 01:21:14 +0000
committerDawn Perchik <dawn@cygnus>1997-02-11 01:21:14 +0000
commita3c2c0f44e79d1b6fcb29630ea15e2638e113b5d (patch)
treee2c511e670f068eae9d17c02a7c155830af98b74 /gas
parent6a590607fc942851fdd8c2881a609321f9294be5 (diff)
downloadgdb-a3c2c0f44e79d1b6fcb29630ea15e2638e113b5d.zip
gdb-a3c2c0f44e79d1b6fcb29630ea15e2638e113b5d.tar.gz
gdb-a3c2c0f44e79d1b6fcb29630ea15e2638e113b5d.tar.bz2
* gas/mips/itbl: New file. Instruction Spec for testing --itbl option.
* gas/mips/itbl.s: New file. Assembly with ne2w instructions specified in itbl.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/mips/.Sanitize2
-rw-r--r--gas/testsuite/gas/mips/itbl16
-rw-r--r--gas/testsuite/gas/mips/itbl.s9
4 files changed, 33 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 06a51d1..df820ec 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+Mon Feb 10 17:20:00 1997 Dawn Perchik dawn@cygnus.com>
+
+ * gas/mips/itbl: New file. Instruction Spec for testing --itbl option.
+ * gas/mips/itbl.s: New file. Assembly with ne2w instructions specified
+ in itbl.
+
Fri Feb 7 16:42:53 1997 Bob Manson <manson@charmed.cygnus.com>
* gasp/gasp.exp: Use prune_warnings instead of prune_system_crud.
diff --git a/gas/testsuite/gas/mips/.Sanitize b/gas/testsuite/gas/mips/.Sanitize
index ab55255..f624069 100644
--- a/gas/testsuite/gas/mips/.Sanitize
+++ b/gas/testsuite/gas/mips/.Sanitize
@@ -45,6 +45,8 @@ div.d
div.s
dli.d
dli.s
+itbl
+itbl.s
jal-empic.d
jal-svr4pic.d
jal-svr4pic.s
diff --git a/gas/testsuite/gas/mips/itbl b/gas/testsuite/gas/mips/itbl
new file mode 100644
index 0000000..b75a6ce
--- /dev/null
+++ b/gas/testsuite/gas/mips/itbl
@@ -0,0 +1,16 @@
+ p1 dreg d1 1 ; data register "d1" for COP1 has value 1
+ p1 creg c3 3 ; ctrl register "c3" for COP1 has value 3
+ p3 insn fie 0x1e:24-20 ; function "fill" for COP3 has value 31 and
+ p3 dreg d3 3 ; data register "d3" for COP3 has value 3
+ p3 creg c2 22 ; control register "c2" for COP3 has value 22
+ p3 insn fee 0x1e:24-20,dreg:17-13,creg:12-8,immed:7-0
+
+ p3 dreg d3 3 ; data register "d3" for COP3 has value 3
+ p3 creg c2 22 ; control register "c2" for COP3 has value 22
+ p3 insn fum 0x01e00001 dreg:17-13 creg:12-8
+ p3 insn foh 0xf:24-21 dreg:20-16 immed:15-0
+
+ p3 insn pig 0x1:24-21*[0x100|0x2], dreg:20-16, immed:15-0*0x10000
+
+ ;d1 p1 dreg 1 ; data register "d1" for COP1 has value 1
+ ;pig p3 insn 0x1:24-21, dreg:20-16, immed:15-0
diff --git a/gas/testsuite/gas/mips/itbl.s b/gas/testsuite/gas/mips/itbl.s
new file mode 100644
index 0000000..3cb59ec
--- /dev/null
+++ b/gas/testsuite/gas/mips/itbl.s
@@ -0,0 +1,9 @@
+
+ fee d3,c2,0x1 ; 0x4ff07601
+ fie ; 0x4ff00000
+ foh $2,0x100
+ fum d3,c2 ; 0x4ff07601
+
+ pig $2,0x100
+ LWC1 d1,0x100($2)
+