Hi, The below enables LSA/DLSA instructions for -mmsa.
Ok to commit? Regards, Robert * config/mips/mips.h (ISA_HAS_LSA): Enable for -mmsa. (ISA_HAS_DLSA): Ditto. --- gcc/config/mips/mips.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 1efa61a..e8897d1 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -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)) -- 2.8.2.396.g5fe494c