From b9d4be84aa07d7635d7fd05370e6ffd0a44a153b Mon Sep 17 00:00:00 2001 From: Dawn Perchik Date: Mon, 24 Feb 1997 01:17:50 +0000 Subject: [PATCH] * gas/mips/itbl: Add comments. * gas/mips/itbl.s: Add comments. Prefix register names with $. * gas/all/itbl: Generic table for testing for itbl support. * gas/all/itbl.s: Generic assembly for testing for itbl support. * gas/mips/itbl-test.c: Moved to gas/all. * gas/all/itbl-test.c: Moved from gas/mips. --- gas/testsuite/ChangeLog | 10 ++++++++++ gas/testsuite/gas/all/.Sanitize | 3 +++ gas/testsuite/gas/all/itbl | 20 ++++++++++++++++++++ gas/testsuite/gas/{mips => all}/itbl-test.c | 0 gas/testsuite/gas/all/itbl.s | 13 +++++++++++++ gas/testsuite/gas/mips/.Sanitize | 1 - 6 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 gas/testsuite/gas/all/itbl rename gas/testsuite/gas/{mips => all}/itbl-test.c (100%) create mode 100644 gas/testsuite/gas/all/itbl.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index ff99ebfa45b..584b974d371 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,13 @@ + +Sun Feb 23 17:22:00 1997 Dawn Perchik + + * gas/mips/itbl: Add comments. + * gas/mips/itbl.s: Add comments. Prefix register names with $. + * gas/all/itbl: Generic table for testing for itbl support. + * gas/all/itbl.s: Generic assembly for testing for itbl support. + * gas/mips/itbl-test.c: Moved to gas/all. + * gas/all/itbl-test.c: Moved from gas/mips. + start-sanitize-tic80 Sat Feb 22 20:24:23 1997 Fred Fish diff --git a/gas/testsuite/gas/all/.Sanitize b/gas/testsuite/gas/all/.Sanitize index e6e70ed1124..57d6c24cce1 100644 --- a/gas/testsuite/gas/all/.Sanitize +++ b/gas/testsuite/gas/all/.Sanitize @@ -34,6 +34,9 @@ cofftag.s comment.s diff1.s float.s +itbl +itbl.s +itbl-test.c p1480.s p2425.s struct.d diff --git a/gas/testsuite/gas/all/itbl b/gas/testsuite/gas/all/itbl new file mode 100644 index 00000000000..ac66dfbfe46 --- /dev/null +++ b/gas/testsuite/gas/all/itbl @@ -0,0 +1,20 @@ + + ; Test case for assembler option "itbl". + ; Run as "as --itbl itbl itbl.s" + ; or with stand-alone test case "itbl-test itbl itbl.s". + ; The "p" represent processors of a multi-processor system. + + 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 + 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 + diff --git a/gas/testsuite/gas/mips/itbl-test.c b/gas/testsuite/gas/all/itbl-test.c similarity index 100% rename from gas/testsuite/gas/mips/itbl-test.c rename to gas/testsuite/gas/all/itbl-test.c diff --git a/gas/testsuite/gas/all/itbl.s b/gas/testsuite/gas/all/itbl.s new file mode 100644 index 00000000000..9351aa4bb3c --- /dev/null +++ b/gas/testsuite/gas/all/itbl.s @@ -0,0 +1,13 @@ + + ; Test case for assembler option "itbl". + ; Run as "as --itbl itbl itbl.s" + ; or with stand-alone test case "itbl-test itbl itbl.s". + + ; Assemble processor instructions as defined in "itbl". + + fee $d3,$c2,0x1 ; 0x4ff07601 + fie ; 0x4ff00000 + foh $2,0x100 + fum $d3,$c2 ; 0x4ff07601 + pig $2,0x100 + diff --git a/gas/testsuite/gas/mips/.Sanitize b/gas/testsuite/gas/mips/.Sanitize index 6d370dbca25..f62406958c0 100644 --- a/gas/testsuite/gas/mips/.Sanitize +++ b/gas/testsuite/gas/mips/.Sanitize @@ -47,7 +47,6 @@ dli.d dli.s itbl itbl.s -itbl-test.c jal-empic.d jal-svr4pic.d jal-svr4pic.s -- 2.30.2