target-ppc: SPR_BOOKE_ESR not set on FP exceptions
commit0ee604abce61ab091b00ced40610866e02f55790
authorAaron Larson <alarson@ddci.com>
Thu, 22 Jun 2017 00:03:08 +0000 (21 17:03 -0700)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 11 Jul 2017 01:04:01 +0000 (11 11:04 +1000)
treee089f2a2f2ae48eec3fe6d2545042132d042bf12
parente806b4db1477a1c6bfda7bba28c7f26c47f18e1e
target-ppc: SPR_BOOKE_ESR not set on FP exceptions

Properly set the book E exception syndrome register when a floating
point exception occurs.

Currently on a book E processor, the POWERPC_EXCP_FP exception handler
fails to set "env->spr[SPR_BOOKE_ESR] = ESR_FP;" as required by the
book E specification.

Signed-off-by: Aaron Larson <alarson@ddci.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/excp_helper.c