* gas/hppa/basic/fp_misc.s: Delete copr instruction. It's tested
authorJeff Law <law@redhat.com>
Mon, 17 Jan 1994 08:25:42 +0000 (08:25 +0000)
committerJeff Law <law@redhat.com>
Mon, 17 Jan 1994 08:25:42 +0000 (08:25 +0000)
        elsewhere now.
        * gas/hppa/basic/{copr, coprmem, spop}.s: New tests.
        * gas/hppa/basic/basic.exp: Run them.

gas/testsuite/ChangeLog
gas/testsuite/gas/hppa/basic/.Sanitize
gas/testsuite/gas/hppa/basic/copr.s [new file with mode: 0644]
gas/testsuite/gas/hppa/basic/spop.s [new file with mode: 0644]

index 58ab7f9b38765d1aad10dacd448ba2d90adce105..9135d9c97baeaa2f7aee305e07b0406f3c5b9657 100644 (file)
@@ -1,3 +1,10 @@
+Mon Jan 17 00:25:03 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * gas/hppa/basic/fp_misc.s: Delete copr instruction.  It's tested
+       elsewhere now.
+       * gas/hppa/basic/{copr, coprmem, spop}.s: New tests.
+       * gas/hppa/basic/basic.exp: Run them.
+
 Thu Jan 13 11:59:22 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
 
        * gas/all/gas.exp: No longer expect difference of forward
index f1ba750685ed476fc657f7f917855793ff6d9864..821025ec61e55c6453b68d988081d2764cec6043 100644 (file)
@@ -31,6 +31,8 @@ addi.s
 basic.exp
 branch.s
 comclr.s
+copr.s
+coprmem.s
 dcor.s
 deposit.s
 ds.s
@@ -49,6 +51,7 @@ sh2add.s
 sh3add.s
 shift.s
 special.s
+spop.s
 sub.s
 subi.s
 system.s
diff --git a/gas/testsuite/gas/hppa/basic/copr.s b/gas/testsuite/gas/hppa/basic/copr.s
new file mode 100644 (file)
index 0000000..77cb6a2
--- /dev/null
@@ -0,0 +1,19 @@
+       .SPACE $PRIVATE$
+       .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
+       .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
+       .SPACE $TEXT$
+       .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
+       .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
+
+       .SPACE $TEXT$
+       .SUBSPA $CODE$
+
+       .align 4
+; We could/should test some of the corner cases for register and 
+; immediate fields.  We should also check the assorted field
+; selectors to make sure they're handled correctly.
+copr_tests: 
+       copr,4,5
+       copr,4,115
+       copr,4,5,n
+       copr,4,115,n
diff --git a/gas/testsuite/gas/hppa/basic/spop.s b/gas/testsuite/gas/hppa/basic/spop.s
new file mode 100644 (file)
index 0000000..7737312
--- /dev/null
@@ -0,0 +1,34 @@
+       .SPACE $PRIVATE$
+       .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
+       .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
+       .SPACE $TEXT$
+       .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
+       .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
+
+       .SPACE $TEXT$
+       .SUBSPA $CODE$
+
+       .align 4
+; We could/should test some of the corner cases for register and 
+; immediate fields.  We should also check the assorted field
+; selectors to make sure they're handled correctly.
+spop_tests: 
+       spop0,4,5
+       spop0,4,115
+       spop0,4,5,n
+       spop0,4,115,n
+       spop1,4,5 5
+       spop1,4,115 5
+       spop1,4,5,n 5
+       spop1,4,115,n 5
+       spop2,4,5 5
+       spop2,4,115 5
+       spop2,4,5,n 5
+       spop2,4,115,n 5
+       spop3,4,5 5,6
+       spop3,4,115 5,6
+       spop3,4,5,n 5,6
+       spop3,4,115,n 5,6
+
+; Gas fucks this up...  Thinks it has the expression 5 mod r5.
+;      spop1,4,5 %r5