Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2015 12:55:55 +0300
From:      Stefan Parvu <sparvu@kronometrix.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Andrew Turner <andrew@fubar.geek.nz>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: compile kernel with hard float support
Message-ID:  <560D032B.7030903@kronometrix.org>
In-Reply-To: <20151001093550.GQ11284@kib.kiev.ua>
References:  <560CF28F.4000908@kronometrix.org> <20151001101825.44341b74@bender> <560CFBCA.5010001@kronometrix.org> <20151001093550.GQ11284@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

> The following patch worked for me WRT perl t/opbasic/arith.t test 175
> (perl git blead checkout).
> 
> diff --git a/sys/arm/arm/vm_machdep.c b/sys/arm/arm/vm_machdep.c
> index 223ad96..895a14c 100644
> --- a/sys/arm/arm/vm_machdep.c
> +++ b/sys/arm/arm/vm_machdep.c
> @@ -134,7 +134,7 @@ cpu_fork(register struct thread *td1, register struct proc *p2,
>  	pcb2->pcb_regs.sf_sp = STACKALIGN(td2->td_frame);
>  
>  	pcb2->pcb_vfpcpu = -1;
> -	pcb2->pcb_vfpstate.fpscr = VFPSCR_DN | VFPSCR_FZ;
> +	pcb2->pcb_vfpstate.fpscr = VFPSCR_DN;
>  
>  	tf = td2->td_frame;
>  	tf->tf_spsr &= ~PSR_C;


many thanks. I will try the patch.




-- 
Stefan Parvu <sparvu@kronometrix.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?560D032B.7030903>