VMS Help
MACRO, VAX MACRO Assembler, Vector Instructions, VMULL

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

      Vector Integer Multiply

    Format:

      vector * vector:

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

      scalar * vector:

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

    Architecture

    Format
    vector * vector:   opcode   cntrl.rw

    scalar * vector:   opcode   cntrl.rw, mulr.rl
    opcodes

    A0FD    VVMULL    Vector Vector Multiply Longword

    A1FD    VSMULL    Vector Scalar Multiply 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 VVMULL THEN
               Vc[i]<31:0> <- Va[i]<31:0> * Vb[i]<31:0>
            IF VSMULL THEN
               Vc[i]<31:0> <- mulr * 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.