/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:38:16 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:21 _$11$DUA933:[BUILD.SDL]STARDEFQZ.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $VPSRDEF ***/ #ifndef __VPSRDEF_LOADED #define __VPSRDEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /*+ */ /* Vector Processor Status Register field definitions */ /*- */ #define VPSR$M_VEN 0x1 #define VPSR$M_RST 0x2 #define VPSR$M_STS 0x4 #define VPSR$M_RLD 0x8 #define VPSR$M_MF 0x20 #define VPSR$M_PMF 0x40 #define VPSR$M_AEX 0x80 #define VPSR$M_IMP 0x1000000 #define VPSR$M_IVO 0x2000000 #define VPSR$M_BSY 0x80000000 union vpsrdef { __struct { unsigned vpsr$v_ven : 1; /*Enabled */ unsigned vpsr$v_rst : 1; /*Reset */ unsigned vpsr$v_sts : 1; /*State store */ unsigned vpsr$v_rld : 1; /*State reload */ unsigned vpsrdef$$_fill_1 : 1; /*Must be zero */ unsigned vpsr$v_mf : 1; /*Memory fault */ unsigned vpsr$v_pmf : 1; /*Pending memory fault */ unsigned vpsr$v_aex : 1; /*Arithmetic exception */ unsigned vpsrdef$$_fill_2 : 16; /*Must be zero */ unsigned vpsr$v_imp : 1; /*Implementation-specific error */ unsigned vpsr$v_ivo : 1; /*Illegal vector opcode */ unsigned vpsrdef$$_fill_3 : 5; /*Must be zero */ unsigned vpsr$v_bsy : 1; /*Busy */ } vpsr$r_vpsrdef_bits; } ; #if !defined(__VAXC) && !defined(VAXC) #define vpsr$v_ven vpsr$r_vpsrdef_bits.vpsr$v_ven #define vpsr$v_rst vpsr$r_vpsrdef_bits.vpsr$v_rst #define vpsr$v_sts vpsr$r_vpsrdef_bits.vpsr$v_sts #define vpsr$v_rld vpsr$r_vpsrdef_bits.vpsr$v_rld #define vpsr$v_mf vpsr$r_vpsrdef_bits.vpsr$v_mf #define vpsr$v_pmf vpsr$r_vpsrdef_bits.vpsr$v_pmf #define vpsr$v_aex vpsr$r_vpsrdef_bits.vpsr$v_aex #define vpsr$v_imp vpsr$r_vpsrdef_bits.vpsr$v_imp #define vpsr$v_ivo vpsr$r_vpsrdef_bits.vpsr$v_ivo #define vpsr$v_bsy vpsr$r_vpsrdef_bits.vpsr$v_bsy #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __VPSRDEF_LOADED */