Re: svn commit: r301849 - head/sys/mips/mips

2016-06-13 Thread Adrian Chadd
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 + (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.SMon 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)
>>   mfc0t1, 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
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r301849 - head/sys/mips/mips

2016-06-13 Thread Alexander Kabaev
On Mon, 13 Jun 2016 03:17:00 + (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.SMon 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)
>   mfc0t1, 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


pgpIVPympkI4f.pgp
Description: Цифровая подпись OpenPGP


svn commit: r301849 - head/sys/mips/mips

2016-06-12 Thread Adrian Chadd
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)
mfc0t1, MIPS_COP_0_STATUS   # Save old SR
li  t0, MIPS_SR_COP_1_BIT   # enable the coprocessor
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"