PPC: E500: Inject SPE exception on invalid SPE access
authorAlexander Graf <agraf@suse.de>
Tue, 23 Aug 2011 04:55:43 +0000 (06:55 +0200)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Tue, 23 Aug 2011 20:24:40 +0000 (22:24 +0200)
commitfc32b0deb82a5fb47683bfdbce088eb818f70e07
tree790b39e2a72dce9606cce0ff7c0e6d782c41bc16
parentb4a14b3c495925cdefe2222854a0609b56b212e5
PPC: E500: Inject SPE exception on invalid SPE access

When accessing an SPE instruction despite it being not available,
throw an SPE exception instead of an APU exception. That way the
guest knows what's going on and actually uses SPE.

Reported-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
target-ppc/translate.c