From owner-freebsd-mips@FreeBSD.ORG Tue Mar 13 14:50:53 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4678E106564A for ; Tue, 13 Mar 2012 14:50:53 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id CA28C8FC12 for ; Tue, 13 Mar 2012 14:50:52 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so751291wib.13 for ; Tue, 13 Mar 2012 07:50:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=Pfd0Ph76uknJjSvdtoUf00c5m7rI1/7cC0ZYkvMsmuA=; b=E/pB5G9+Am+t1DH8Y7u/AsN1QugZal8HC3Ip1Z0alPeUxhbNB+b17AQrT9YVeaX3B2 TOvGHpUJRKWaEvv1fEKJeSdRQIoh1J3skJ4Aisumvp5Nm7ugnuIoil8dUS8bp+ngjj1n FRv+X5txj3c6mHZZ922Bode6Ljd/CySFFTC6r0geIy11DIbEoOY089KqP/BluYkrd640 NvPtlWi/rH5iRLebJvGDh99NBeNzbRBZ8so6DQugnkkF4gcSC2a7D+tV98vHHXcCpgis enqyz9a/GcS+r3iT/7v2VLiZDe+33dL2hQ9/W356g8KUrH9WTLne/9U6Tfad1bdRdQ25 F/cw== Received: by 10.180.104.137 with SMTP id ge9mr8052686wib.20.1331650251792; Tue, 13 Mar 2012 07:50:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.96.231 with HTTP; Tue, 13 Mar 2012 07:50:31 -0700 (PDT) In-Reply-To: References: From: Juli Mallett Date: Tue, 13 Mar 2012 07:50:31 -0700 Message-ID: To: "Jayachandran C." Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQl3tWd1RRDZzB6nlOt8FIv/nKWMqwWNqkbRYn8ZiVNthLCRzxXYfrzgyEjsX2Cfnh2D6ZWk Cc: "freebsd-mips@FreeBSD.org" Subject: Re: Enforcing soft-float. X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2012 14:50:53 -0000 On Tue, Mar 13, 2012 at 07:41, Jayachandran C. w= rote: > On Tue, Mar 13, 2012 at 12:12 PM, Juli Mallett = wrote: >> Greetings, people of mips@, >> >> I think that at least with 64-bit kernels, MipsFPTrap should kill the >> running program. =C2=A0Does anyone object to this? =C2=A0The FP code is = not even >> remotely 64-bit safe. =C2=A0I don't care/dare to correct it. =C2=A0Does = anyone? > > Looks like we share this code with NetBSD. I have not looked in > detail, but the NetBSD code seems to have the ifdefs for n64. Any idea > if we can just import it? We could, and we could update MipsFPTrap and friends from NetBSD (or even do it by hand), but that's not something I want to do since I don't need to run binaries compiled to use hardware floating point.