Home | History | Annotate | Download | only in msa
      1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa -show-encoding | FileCheck %s
      2 #
      3 # CHECK:        andi.b  $w2, $w29, 48           # encoding: [0x78,0x30,0xe8,0x80]
      4 # CHECK:        bmnzi.b $w6, $w22, 126          # encoding: [0x78,0x7e,0xb1,0x81]
      5 # CHECK:        bmzi.b  $w27, $w1, 88           # encoding: [0x79,0x58,0x0e,0xc1]
      6 # CHECK:        bseli.b $w29, $w3, 189          # encoding: [0x7a,0xbd,0x1f,0x41]
      7 # CHECK:        nori.b  $w1, $w17, 56           # encoding: [0x7a,0x38,0x88,0x40]
      8 # CHECK:        ori.b   $w26, $w20, 135         # encoding: [0x79,0x87,0xa6,0x80]
      9 # CHECK:        shf.b   $w19, $w30, 105         # encoding: [0x78,0x69,0xf4,0xc2]
     10 # CHECK:        shf.h   $w17, $w8, 76           # encoding: [0x79,0x4c,0x44,0x42]
     11 # CHECK:        shf.w   $w14, $w3, 93           # encoding: [0x7a,0x5d,0x1b,0x82]
     12 # CHECK:        xori.b  $w16, $w10, 20          # encoding: [0x7b,0x14,0x54,0x00]
     13 
     14                 andi.b  $w2, $w29, 48
     15                 bmnzi.b $w6, $w22, 126
     16                 bmzi.b  $w27, $w1, 88
     17                 bseli.b $w29, $w3, 189
     18                 nori.b  $w1, $w17, 56
     19                 ori.b   $w26, $w20, 135
     20                 shf.b   $w19, $w30, 105
     21                 shf.h   $w17, $w8, 76
     22                 shf.w   $w14, $w3, 93
     23                 xori.b  $w16, $w10, 20
     24