From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10439 invoked by alias); 19 Jan 2011 06:11:01 -0000 Received: (qmail 10408 invoked by uid 22791); 19 Jan 2011 06:11:00 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from va3ehsobe005.messaging.microsoft.com (HELO VA3EHSOBE005.bigfish.com) (216.32.180.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Jan 2011 06:10:54 +0000 Received: from mail123-va3-R.bigfish.com (10.7.14.250) by VA3EHSOBE005.bigfish.com (10.7.40.25) with Microsoft SMTP Server id 14.1.225.8; Wed, 19 Jan 2011 06:10:51 +0000 Received: from mail123-va3 (localhost.localdomain [127.0.0.1]) by mail123-va3-R.bigfish.com (Postfix) with ESMTP id 7951CD7835A; Wed, 19 Jan 2011 06:10:51 +0000 (UTC) X-SpamScore: -7 X-BigFish: VPS-7(zz936eK154dMzz1202hzz8275bhz32i2a8h668h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null);UIP:(null);IPVD:NLI;H:Kcinpunhjhc01.kpit.com;RD:Kcinpunhjhc01.kpit.com;EFVD:NLI Received: from mail123-va3 (localhost.localdomain [127.0.0.1]) by mail123-va3 (MessageSwitch) id 1295417451257463_28930; Wed, 19 Jan 2011 06:10:51 +0000 (UTC) Received: from VA3EHSMHS011.bigfish.com (unknown [10.7.14.235]) by mail123-va3.bigfish.com (Postfix) with ESMTP id 3B81B110046; Wed, 19 Jan 2011 06:10:51 +0000 (UTC) Received: from Kcinpunhjhc01.kpit.com (203.197.93.240) by VA3EHSMHS011.bigfish.com (10.7.99.21) with Microsoft SMTP Server (TLS) id 14.1.225.8; Wed, 19 Jan 2011 06:10:50 +0000 Received: from Kcinpunhjcms01.kpit.com ([172.10.16.121]) by Kcinpunhjhc01.kpit.com ([172.10.16.123]) with mapi; Wed, 19 Jan 2011 11:39:57 +0530 From: Rathish C To: "gdb-patches@sourceware.org" CC: "kevinb@redhat.com" , Gina Verlekar Date: Wed, 19 Jan 2011 14:59:00 -0000 Subject: [PATCH, V850] Add support for V850E2 and V850E2V3 Message-ID: <371569CBCFB2E745B891DBB88B2DFDDD19EB739BED@KCINPUNHJCMS01.kpit.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: kpitcummins.com Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-01/txt/msg00389.txt.bz2 Hi Kevin, Thank you for approving the patch. I have updated the ChangeLog entry as per your comments. Please find the updated patch "v850-gdb-v850e2-v850e2v3-support.patch". 2011-01-19 Rathish.C =09 * gdb/v850-tdep.c: Add the enum values for mpu and fpu registers. (v850_register_name): Add the mpu and fpu register names. (v850e_register_name): Add the mpu and fpu register names. (v850e2_register_name): New function. (v850_gdbarch_init): Add case for bfd_mach_v850e2 and=20 bfd_mach_v850e2v3. * sim/common/sim-trace.c: Update the function prototype of=20 save_data_size. Move the enum data_fmt from here... * sim/common/sim-trace.h: to here. Add function prototype of save_data. * sim/v850/sim-main.h: Update the struct _v850_regs to include mpu and fpu system registers. Define the macros to access the mpu and fpu system registers. (SEXT3): Define. (TRACE_FP_INPUT_FPU1, TRACE_FP_INPUT_FPU2, TRACE_FP_INPUT_FPU3): Define. (TRACE_FP_INPUT_BOOL1_FPU2): Define. (TRACE_FP_INPUT_WORD2): Define. (TRACE_FP_RESULT_WORD1, TRACE_FP_RESULT_WORD2): Define. * sim/v850/simops.c: Update the function prototype of Add32. (update_fpsr): New function. (SignalException): New function. (SignalExceptionFPE): New function. (check_invalid_snan): New function. (v850_float_compare): New function. (v850_div): New function. (v850_divu): New function. (v850_sar): New function. (v850_shl): New function. (v850_shr): New function. (v850_satadd): New function. (v850_satsub): New function. (load_data_mem): New function. (store_data_mem): New function. (mpu_load_mem_test): New function. (mpu_store_mem_test): New function. * sim/v850/simops.h: Add function prototype for above mentioned functions. (check_cvt_fi, check_cvt_if, check_cvt_ff): Define. * sim/v850/v850-dc: Add entry for v850e2 and v850e2v3. * sim/v850/v850.igen: Add support for v850e2 and v850e2v3. Thanks & Regards, Rathish.C