]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/sh/arch/arch.exp
Imported binutils-2.20
[msp430-binutils.git] / gas / testsuite / gas / sh / arch / arch.exp
index ce474988953756a675899cb6c28ba8af9497ecb2..0139be6ac1ae7971c1329c56d7fc7b173af04f82 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2004, 2005, 2007
+# Copyright (C) 2004, 2005, 2007, 2008
 # Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -377,6 +377,12 @@ for {set i 0} {$i < $insncount} {incr i} {
     if {[regexp {PPIC} $insns(context,$i)] == 1} then {
        set out "dct $out"
     }
+    # Make sure the proper alignments are ok.
+    if [regexp {i8p4} $insns(context,$i)] {
+      set out ".align 2\n\t$out"
+    }
+
+    # Write back the results.
     set insns(insn,$i) $out
     set insns(context,$i) [string map {\n " " \r " "} $insns(context,$i)]
 }
@@ -512,4 +518,4 @@ foreach arch [array names insns_valid] {
 }
 
 
-} ;# istarget sh*-*-*
\ No newline at end of file
+} ;# istarget sh*-*-*