From patchwork Mon Jun 19 18:11:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Bergner X-Patchwork-Id: 21112 Received: (qmail 86986 invoked by alias); 19 Jun 2017 18:11:04 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 85761 invoked by uid 89); 19 Jun 2017 18:11:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KHOP_DYNAMIC, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Jun 2017 18:11:01 +0000 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v5JI8fag086060 for ; Mon, 19 Jun 2017 14:11:04 -0400 Received: from e38.co.us.ibm.com (e38.co.us.ibm.com [32.97.110.159]) by mx0b-001b2d01.pphosted.com with ESMTP id 2b64u1j5ac-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 19 Jun 2017 14:11:04 -0400 Received: from localhost by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 19 Jun 2017 12:11:03 -0600 Received: from b03cxnp08028.gho.boulder.ibm.com (9.17.130.20) by e38.co.us.ibm.com (192.168.1.138) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 19 Jun 2017 12:11:02 -0600 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v5JIB1BH22872164; Mon, 19 Jun 2017 11:11:01 -0700 Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 70B0E6A043; Mon, 19 Jun 2017 12:11:01 -0600 (MDT) Received: from otta.local (unknown [9.85.143.85]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP id E4DBD6A041; Mon, 19 Jun 2017 12:11:00 -0600 (MDT) To: gdb-patches@sourceware.org Cc: pedromfc@linux.vnet.ibm.com From: Peter Bergner Subject: [PATCH, committed] Update GDB test case for new ppc lnia extended mnemonic. Date: Mon, 19 Jun 2017 13:11:00 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 17061918-0028-0000-0000-000007D76761 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007256; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000214; SDB=6.00877080; UDB=6.00436883; IPR=6.00657222; BA=6.00005431; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015888; XFM=3.00000015; UTC=2017-06-19 18:11:03 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17061918-0029-0000-0000-0000364A47A9 Message-Id: <8d4ed887-b1ec-9cb2-fce0-1b6fa7a18976@vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-06-19_09:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706190299 X-IsSubscribed: yes Update GDB test case for new lnia extended mnemonic. When I added the new lnia extended mnemonic for addpcis, I updated the assembler/disassembler test cases, but overlooked the GDB test cases. This patch fixes that oversight and associated test case failure. Committed as obvious. Peter * gdb.arch/powerpc-power9.exp: Update test case for new lnia extended mnemonic. * gdb.arch/powerpc-power9.s: Likewise. diff --git a/gdb/testsuite/gdb.arch/powerpc-power9.exp b/gdb/testsuite/gdb.arch/powerpc-power9.exp index cb9be17..4df78e1 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power9.exp +++ b/gdb/testsuite/gdb.arch/powerpc-power9.exp @@ -364,8 +364,8 @@ func_check "xscvhpdp vs40,vs50" func_check "xscvdphp vs41,vs51" func_check "xvcvhpsp vs42,vs52" func_check "xvcvsphp vs43,vs53" -func_check "addpcis r3,0" -func_check "addpcis r3,0" +func_check "lnia r3" +func_check "lnia r3" func_check "addpcis r4,1" func_check "addpcis r4,1" func_check "addpcis r5,-2" diff --git a/gdb/testsuite/gdb.arch/powerpc-power9.s b/gdb/testsuite/gdb.arch/powerpc-power9.s index 65d8783..5d1a280 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power9.s +++ b/gdb/testsuite/gdb.arch/powerpc-power9.s @@ -321,7 +321,7 @@ func: .long 0xf1319d6f /* xscvdphp vs41,vs51 */ .long 0xf158a76f /* xvcvhpsp vs42,vs52 */ .long 0xf179af6f /* xvcvsphp vs43,vs53 */ - .long 0x4c600004 /* addpcis r3,0 */ + .long 0x4c600004 /* lnia r3 */ .long 0x4c600004 /* addpcis r3,0 */ .long 0x4c800005 /* addpcis r4,1 */ .long 0x4c800005 /* addpcis r4,1 */