mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
Add vscr access macros.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6158 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e40393399a
commit
6fa724a34a
@ -524,6 +524,13 @@ enum {
|
||||
#define fpscr_eex (((env->fpscr) >> FPSCR_XX) & ((env->fpscr) >> FPSCR_XE) & \
|
||||
0x1F)
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Vector status and control register */
|
||||
#define VSCR_NJ 16 /* Vector non-java */
|
||||
#define VSCR_SAT 0 /* Vector saturation */
|
||||
#define vscr_nj (((env->vscr) >> VSCR_NJ) & 0x1)
|
||||
#define vscr_sat (((env->vscr) >> VSCR_SAT) & 0x1)
|
||||
|
||||
/*****************************************************************************/
|
||||
/* The whole PowerPC CPU context */
|
||||
#define NB_MMU_MODES 3
|
||||
|
Loading…
Reference in New Issue
Block a user