Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id BA4E39FB351 for ; Sat, 14 Apr 2007 19:17:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 70950-09 for ; Sat, 14 Apr 2007 19:17:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id A90059FB2DC for ; Sat, 14 Apr 2007 19:17:08 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l3EMH5Ju023548; Sat, 14 Apr 2007 18:17:06 -0400 (EDT) To: Martin Pitt cc: pgsql-ports@postgresql.org, Kazuhiro Inaoka Subject: Re: m32r tas() implementation In-reply-to: <20070414185459.GF5920@piware.de> References: <20070414185459.GF5920@piware.de> Comments: In-reply-to Martin Pitt message dated "Sat, 14 Apr 2007 20:54:59 +0200" Date: Sat, 14 Apr 2007 18:17:05 -0400 Message-ID: <23547.1176589025@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/3 X-Sequence-Number: 2544 Martin Pitt writes: > Kazuhiro Inaoka recently sent me a tas() implementation for the m32r > architecture [1]. It applies cleanly to 8.2.3 and seems otherwise > harmless. Do you consider applying it upstream? The patch seems strongly dependent on an OS as well as a chip, since is hardly to be expected to exist everywhere. Therefore, it is at least short an #ifdef or so. More generally I wonder if it's not going at it backwards: if exists, could we use it regardless of CPU type? regards, tom lane