* gas/mips/itbl: New file. Instruction Spec for testing --itbl option.
authorDawn Perchik <dawn@cygnus>
Tue, 11 Feb 1997 01:21:14 +0000 (01:21 +0000)
committerDawn Perchik <dawn@cygnus>
Tue, 11 Feb 1997 01:21:14 +0000 (01:21 +0000)
* gas/mips/itbl.s: New file.  Assembly with ne2w instructions specified
in itbl.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/.Sanitize
gas/testsuite/gas/mips/itbl [new file with mode: 0644]
gas/testsuite/gas/mips/itbl.s [new file with mode: 0644]

index 06a51d1..df820ec 100644 (file)
@@ -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.
index ab55255..f624069 100644 (file)
@@ -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 (file)
index 0000000..b75a6ce
--- /dev/null
@@ -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 (file)
index 0000000..3cb59ec
--- /dev/null
@@ -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)
+