This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, V850] Add support for V850E2 and V850E2V3
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Rathish C <Rathish dot C at kpitcummins dot com>
- Cc: gdb-patches at sourceware dot org, Gina Verlekar <Gina dot Verlekar at kpitcummins dot com>
- Date: Thu, 22 Mar 2012 13:25:54 -0700
- Subject: Re: [PATCH, V850] Add support for V850E2 and V850E2V3
- References: <371569CBCFB2E745B891DBB88B2DFDDD19EB739BED@KCINPUNHJCMS01.kpit.com>
Hi Rathish,
I just noticed that the patch associated with the ChangeLog entry below
hasn't been committed yet. Please note that I approved your work in
this message:
http://sourceware.org/ml/gdb-patches/2011-01/msg00354.html
If you were awaiting approval of your new ChangeLog entry, then that
is approved too.
Kevin
On Wed, 19 Jan 2011 11:39:47 +0530
Rathish C <Rathish.C@kpitcummins.com> wrote:
>
> 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 <rathish.c@kpitcummins.com>
>
> * 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
> bfd_mach_v850e2v3.
> * sim/common/sim-trace.c: Update the function prototype of
> 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
>
>