mirror of git://gcc.gnu.org/git/gcc.git
Enable LSA/DLSA for MSA.
* config/mips/mips.h (ISA_HAS_LSA): Enable for -mmsa. (ISA_HAS_DLSA): Ditto. From-SVN: r236289
This commit is contained in:
parent
7065002128
commit
0bc8d0b3c1
|
|
@ -1,3 +1,8 @@
|
|||
2016-05-16 Robert Suchanek <robert.suchanek@imgtec.com>
|
||||
|
||||
* config/mips/mips.h (ISA_HAS_LSA): Enable for -mmsa.
|
||||
(ISA_HAS_DLSA): Ditto.
|
||||
|
||||
2016-05-16 Matthew Fortune <matthew.fortune@imgtec.com>
|
||||
|
||||
* config/mips/m5100.md (m51_int_load): Update the latency to 2.
|
||||
|
|
|
|||
|
|
@ -209,10 +209,12 @@ struct mips_cpu_info {
|
|||
#endif
|
||||
|
||||
/* ISA has LSA available. */
|
||||
#define ISA_HAS_LSA (mips_isa_rev >= 6)
|
||||
#define ISA_HAS_LSA (mips_isa_rev >= 6 || ISA_HAS_MSA)
|
||||
|
||||
/* ISA has DLSA available. */
|
||||
#define ISA_HAS_DLSA (TARGET_64BIT && mips_isa_rev >= 6)
|
||||
#define ISA_HAS_DLSA (TARGET_64BIT \
|
||||
&& (mips_isa_rev >= 6 \
|
||||
|| ISA_HAS_MSA))
|
||||
|
||||
/* The ISA compression flags that are currently in effect. */
|
||||
#define TARGET_COMPRESSION (target_flags & (MASK_MIPS16 | MASK_MICROMIPS))
|
||||
|
|
|
|||
Loading…
Reference in New Issue