* gas/hppa/more.parse/xmpyubug.s: New test.
authorJeff Law <law@redhat.com>
Sat, 5 Feb 1994 07:43:29 +0000 (07:43 +0000)
committerJeff Law <law@redhat.com>
Sat, 5 Feb 1994 07:43:29 +0000 (07:43 +0000)
        * gas/hppa/more.parse/parse.exp: Run it.

gas/testsuite/ChangeLog
gas/testsuite/gas/hppa/more.parse/.Sanitize
gas/testsuite/gas/hppa/more.parse/parse.exp
gas/testsuite/gas/hppa/more.parse/xmpyubug.s [new file with mode: 0644]
gas/testsuite/gas/hppa/parse/.Sanitize
gas/testsuite/gas/hppa/parse/parse.exp
gas/testsuite/gas/hppa/parse/xmpyubug.s [new file with mode: 0644]

index 803816bc2e12c03b7cfe935918e77d084c14934b..53871737d6aff324471808ab8475e690f4d13a9a 100644 (file)
@@ -1,3 +1,8 @@
+Fri Feb  4 23:42:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * gas/hppa/more.parse/xmpyubug.s: New test.
+       * gas/hppa/more.parse/parse.exp: Run it.
+
 Fri Feb  4 17:13:20 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
 
        * lib/gas-defs.exp (regexp_diff): New procedure, vaguely based on
index 2b7f3a406d943c920ec889561f4d759b85c5ba39..bb6ee7d69f7b051035ec158704c4ad5e8900c8a4 100644 (file)
@@ -50,6 +50,7 @@ stdreg.s
 stringer.s
 undefbug.s
 versionbug.s
+xmpyubug.s
 
 Things-to-lose:
 
index 686e3055de0cc2b54049ba3549ce373fb84d1b99..a0dd33b6464f1663b18d6cc2f839a4dfd2ef6615 100755 (executable)
@@ -204,5 +204,9 @@ if [istarget hppa*-*-*] then {
 
     # Make sure we grok # line directives.
     gas_test "appbug.s" "" "" "Test acceptance of #line directives"
+
+    # Make sure we give errors if a floating point format is specified
+    # for an xmpyu instruction (integer multiple)
+    gas_test_error "xmpyubug.s" "" "Check for error on bogus argument to .block"
 }
 
diff --git a/gas/testsuite/gas/hppa/more.parse/xmpyubug.s b/gas/testsuite/gas/hppa/more.parse/xmpyubug.s
new file mode 100644 (file)
index 0000000..3ee7274
--- /dev/null
@@ -0,0 +1,17 @@
+       .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
+; No format selector for xmpyu!
+       xmpyu,sgl %fr4,%fr5,%fr6
+       xmpyu,dbl %fr4,%fr5,%fr6
+       xmpyu,quad %fr4,%fr5,%fr6
+
+
index 2b7f3a406d943c920ec889561f4d759b85c5ba39..bb6ee7d69f7b051035ec158704c4ad5e8900c8a4 100644 (file)
@@ -50,6 +50,7 @@ stdreg.s
 stringer.s
 undefbug.s
 versionbug.s
+xmpyubug.s
 
 Things-to-lose:
 
index 686e3055de0cc2b54049ba3549ce373fb84d1b99..a0dd33b6464f1663b18d6cc2f839a4dfd2ef6615 100755 (executable)
@@ -204,5 +204,9 @@ if [istarget hppa*-*-*] then {
 
     # Make sure we grok # line directives.
     gas_test "appbug.s" "" "" "Test acceptance of #line directives"
+
+    # Make sure we give errors if a floating point format is specified
+    # for an xmpyu instruction (integer multiple)
+    gas_test_error "xmpyubug.s" "" "Check for error on bogus argument to .block"
 }
 
diff --git a/gas/testsuite/gas/hppa/parse/xmpyubug.s b/gas/testsuite/gas/hppa/parse/xmpyubug.s
new file mode 100644 (file)
index 0000000..3ee7274
--- /dev/null
@@ -0,0 +1,17 @@
+       .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
+; No format selector for xmpyu!
+       xmpyu,sgl %fr4,%fr5,%fr6
+       xmpyu,dbl %fr4,%fr5,%fr6
+       xmpyu,quad %fr4,%fr5,%fr6
+
+