From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 28 Jun 2005 05:57:17 +0100 (BST) Received: from sccrmhc12.comcast.net ([IPv6:::ffff:204.127.202.56]:28138 "EHLO sccrmhc12.comcast.net") by linux-mips.org with ESMTP id ; Tue, 28 Jun 2005 05:56:57 +0100 Received: from [192.168.1.4] (pcp0011842295pcs.waldrf01.md.comcast.net[69.251.97.45]) by comcast.net (sccrmhc12) with ESMTP id <2005062804561601200hd8sue>; Tue, 28 Jun 2005 04:56:21 +0000 Message-ID: <42C0D94F.3030809@gentoo.org> Date: Tue, 28 Jun 2005 00:59:59 -0400 From: Kumba User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org CC: Linux MIPS List Subject: -march=r10000 Support for MIPS Targets (Old 3.4.x Patch; requires porting, assistance requested) Content-Type: multipart/mixed; boundary="------------030705090300090608010901" Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 8217 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: kumba@gentoo.org Precedence: bulk X-list: linux-mips This is a multi-part message in MIME format. --------------030705090300090608010901 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi All, I've poked around on this patch to gcc-3.4.x from time-to-time (When I get the time to do so), and haven't really gotten anywhere. It's a patch I forward-ported some time ago from gcc-3.0 up to gcc-3.4.2/3.4.3. It's worked fine in gcc-3.4.3 on MIPS userlands under IP28, IP30, and IP27 systems for several months now (probably closer to a year at this point). Based on feedback I've gotten from Eric Christopher back in Aug '04 (Hi Eric) the patch itself looks sane, and with me and multiple users running it, it's not had any reported problems thus far, so I consider it stable enough to try and submit it in its current 3.4.x form to this list. The downside is, with everyone moving to 4.x series now, 3.4.x isn't going to be around much longer. I'm not much of a compiler guru, so with the massive changes between 3.4.x and 4.x's mips.md format (and deprecating define_function_insn and splitting of mips.md to cpu-specific md's), most of my ability to analyze and port changes is vastly reduced (since I usually look for similarities in code and adjust accordingly). If at all possible I'd like to see it make it into gcc at some point in time, not necessarily gcc-4.1, as the patch as it currently stands needs someone to do the work of porting it to fit into 4.x, but I figure if I keep holding onto it, it'll be gcc-5.x before this thing ever gets anywheres. So if anyone wants to take a stab at porting it, I'd be interested to see the results (so I can compare it to 3.4.x and maybe get an idea of how the changes really port over to 4.x). For historical reference, the original patch was submitted for gcc-3.0 back in July 2001, and can be seen here: http://gcc.gnu.org/ml/gcc-patches/2001-07/msg01161.html --Kumba -- Gentoo/MIPS Team Lead Gentoo Foundation Board of Trustees "Such is oft the course of deeds that move the wheels of the world: small hands do them because they must, while the eyes of the great are elsewhere." --Elrond --------------030705090300090608010901 Content-Type: application/x-gzip; name="gcc-3.4.x-mips-add-march-r10k.patch.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="gcc-3.4.x-mips-add-march-r10k.patch.gz" H4sICDbXwEICA2djYy0zLjQueC1taXBzLWFkZC1tYXJjaC1yMTBrLnBhdGNoANVaa3PayBL9 DL+io6qkTBiIRk+Ea282u463XJVXxd69H5IUJUuD0UZIRBJ2fLfy329Pj3gZEGBI4nXJQsxL 3ae7z/TMEEb9PrTe+ONsBFdB0DLbVpu30yy6eoZfnwVp0sfHYTTK6dYOZq3WNKi3Wq3thqoZ um61dKdldED3unanaxltffIHLd3S9Xqz2dz4ynKgTkv3wDC6pts1eNvrmJ7pcc8oB/r1V2i5 usscaMoPF7AAh8oLyItsHBQgx+oFo3EvSvrp4rc61AHg2VN4ffbuHM7+gqfPZME/oGUdFFVj 8O79299fnp+/fd97L0sYWPCN1ZuqDdeXGlFR2UqNdJ3ZS63sFY2spUbWciN7qZE9bSSB8Cyd SyTw02CehIL0jfJ8L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