This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[Patch 1/2][ARM]Split insn type alu_reg into alu_sreg and alu_dsp_reg


Hi there,

Currently the insn type of DSP-kind instructions like QSUB8 is alu_reg which
is same as other normal instructions like SUB. In order to distinguish those
DSP-kind instructions, this patch intends to replace current alu_reg with
two sub categories alu_sreg and alu_dsp_reg. Meanwhile the alus_reg is
renamed to alus_sreg in terms of consistence. This is the first patch of
this series and intends to cover the files under gcc/config/arm. Tested with
gcc regression, no new regressions. Is it ok to trunk?

BR,
Terry

2014-07-10  Terry Guo  <terry.guo@arm.com>

     * config/arm/types.md (alu_reg): Replaced by alu_sreg and alu_dsp_reg.
     (alus_reg): Renamed to alus_sreg.
     * config/arm/arm-fixed.md: Change type of non-dsp instructions
     from alu_reg to alu_sreg.  Change type of dsp instructions from
     alu_reg to alu_dsp_reg.
     * config/arm/thumb1.md: Likewise.
     * config/arm/thumb2.md: Likewise.
     * config/arm/arm.c (cortexa7_older_only): Use new ALU type names.
     * config/arm/arm1020e.md (1020alu_op): Replace alu_reg and alus_reg
with
     alu_sreg and alus_sreg.
     * config/arm/arm1026ejs.md (alu_op): Likewise.
     * config/arm/arm1136jfs.md (11_alu_op): Likewise.
     * config/arm/arm926ejs.md (9_alu_op): Likewise.
     * config/arm/fa526.md (526_alu_op): Likewise.
     * config/arm/fa606te.md (606te_alu_op): Likewise.
     * config/arm/fa626te.md (626te_alu_op): Likewise.
     * config/arm/fa726te.md (726te_alu_op): Likewise.
     * config/arm/fmp626.md (mp626_alu_op): Likewise.
     * config/arm/arm.md (core_cycles): Replace alu_reg and alus_reg with
     alu_sreg, alu_dsp_reg and alus_sreg.     
     * config/arm/cortex-a15.md (cortex_a15_alu): Likewise.
     * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
     * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
     * config/arm/cortex-a7.md (cortex_a7_alu_sreg): Likewise.
     * config/arm/cortex-a8.md (cortex_a8_alu): Likewise.
     * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
     * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
     * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
     * config/arm/marvell-pj4.md (pj4_alu, pj4_alu_conds): Likewise.

Attachment: arm-new-insn-type-v3.txt
Description: Text document


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