VECBK Back to Index page
 
Prolog 
Control Block Contents 
   VECBK DSECT
Storage Layout 
Cross Reference (Contains links to field and bit definitions)
Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM.


  VECBK Prolog Top of page
 
 NAME       : HCPVECBK
 DESCRIPTION: Vector Register Block
 DSECT      : VECBK
 FUNCTION   : Maps the block that holds guest vector or
              floating point registers.
  otes    - When a guest logs on, an FPRBK is allocated
              to save his floating-point registers.
              If the guest uses vector instructions from the
              Vector Facility for z/VM then the FPRBK will
              be released and replaced with a VECBK which
              has enough room to hold the guest's vector
              registers.
              The architecture defines the floating point
              registers as overlaying the high order 64 bits
              of vector registers 0-15.
              It is possible that the guest will switch
              back to using floating-point registers,
              so the VECBK has a separate mapping for
              vector registers and  floating-point
              registers.
              Although this control block provides a
              mapping of the floating-point and vector
              register save area, the actual mapping may
              differ depending on whether the vector
              facility is installed and on the length
              of the vector registers supported by the
              machine.  CP only supports a vector
              register length of 2DWs now, however,
              different VR lengths may be supported in
              the future.  For this reason, use VMDVRLEN
              as the length of the VECFPRnn fields (and
              thus for the distance between successive
              VECFPRnn fields).
              If the vector facility is not installed then
              VMDVRLEN is 0, the FPRs are 8 bytes each and
              sequential.  They are mapped by the FPRBK.
              This block is referenced via the address in
              SIEGVRD.  It's size is determined by the
              number of vector registers (32) and the
              length of each vector register (2DW).
 LOCATED BY : VMDFPVRB field in the VMDBK
              SIEGVRD field in the SIEBK
 CREATED BY : HCPGIR when the FPRBK is replaced with a
              VECBK.
 DELETED BY : HCPUSP at logoff time.
 SERIALIZED : I-stream
  elocation Considerations-
              This control block is relocated as part of a live
              guest relocation (LGR).  The bits and fields that
              need to be relocated are defined in the
              $VMDFPRS field of the LGRVMDBK.  Additionally, an RDO
              is passed to the target that contains the vector
              registers.  Whenever changes
              are made to this control block, consideration must
              be given to any effects these changes will have on
              a relocation.  If any new fields or bits are
              defined, they may need to be relocated.  If
              existing bits or fields are changed, corresponding
              modifications may be required in the LGR version of
              this control block.  Consider also the effects of
              these changes on a relocation involving a back-level
              release of CP.
 
 
  VECBK Control Block Content Top of page
 

 VECBK DSECT Top of page
Hex Dec Type/Val Lng Label (dup) Comments ---- ---- --------- ---- -------------- -------- 0000 0 Structure VECBK Vector Register Block 0000 0 Bitstring 512 VECVRS (0) Vector registers 0000 0 Bitstring 16 VECVR00 (0) VR00 0000 0 Dbl-Word 8 VECFPR00 FPR00/VR00 Bits 0-63 0008 8 Dbl-Word 8 * VR00 Bits 64-127 0010 16 Bitstring 16 VECVR01 (0) VR01 0010 16 Dbl-Word 8 VECFPR01 FPR01/VR01 Bits 0-63 0018 24 Dbl-Word 8 * VR01 Bits 64-127 0020 32 Bitstring 16 VECVR02 (0) VR02 0020 32 Dbl-Word 8 VECFPR02 FPR02/VR02 Bits 0-63 0028 40 Dbl-Word 8 * VR02 Bits 64-127 0030 48 Bitstring 16 VECVR03 (0) VR03 0030 48 Dbl-Word 8 VECFPR03 FPR03/VR03 Bits 0-63 0038 56 Dbl-Word 8 * VR03 Bits 64-127 0040 64 Bitstring 16 VECVR04 (0) VR04 0040 64 Dbl-Word 8 VECFPR04 FPR04/VR04 Bits 0-63 0048 72 Dbl-Word 8 * VR04 Bits 64-127 0050 80 Bitstring 16 VECVR05 (0) VR05 0050 80 Dbl-Word 8 VECFPR05 FPR05/VR05 Bits 0-63 0058 88 Dbl-Word 8 * VR05 Bits 64-127 0060 96 Bitstring 16 VECVR06 (0) VR06 0060 96 Dbl-Word 8 VECFPR06 FPR06/VR06 Bits 0-63 0068 104 Dbl-Word 8 * VR06 Bits 64-127 0070 112 Bitstring 16 VECVR07 (0) VR07 0070 112 Dbl-Word 8 VECFPR07 FPR07/VR07 Bits 0-63 0078 120 Dbl-Word 8 * VR07 Bits 64-127 0080 128 Bitstring 16 VECVR08 (0) VR08 0080 128 Dbl-Word 8 VECFPR08 FPR08/VR08 Bits 0-63 0088 136 Dbl-Word 8 * VR08 Bits 64-127 0090 144 Bitstring 16 VECVR09 (0) VR09 0090 144 Dbl-Word 8 VECFPR09 FPR09/VR09 Bits 0-63 0098 152 Dbl-Word 8 * VR09 Bits 64-127 00A0 160 Bitstring 16 VECVR10 (0) VR10 00A0 160 Dbl-Word 8 VECFPR10 FPR10/VR10 Bits 0-63 00A8 168 Dbl-Word 8 * VR10 Bits 64-127 00B0 176 Bitstring 16 VECVR11 (0) VR11 00B0 176 Dbl-Word 8 VECFPR11 FPR11/VR11 Bits 0-63 00B8 184 Dbl-Word 8 * VR11 Bits 64-127 00C0 192 Bitstring 16 VECVR12 (0) VR12 00C0 192 Dbl-Word 8 VECFPR12 FPR12/VR12 Bits 0-63 00C8 200 Dbl-Word 8 * VR12 Bits 64-127 00D0 208 Bitstring 16 VECVR13 (0) VR13 00D0 208 Dbl-Word 8 VECFPR13 FPR13/VR13 Bits 0-63 00D8 216 Dbl-Word 8 * VR13 Bits 64-127 00E0 224 Bitstring 16 VECVR14 (0) VR14 00E0 224 Dbl-Word 8 VECFPR14 FPR14/VR14 Bits 0-63 00E8 232 Dbl-Word 8 * VR14 Bits 64-127 00F0 240 Bitstring 16 VECVR15 (0) VR15 00F0 240 Dbl-Word 8 VECFPR15 FPR15/VR15 Bits 0-63 00F8 248 Dbl-Word 8 * VR15 Bits 64-127 0100 256 Bitstring 16 VECVR16 VR16 0110 272 Bitstring 16 VECVR17 VR17 0120 288 Bitstring 16 VECVR18 VR18 0130 304 Bitstring 16 VECVR19 VR19 0140 320 Bitstring 16 VECVR20 VR20 0150 336 Bitstring 16 VECVR21 VR21 0160 352 Bitstring 16 VECVR22 VR22 0170 368 Bitstring 16 VECVR23 VR23 0180 384 Bitstring 16 VECVR24 VR24 0190 400 Bitstring 16 VECVR25 VR25 01A0 416 Bitstring 16 VECVR26 VR26 01B0 432 Bitstring 16 VECVR27 VR27 01C0 448 Bitstring 16 VECVR28 VR28 01D0 464 Bitstring 16 VECVR29 VR29 01E0 480 Bitstring 16 VECVR30 VR30 01F0 496 Bitstring 16 VECVR31 VR31
 
 
  VECBK Storage Layout Top of page
 
          
