]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc/booke: Handle misaligned floating point loads/stores as on AIM
authorJustin Hibbits <jhibbits@FreeBSD.org>
Wed, 26 Jun 2019 01:14:39 +0000 (01:14 +0000)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Wed, 26 Jun 2019 01:14:39 +0000 (01:14 +0000)
commit088c26aee87fb3b994fea2758af66677331a4c3f
tree838b55acbde94e9f071dea5bd079b25708876053
parent65f07d9976c0e36765bea5ecb54a17baebf0d671
powerpc/booke: Handle misaligned floating point loads/stores as on AIM

Misaligned floating point loads and stores are already handled for AIM, but
use the DSISR to obtain the necessary data.  Book-E does not have the DSISR,
so these fixups are not performed, leading to a SIGBUS on misaligned FP
loads or stores.  Obtain the necessary data on the Book-E side, similar to
how is done for SPE.

MFC after: 1 week
sys/powerpc/include/trap.h
sys/powerpc/powerpc/trap.c