/sys$common/syshlp/helplib.hlb
MACRO, VAX MACRO Assembler, Vector Instructions, VSUBL

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

      Vector Integer Subtract

    Format:

      vector - vector:

      VVSUBL    [/V[0|1]]    Va, Vb, Vc

      scalar - vector:

      VSSUBL    [/V[0|1]]   scalar, Vb, Vc

    Architecture

    Format
    vector - vector:   opcode   cntrl.rw

    scalar - vector:   opcode   cntrl.rw, min.rl
    opcodes

    88FD    VVSUBL    Vector Vector Subtract Longword

    89FD    VSSUBL    Vector Scalar Subtract Longword

    vector_control_word

             1 1 1 1 1
             5 4 3 2 1     8 7     4 3     0
            +-+-+-+-+-------+-------+-------+
            |M|M|E| |  Va   |       |       |
            |O|T|X|0|  or   |  Vb   |  Vc   |
            |E|F|C| |  0    |       |       |
            +-+-+-+-+-------+-------+-------+
    exceptions

       integer overflow

    operation
      FOR i <- 0 TO VLR-1
        IF {{MOE EQL 0} OR {{MOE EQL 1} AND {VMR<i> EQL MTF}}} THEN
          BEGIN
            IF VVSUBL THEN
               Vc[i]<31:0> <- Va[i]<31:0> - Vb[i]<31:0>
            IF VSSUBL THEN
               Vc[i]<31:0> <- min  - Vb[i]<31:0>
          END
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.