aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-11-11 10:23:39 +0000
committerNick Clifton <nickc@redhat.com>2010-11-11 10:23:39 +0000
commitfd50354116e30413803893c41178623d156f28de (patch)
treeb403df328a245e6d5ebe2a43b242d7123638a5c0 /gas
parentd5906a46f1821b90f03c817384383f6e77b15a08 (diff)
downloadgdb-fd50354116e30413803893c41178623d156f28de.zip
gdb-fd50354116e30413803893c41178623d156f28de.tar.gz
gdb-fd50354116e30413803893c41178623d156f28de.tar.bz2
bfd/
* archures.c (bfd_mach_mips_loongson_3a): Defined. * bfd-in2.h (bfd_mach_mips_loongson_3a): Defined. * cpu-mips.c (I_loongson_3a): New add. (arch_info_struct): Add loongson_3a. * elfxx-mips.c (_bfd_elf_mips_mach): Add loongson_3a. (mips_set_isa_flags): Add loongson_3a. (mips_mach_extensions): Add loongson_3a in MIPS64 extensions. binutils/ * readelf.c (get_machine_flags): Add loongson-3a. gas/ * config/tc-mips.c (mips_cpu_info_table): Add loongson3a in MIPS 64. * doc/c-mips.texi (MIPS cpu): Add loongson3a. include/ * elf/mips.h (E_MIPS_MACH_LS3A): Defined. * opcode/mips.h (INSN_LOONGSON_3A): Defined. (CPU_LOONGSON_3A): Defined. (OPCODE_IS_MEMBER): Add LOONGSON_3A. opcodes/ * mips-dis.c (mips_arch_choices): Add loongson3a. * mips-opc.c (IL3A): Defined as INSN_LOONGSON_3A. (mips_builtin_opcodes): Modify some instructions' membership from IL2F to IL2F|IL3A, since these instructions are supported by Loongson_3A.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c1
-rw-r--r--gas/doc/c-mips.texi1
3 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9fee273..732a726 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-11 Mingming Sun <mingm.sun@gmail.com>
+
+ * config/tc-mips.c (mips_cpu_info_table): Add loongson3a in MIPS 64.
+ * doc/c-mips.texi (MIPS cpu): Add loongson3a.
+
2010-11-10 Richard Sandiford <richard.sandiford@linaro.org>
* config/tc-arm.c (do_t_branch): Treat (PLT) branches as wide.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 9fa4cce..ddeb513 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -15359,6 +15359,7 @@ 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,
diff --git a/gas/doc/c-mips.texi b/gas/doc/c-mips.texi
index 715091e..974a3f0 100644
--- a/gas/doc/c-mips.texi
+++ b/gas/doc/c-mips.texi
@@ -303,6 +303,7 @@ sb1,
sb1a,
loongson2e,
loongson2f,
+loongson3a,
octeon,
xlr
@end quotation