From a3c2c0f44e79d1b6fcb29630ea15e2638e113b5d Mon Sep 17 00:00:00 2001 From: Dawn Perchik Date: Tue, 11 Feb 1997 01:21:14 +0000 Subject: [PATCH] * gas/mips/itbl: New file. Instruction Spec for testing --itbl option. * gas/mips/itbl.s: New file. Assembly with ne2w instructions specified in itbl. --- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/mips/.Sanitize | 2 ++ gas/testsuite/gas/mips/itbl | 16 ++++++++++++++++ gas/testsuite/gas/mips/itbl.s | 9 +++++++++ 4 files changed, 33 insertions(+) create mode 100644 gas/testsuite/gas/mips/itbl create mode 100644 gas/testsuite/gas/mips/itbl.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 06a51d117a9..df820ecf98a 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 * 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 ab552556f24..f62406958c0 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 00000000000..b75a6ceeba9 --- /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 00000000000..3cb59ec063a --- /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) + -- 2.30.2