* Updated DVP test case to match new alignment code that was checked in two
authorFrank Ch. Eigler <fche@redhat.com>
Sat, 21 Mar 1998 00:29:55 +0000 (00:29 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Sat, 21 Mar 1998 00:29:55 +0000 (00:29 +0000)
  nights ago.  Patched other two test cases to explicitly specify the ".text"
  segment for tests since the DVP assembler defaults to ".vutext".

gas/testsuite/ChangeLog
gas/testsuite/gas/all/align.s [new file with mode: 0644]

index cf3a36aebad2b2e55851d46cb86b20e28e720bd0..702319deace974659218da4743744841b5e4a4a0 100644 (file)
@@ -1,3 +1,12 @@
+Fri Mar 20 18:51:49 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * gas/all/align.s: Identify ".text" section explicitly.
+       * gas/macros/semi.s: Ditto.
+       
+start-sanitize-sky
+       * gas/dvp/dma-2.d: Change to match automatic alignment of dmadata.
+end-sanitize-sky
+       
 start-sanitize-r5900
 Thu Mar 19 14:13:12 1998  Jeffrey A Law  (law@cygnus.com)
 
@@ -5,7 +14,7 @@ Thu Mar 19 14:13:12 1998  Jeffrey A Law  (law@cygnus.com)
        * gas/mips/mips.exp: Run vu0 tests.
 
 end-sanitize-r5900
-start-sanitize-sky
+       
 start-sanitize-sky
 Thu Mar 19 10:49:15 1998  Doug Evans  <devans@canuck.cygnus.com>
 
diff --git a/gas/testsuite/gas/all/align.s b/gas/testsuite/gas/all/align.s
new file mode 100644 (file)
index 0000000..d5d65bd
--- /dev/null
@@ -0,0 +1,61 @@
+/* Test the alignment pseudo-ops.  */
+       .section ".text"
+
+       .byte   0xff
+       .p2align 1,0
+
+       .byte   0xff
+       .p2align 1,1
+
+       .byte   0xff
+       .p2align 2,2
+
+       .byte   0xff
+       .byte   0xff
+       .p2alignw 2,0x0303
+
+       .p2align 3,4
+       .byte   0xff
+       .byte   0xff
+       .byte   0xff
+       .byte   0xff
+       .p2alignl 3,0x05050505
+
+       .p2align 1,6
+       .p2align 1,7
+
+       .byte   0xff
+       .p2align 3,8,5
+       .byte   9
+       .p2align 3,0xa
+
+       .byte   0xff
+       .balign 2,0
+
+       .byte   0xff
+       .balign 2,1
+
+       .byte   0xff
+       .balign 4,2
+
+       .byte   0xff
+       .byte   0xff
+       .balignw 4,0x0303
+
+       .balign 8,4
+       .byte   0xff
+       .byte   0xff
+       .byte   0xff
+       .byte   0xff
+       .balignl 8,0x05050505
+
+       .balign 2,6
+       .balign 2,7
+
+       .byte   0xff
+       .balign 8,8,5
+       .byte   9
+       .balign 8,0xa
+
+       .p2align 5
+       .balign 32