From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17457 invoked by alias); 28 Nov 2007 23:58:37 -0000 Received: (qmail 17444 invoked by uid 22791); 28 Nov 2007 23:58:36 -0000 X-Spam-Check-By: sourceware.org Received: from mail-out3.apple.com (HELO mail-out3.apple.com) (17.254.13.22) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Nov 2007 23:58:29 +0000 Received: from relay13.apple.com (relay13.apple.com [17.128.113.29]) by mail-out3.apple.com (Postfix) with ESMTP id 2244919B6DD9; Wed, 28 Nov 2007 15:58:28 -0800 (PST) Received: from relay13.apple.com (unknown [127.0.0.1]) by relay13.apple.com (Symantec Mail Security) with ESMTP id 05B5628082; Wed, 28 Nov 2007 15:58:28 -0800 (PST) X-AuditID: 1180711d-9e3edbb00000694b-c7-474e00a1d4c6 Received: from [17.151.78.152] (unknown [17.151.78.152]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay13.apple.com (Apple SCV relay) with ESMTP id 4CF3828087; Wed, 28 Nov 2007 15:58:16 -0800 (PST) Cc: binutils@sourceware.org, r0bertz@gentoo.org Message-Id: <9AA18558-CC9B-48C1-B1A8-F37962932770@apple.com> From: Eric Christopher To: Mark Shinwell In-Reply-To: <474D57E3.1090405@codesourcery.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: Loongson-2E and -2F support for binutils Date: Wed, 28 Nov 2007 23:58:00 -0000 References: <474D57E3.1090405@codesourcery.com> X-Mailer: Apple Mail (2.915) X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00242.txt.bz2 On Nov 28, 2007, at 3:58 AM, Mark Shinwell wrote: > 2007-11-28 Mark Shinwell > > bfd/ > * archures.c (bfd_mach_mips_loongson_2e): New. > (bfd_mach_mips_loongson_2f): New. > * bfd-in2.h (bfd_mach_mips_loongson_2e): New. > (bfd_mach_mips_loongson_2f): New. > * cpu-mips.c: Add I_loongson_2e and I_loongson_2f to > anonymous enum. > (arch_info_struct): Add Loongson-2E and Loongson-2F entries. > * elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E > and Loongson-2F flags. > (mips_set_isa_flags): Likewise. > (mips_mach_extensions): Add Loongson-2E and Loongson-2F > entries. > > binutils/ > * readelf.c (get_machine_flags): Handle Loongson-2E and -2F > flags. > > gas/ > * config/tc-mips.c (mips_cpu_info_table): Add loongson2e > and loongson2f entries. > * doc/c-mips.texi: Document -march=loongson{2e,2f} options. > > gas/testsuite/ > * gas/mips/mips.exp: Add loongson-2e and -2f tests. > * gas/mips/loongson-2e.d: New. > * gas/mips/loongson-2e.s: New. > * gas/mips/loongson-2f.d: New. > * gas/mips/loongson-2f.s: New. > > include/elf/ > * mips.h (E_MIPS_MACH_LS2E): New. > (E_MIPS_MACH_LS2F): New. > > include/opcode/ > * mips.h (INSN_LOONGSON_2E): New. > (INSN_LOONGSON_2F): New. > (CPU_LOONGSON_2E): New. > (CPU_LOONGSON_2F): New. > (OPCODE_IS_MEMBER): Update for Loongson-2E and -2F flags. > > opcodes/ > * mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F > entries. > * mips-opc.c (IL2E): New. > (IL2F): New. > (mips_builtin_opcodes): Add Loongson-2E and -2F instructions. > Allow movz and movn for Loongson-2E and -2F. Add movnz entry. > Move coprocessor encodings to the end of the table. Allow > certain MIPS V .ps instructions on the Loongson-2E and -2F. OK. -eric