*** VECBK - Vector Register Block
*
*     +-------------------------------------------------------+
*   0 |                       VECFPR00                        |
*     +-------------------------------------------------------+
*   8 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  10 |                       VECFPR01                        |
*     +-------------------------------------------------------+
*  18 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  20 |                       VECFPR02                        |
*     +-------------------------------------------------------+
*  28 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  30 |                       VECFPR03                        |
*     +-------------------------------------------------------+
*  38 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  40 |                       VECFPR04                        |
*     +-------------------------------------------------------+
*  48 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  50 |                       VECFPR05                        |
*     +-------------------------------------------------------+
*  58 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  60 |                       VECFPR06                        |
*     +-------------------------------------------------------+
*  68 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  70 |                       VECFPR07                        |
*     +-------------------------------------------------------+
*  78 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  80 |                       VECFPR08                        |
*     +-------------------------------------------------------+
*  88 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  90 |                       VECFPR09                        |
*     +-------------------------------------------------------+
*  98 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  A0 |                       VECFPR10                        |
*     +-------------------------------------------------------+
*  A8 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  B0 |                       VECFPR11                        |
*     +-------------------------------------------------------+
*  B8 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  C0 |                       VECFPR12                        |
*     +-------------------------------------------------------+
*  C8 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  D0 |                       VECFPR13                        |
*     +-------------------------------------------------------+
*  D8 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  E0 |                       VECFPR14                        |
*     +-------------------------------------------------------+
*  E8 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  F0 |                       VECFPR15                        |
*     +-------------------------------------------------------+
*  F8 |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
* 100 |                       VECVR16                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 110 |                       VECVR17                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 120 |                       VECVR18                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 130 |                       VECVR19                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 140 |                       VECVR20                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 150 |                       VECVR21                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 160 |                       VECVR22                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 170 |                       VECVR23                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 180 |                       VECVR24                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 190 |                       VECVR25                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 1A0 |                       VECVR26                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 1B0 |                       VECVR27                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 1C0 |                       VECVR28                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 1D0 |                       VECVR29                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 1E0 |                       VECVR30                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 1F0 |                       VECVR31                         |
*     |                                                       |
*     +-------------------------------------------------------+
* 200
*
*** VECBK - Vector Register Block
 
 
  VECBK Cross Reference Top of page
 
 
Symbol         Dspl Value
-------------- ---- -----
VECFPR00       0000
VECFPR01       0010
VECFPR02       0020
VECFPR03       0030
VECFPR04       0040
VECFPR05       0050
VECFPR06       0060
VECFPR07       0070
VECFPR08       0080
VECFPR09       0090
VECFPR10       00A0
VECFPR11       00B0
VECFPR12       00C0
VECFPR13       00D0
VECFPR14       00E0
VECFPR15       00F0
VECVRS         0000
VECVR00        0000
VECVR01        0010
VECVR02        0020
VECVR03        0030
VECVR04        0040
VECVR05        0050
VECVR06        0060
VECVR07        0070
VECVR08        0080
VECVR09        0090
VECVR10        00A0
VECVR11        00B0
VECVR12        00C0
VECVR13        00D0
VECVR14        00E0
VECVR15        00F0
VECVR16        0100
VECVR17        0110
VECVR18        0120
VECVR19        0130
VECVR20        0140
VECVR21        0150
VECVR22        0160
VECVR23        0170
VECVR24        0180
VECVR25        0190
VECVR26        01A0
VECVR27        01B0
VECVR28        01C0
VECVR29        01D0
VECVR30        01E0
VECVR31        01F0
 
This information is based on z/VM 7.3.0 Last updated on 22 Jun 2022 at 15:57:39 EDT.
Copyright IBM Corporation, 1990, 2022