From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6434 invoked by alias); 8 Jun 2006 21:46:11 -0000 Received: (qmail 6410 invoked by uid 22791); 8 Jun 2006 21:46:08 -0000 X-Spam-Check-By: sourceware.org Received: from bender.bawue.de (HELO bender.bawue.de) (193.7.176.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 Jun 2006 21:46:03 +0000 Received: from lagash (88-106-172-197.dynamic.dsl.as9105.com [88.106.172.197]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by bender.bawue.de (Postfix) with ESMTP id C0BDD441BD for ; Thu, 8 Jun 2006 23:45:46 +0200 (MEST) Received: from ths by lagash with local (Exim 4.62) (envelope-from ) id 1FoSK1-000762-QN for binutils@sourceware.org; Thu, 08 Jun 2006 22:45:45 +0100 Date: Thu, 08 Jun 2006 22:20:00 -0000 To: binutils@sourceware.org Subject: [PATCH] Expand MIPS gas testcase to check COP2 branches Message-ID: <20060608214545.GC25431@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11+cvs20060403 From: Thiemo Seufer X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00110.txt.bz2 Hello All, I applied the appended patch which tests COP2 branches. Thiemo 2006-06-08 Thiemo Seufer Nigel Stephens * gas/mips/mips32.s: Added cop2 branches with explicit condition code register numbers. * gas/mips/mips32.d: Likewise. Index: gas/testsuite/gas/mips/mips32.d =================================================================== RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips32.d,v retrieving revision 1.12 diff -u -p -r1.12 mips32.d --- gas/testsuite/gas/mips/mips32.d 8 May 2006 18:18:09 -0000 1.12 +++ gas/testsuite/gas/mips/mips32.d 8 Jun 2006 19:15:40 -0000 @@ -63,4 +63,12 @@ Disassembly of section .text: 0+00d4 <[^>]*> 7000003f sdbbp 0+00d8 <[^>]*> 7000003f sdbbp 0+00dc <[^>]*> 7159e27f sdbbp 0x56789 +0+00e0 <[^>]*> 4900ffc7 bc2f 0+0000 +0+00e4 <[^>]*> 00000000 nop +0+00e8 <[^>]*> 4906ffc5 bc2fl \$cc1,0+0000 +0+00ec <[^>]*> 00000000 nop +0+00f0 <[^>]*> 4919ffc3 bc2t \$cc6,0+0000 +0+00f4 <[^>]*> 00000000 nop +0+00f8 <[^>]*> 491fffc1 bc2tl \$cc7,0+0000 +0+00fc <[^>]*> 00000000 nop \.\.\. Index: gas/testsuite/gas/mips/mips32.s =================================================================== RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips32.s,v retrieving revision 1.5 diff -u -p -r1.5 mips32.s --- gas/testsuite/gas/mips/mips32.s 8 May 2006 18:18:09 -0000 1.5 +++ gas/testsuite/gas/mips/mips32.s 8 Jun 2006 19:15:40 -0000 @@ -79,5 +79,15 @@ text_label: sdbbp 0 # disassembles without code sdbbp 0x56789 + # Cop2 branches with cond code number, like bc1t/f + bc2f $cc0,text_label + nop + bc2fl $cc1,text_label + nop + bc2t $cc6,text_label + nop + bc2tl $cc7,text_label + nop + # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... .space 8