From owner-svn-src-head@freebsd.org Tue Jun 14 05:38:21 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A66FAF24CA; Tue, 14 Jun 2016 05:38:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 392CA2E93; Tue, 14 Jun 2016 05:38:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x229.google.com with SMTP id e5so59193686ith.0; Mon, 13 Jun 2016 22:38:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ah2z3l08QjIA4IO/AEQ2z0TAvoO1GWAwU8UNGntj3rg=; b=mZTasoqq+VyVkzFJE5aozu4ZqJ4AwZnSnvFOyoF74JYPee8DYQSiB9PLMwxZ2M3OZ8 p3atETTC3HwNkro3HrlqM+1qt3KP27asiJdawMcOedZdf0UMQFh19wamTHk0oVD2tpH0 FfVwTMr5D2HEjxIDj9OmIW776Oh4Db8Xaxfd2tkVc287sZjWK4XGiWS/krTE+BbEK+k2 ih9oKQw9fWkT9DsuBDUKDS/phuPusKJMHQ/K8aJeERNKUcl8GyNR8fAdrNufpCqPsYHP bG+vjRizmq31zl0X300EgKVY6FcMkrjrCxB7dWJnSuxZFvbBlZXcYqeiHFV1+pE7lhLY x3HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ah2z3l08QjIA4IO/AEQ2z0TAvoO1GWAwU8UNGntj3rg=; b=IYY0fPlqeHrbmrW28abnYxao5KC1F+B7g31ReLC/qUQZE6yuZ14csYGMWNLLHlLBnY rWhSNrt/D0c5DfEorfhaEO1eCJSuLkv5tZet8ogonmpADTcegVeWbEiL8jAwd8Q2q3Eq zYW69LULSkXBZZE7Hdmzw7j/y/cLRJvTVRiEXpXQVwQgdB0ZAmrLrBsN5lVqRR1emShl Wr411rXdUO3R6Z61V1Wa8buJNFAZvzLqPTkltDwjjmEsrp70XbAjozRwgjrIareiZMsR oKWTVeP2vIb3tsF3feV8vRYhx/58JTrBYGeDZXco1PFS578gzOGcCKeAzsak3Pm0yRko FymQ== X-Gm-Message-State: ALyK8tKAUhQ9u+PMPr4bjLuWIZ+evT5R5WuWSuGilUZknCzbyQRzVKJbEApmRM3GdIDq0drv+F4z1HWeLY7Seg== X-Received: by 10.36.51.15 with SMTP id k15mr5039536itk.80.1465882700619; Mon, 13 Jun 2016 22:38:20 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.113.3 with HTTP; Mon, 13 Jun 2016 22:38:19 -0700 (PDT) In-Reply-To: <20160613213633.7fd1631a@kan> References: <201606130317.u5D3H0Kw091894@repo.freebsd.org> <20160613213633.7fd1631a@kan> From: Adrian Chadd Date: Mon, 13 Jun 2016 22:38:19 -0700 X-Google-Sender-Auth: 7N1OPYKcdG-9boisCA9c8A_2JXE Message-ID: Subject: Re: svn commit: r301849 - head/sys/mips/mips To: Alexander Kabaev Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2016 05:38:21 -0000 I'll test that now. Thanks! -a On 13 June 2016 at 18:36, Alexander Kabaev wrote: > On Mon, 13 Jun 2016 03:17:00 +0000 (UTC) > Adrian Chadd wrote: > >> Author: adrian >> Date: Mon Jun 13 03:17:00 2016 >> New Revision: 301849 >> URL: https://svnweb.freebsd.org/changeset/base/301849 >> >> Log: >> [mips] set hardfloat for fpu instruction generation for >> gcc/binutils 5.x >> This allows -HEAD to be compiled again using the gcc-5 mips port >> compiler. >> Reviewed by: imp >> Approved by: re@ >> >> Modified: >> head/sys/mips/mips/swtch.S >> >> Modified: head/sys/mips/mips/swtch.S >> ============================================================================== >> --- head/sys/mips/mips/swtch.S Mon Jun 13 03:03:08 2016 >> (r301848) +++ head/sys/mips/mips/swtch.S Mon Jun 13 03:17:00 >> 2016 (r301849) @@ -400,6 +400,7 @@ END(cpu_switch) >> * >> *---------------------------------------------------------------------------- >> */ >> +.set hardfloat >> LEAF(MipsSwitchFPState) >> mfc0 t1, MIPS_COP_0_STATUS # Save old SR >> li t0, MIPS_SR_COP_1_BIT # enable the >> coprocessor > > Hi, > > https://github.com/akabaev/freebsd/commit/5735b8108c8831a5a649815318391789e977a198 > > is a bit more complete version that only enables hardfloat in routines > that need it, not in random place of the file and for the rest of it. > > -- > Alexander Kabaev