X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fsh%2Farch%2Farch.exp;fp=gas%2Ftestsuite%2Fgas%2Fsh%2Farch%2Farch.exp;h=0139be6ac1ae7971c1329c56d7fc7b173af04f82;hp=ce474988953756a675899cb6c28ba8af9497ecb2;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gas/testsuite/gas/sh/arch/arch.exp b/gas/testsuite/gas/sh/arch/arch.exp index ce47498..0139be6 100644 --- a/gas/testsuite/gas/sh/arch/arch.exp +++ b/gas/testsuite/gas/sh/arch/arch.exp @@ -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*-*-*