[Qemu-devel] [PATCH 0/7] target/ppc: Some cleanups to fp exceptions

Richard Henderson posted 7 patches 7 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181011234159.11496-1-richard.henderson@linaro.org
Test docker-clang@ubuntu passed
Test checkpatch passed
Test docker-quick@centos7 passed
Test docker-mingw@fedora passed
target/ppc/fpu_helper.c | 661 ++++++++++++++++++++--------------------
1 file changed, 327 insertions(+), 334 deletions(-)
[Qemu-devel] [PATCH 0/7] target/ppc: Some cleanups to fp exceptions
Posted by Richard Henderson 7 years ago
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


Re: [Qemu-devel] [PATCH 0/7] target/ppc: Some cleanups to fp exceptions
Posted by David Gibson 7 years ago
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