From d051516a87f6581ef1355f0da631c51eb38c24f6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 23 Nov 2010 17:04:13 +0000 Subject: * mips.h (INSN_CHIP_MASK): Update according to INSN_LOONGSON_3A. (INSN_LOONGSON_3A): Clear bit 31. * elfxx-mips.c (mips_set_isa_flags): Move bfd_mach_loongson_3a after bfd_mach_mips_sb1. * config/tc-mips.c (mips_cpu_info_table): Move loongson3a after sb1. --- gas/ChangeLog | 6 +++++- gas/config/tc-mips.c | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 7b00c40..b5e005a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,6 +1,10 @@ +2010-11-23 Mingming Sun + + * config/tc-mips.c (mips_cpu_info_table): Move loongson3a after sb1. + 2010-11-23 H.J. Lu - * doc/as.texinfo: Refer to and include c-i386.texi for i386 + * doc/as.texinfo: Refer to and include c-i386.texi for i386 options. * doc/c-i386.texi: Add markup for use in manpage generation. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 77397bb..ac02aee 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -15358,7 +15358,6 @@ static const struct mips_cpu_info mips_cpu_info_table[] = { "5kf", 0, ISA_MIPS64, CPU_MIPS64 }, { "20kc", MIPS_CPU_ASE_MIPS3D, ISA_MIPS64, CPU_MIPS64 }, { "25kf", MIPS_CPU_ASE_MIPS3D, ISA_MIPS64, CPU_MIPS64 }, - { "loongson3a", 0, ISA_MIPS64, CPU_LOONGSON_3A }, /* Broadcom SB-1 CPU core */ { "sb1", MIPS_CPU_ASE_MIPS3D | MIPS_CPU_ASE_MDMX, @@ -15366,6 +15365,8 @@ static const struct mips_cpu_info mips_cpu_info_table[] = /* Broadcom SB-1A CPU core */ { "sb1a", MIPS_CPU_ASE_MIPS3D | MIPS_CPU_ASE_MDMX, ISA_MIPS64, CPU_SB1 }, + + { "loongson3a", 0, ISA_MIPS64, CPU_LOONGSON_3A }, /* MIPS 64 Release 2 */ -- cgit v1.1