mbox series

[0/7] target/ppc: Some cleanups to fp exceptions

Message ID 20181011234159.11496-1-richard.henderson@linaro.org
Headers show
Series target/ppc: Some cleanups to fp exceptions | expand

Message

Richard Henderson Oct. 11, 2018, 11:41 p.m. UTC
There are a few bugs here, primarily wrt usage of GETPC().
But there is opportunity to share more code between paths
that operate on different floating point types.

This is not everything that could be done, but it's a good start.
Better for this not to hang out on a branch for another release.


r~


Richard Henderson (7):
  target/ppc: Split up float_invalid_op_excp
  target/ppc: Remove float_check_status
  target/ppc: Introduce fp number classification
  target/ppc: Split out float_invalid_op_addsub
  target/ppc: Split out float_invalid_op_mul
  target/ppc: Split out float_invalid_op_div
  target/ppc: Split out float_invalid_cvt

 target/ppc/fpu_helper.c | 661 ++++++++++++++++++++--------------------
 1 file changed, 327 insertions(+), 334 deletions(-)

-- 
2.17.1

Comments

David Gibson Oct. 12, 2018, 1:14 a.m. UTC | #1
On Thu, Oct 11, 2018 at 04:41:52PM -0700, Richard Henderson wrote:
1;5202;0c> There are a few bugs here, primarily wrt usage of GETPC().
> But there is opportunity to share more code between paths

> that operate on different floating point types.

> 

> This is not everything that could be done, but it's a good start.

> Better for this not to hang out on a branch for another release.


Applied to ppc-for-3.1, thanks.

> 

> 

> r~

> 

> 

> Richard Henderson (7):

>   target/ppc: Split up float_invalid_op_excp

>   target/ppc: Remove float_check_status

>   target/ppc: Introduce fp number classification

>   target/ppc: Split out float_invalid_op_addsub

>   target/ppc: Split out float_invalid_op_mul

>   target/ppc: Split out float_invalid_op_div

>   target/ppc: Split out float_invalid_cvt

> 

>  target/ppc/fpu_helper.c | 661 ++++++++++++++++++++--------------------

>  1 file changed, 327 insertions(+), 334 deletions(-)

> 


-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson