From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15959 invoked by alias); 3 Sep 2003 18:38:08 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15945 invoked from network); 3 Sep 2003 18:38:06 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 3 Sep 2003 18:38:06 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h83Ic5l27049 for ; Wed, 3 Sep 2003 14:38:05 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h83Ic4L17877 for ; Wed, 3 Sep 2003 14:38:04 -0400 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h83Ic3w27816; Wed, 3 Sep 2003 11:38:03 -0700 Message-ID: <3F56350B.500@redhat.com> Date: Wed, 03 Sep 2003 18:38:00 -0000 From: Michael Snyder User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com CC: Dave Brolley Subject: [RFA] Split Ipipe.exp test into seperate versions. Content-Type: multipart/mixed; boundary="------------090009020600060708080706" X-SW-Source: 2003-09/txt/msg00018.txt.bz2 This is a multi-part message in MIME format. --------------090009020600060708080706 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 290 The fr400 wasn't really being tested, because of a typo. When I fixed the typo, the fr400 failed the test, because of an LSI difference (it places the address of the VLIW bundle into EPCR0, rather than the address of the insn causing the interrupt). So I've split the test case into two. --------------090009020600060708080706 Content-Type: text/plain; name="Ipipe" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Ipipe" Content-length: 2154 2003-09-03 Michael Snyder * sim/frv/interrupts/Ipipe-fr400.cgs: New file. * sim/frv/interrupts/Ipipe-fr500.cgs: New file. * sim/frv/interrupts/Ipipe.cgs: Remove (replaced by above). Index: sim/frv/interrupts/Ipipe-fr400.cgs =================================================================== RCS file: sim/frv/interrupts/Ipipe-fr400.cgs diff -N sim/frv/interrupts/Ipipe-fr400.cgs 0a1,35 > # venus testcase > # mach: fr400 > > .include "testutils.inc" > > start > > .global Ipipe > Ipipe: > ; Clear the packing bit of the insn at 'pack:'. We can't > ; simply use '.p' because the assembler will catch the error. > set_gr_mem pack,gr10 > and_gr_immed 0x7fffffff,gr10 > set_mem_gr gr10,pack > set_gr_addr pack,gr10 > flush_data_cache gr10 > > and_spr_immed -4081,tbr ; clear tbr.tt > set_gr_spr tbr,gr7 > inc_gr_immed 0x070,gr7 ; address of exception handler > set_bctrlr_0_0 gr7 > set_spr_immed 128,lcr > set_spr_addr ok0,lr > set_psr_et 1 > > bundle: add.p gr1,gr1,gr1 > pack: add gr2,gr2,gr2 > bad: add gr3,gr3,gr3 > fail > ok0: > test_spr_immed 1,esfr1 > test_spr_bits 0x3f,0,0xb,esr0 > test_spr_addr bundle,epcr0 > > pass Index: sim/frv/interrupts/Ipipe-fr500.cgs =================================================================== RCS file: sim/frv/interrupts/Ipipe-fr500.cgs diff -N sim/frv/interrupts/Ipipe-fr500.cgs 0a1,35 > # venus testcase > # mach: fr500 > > .include "testutils.inc" > > start > > .global Ipipe > Ipipe: > ; Clear the packing bit of the insn at 'pack:'. We can't > ; simply use '.p' because the assembler will catch the error. > set_gr_mem pack,gr10 > and_gr_immed 0x7fffffff,gr10 > set_mem_gr gr10,pack > set_gr_addr pack,gr10 > flush_data_cache gr10 > > and_spr_immed -4081,tbr ; clear tbr.tt > set_gr_spr tbr,gr7 > inc_gr_immed 0x070,gr7 ; address of exception handler > set_bctrlr_0_0 gr7 > set_spr_immed 128,lcr > set_spr_addr ok0,lr > set_psr_et 1 > > add.p gr1,gr1,gr1 > pack: add gr2,gr2,gr2 > bad: add gr3,gr3,gr3 > fail > ok0: > test_spr_immed 1,esfr1 > test_spr_bits 0x3f,0,0xb,esr0 > test_spr_addr bad,epcr0 > > pass --------------090009020600060708080706--