This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch ping2] Simulator Supports for MIPS32 DSP ASE


Hi,

  Here is the revised patch for MIPS32 DSP ASE.  We changed
the copyright to FSF for our new files.  Tested with two
configurations.  No new regressions.  Is it ok to commit?  Thanks!

Regards,
Chao-ying

1. --target=mipsisa32-elf
Test Run By fu on Tue Oct 11 14:02:10 2005
Target is mipsisa32-unknown-elf
Host   is i686-pc-linux-gnu
                === sim Summary ===
# of expected passes            22

2. --target=mipsisa64-elf
Test Run By fu on Tue Oct 11 14:23:31 2005
Target is mipsisa64-unknown-elf
Host   is i686-pc-linux-gnu
                === sim Summary ===
# of expected passes            45
# of unexpected failures        1

sim/mips/ChangeLog
2005-10-11  Chao-ying Fu  <fu@mips.com>

    * Makefile.in (SIM_OBJS): Add dsp.o.
    (dsp.o): New dependency.
    (IGEN_INCLUDE): Add dsp.igen.
    * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*, mipsisa64r2*-*-*,
    mipsisa64*-*-*): Add dsp to sim_igen_machine.
    * configure: Regenerate.
    * mips.igen: Add dsp model and include dsp.igen.
    (MFHI, MFLO, MTHI, MTLO): Remove *mips32, *mips32r2, *mips64,
    *mips64r2, because these instructions are extended in DSP ASE.
    * sim-main.h (LAST_EMBED_REGNUM): Change from 89 to 96 because of
    adding 6 DSP accumulator registers and 1 DSP control register.
    (AC0LOIDX, AC0HIIDX, AC1LOIDX, AC1HIIDX, AC2LOIDX, AC2HIIDX, AC3LOIDX,
    AC3HIIDX, DSPLO, DSPHI, DSPCRIDX, DSPCR, DSPCR_POS_SHIFT,
    DSPCR_POS_MASK, DSPCR_POS_SMASK, DSPCR_SCOUNT_SHIFT, DSPCR_SCOUNT_MASK,
    DSPCR_SCOUNT_SMASK, DSPCR_CARRY_SHIFT, DSPCR_CARRY_MASK,
    DSPCR_CARRY_SMASK, DSPCR_CARRY, DSPCR_EFI_SHIFT, DSPCR_EFI_MASK,
    DSPCR_EFI_SMASK, DSPCR_EFI, DSPCR_OUFLAG_SHIFT, DSPCR_OUFLAG_MASK,
    DSPCR_OUFLAG_SMASK, DSPCR_OUFLAG4, DSPCR_OUFLAG5, DSPCR_OUFLAG6,
    DSPCR_OUFLAG7, DSPCR_CCOND_SHIFT, DSPCR_CCOND_MASK,
    DSPCR_CCOND_SMASK): New define.
    (DSPLO_REGNUM, DSPHI_REGNUM): New array for DSP accumulators.
    * dsp.c, dsp.igen: New files for MIPS DSP ASE.

sim/testsuite/sim/mips/ChangeLog
2005-10-11  Chao-ying Fu  <fu@mips.com>

    * basic.exp: Run the dsp test.
    * utils-dsp.inc: New file.
    * mips32-dsp.s: New test.

----- Original Message ----- 
From: "Nigel Stephens" <nigel@mips.com>
To: "Daniel Jacobowitz" <drow@false.org>
Cc: "Chao-ying Fu" <fu@mips.com>; <gdb-patches@sourceware.org>;
<echristo@apple.com>
Sent: Tuesday, October 11, 2005 1:37 AM
Subject: Re: [patch ping2] Simulator Supports for MIPS32 DSP ASE


> Daniel Jacobowitz wrote:
>
> >Andrew has corrected me off-list: new, non-FSF contributions are not
> >acceptable.  I entirely support that position.  Is this going to be a
> >problem for MIPS?
> >
> >
>
> OK, we agree to assign copyright of these new files to the FSF. We'll
> resubmit the patch with updated headers.
>
> Nigel
>

Attachment: sim.diff
Description: Binary data

Attachment: dsp.igen
Description: Binary data

Attachment: dsp.c
Description: Binary data

Attachment: mips32-dsp.s
Description: Binary data

Attachment: utils-dsp.inc
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]