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:  cfcmsa       $1, $0                  # encoding: [0x78,0x7e,0x00,0x59]
      4 #CHECK:  cfcmsa       $1, $0                  # encoding: [0x78,0x7e,0x00,0x59]
      5 #CHECK:  cfcmsa       $2, $1                  # encoding: [0x78,0x7e,0x08,0x99]
      6 #CHECK:  cfcmsa       $2, $1                  # encoding: [0x78,0x7e,0x08,0x99]
      7 #CHECK:  cfcmsa       $3, $2                  # encoding: [0x78,0x7e,0x10,0xd9]
      8 #CHECK:  cfcmsa       $3, $2                  # encoding: [0x78,0x7e,0x10,0xd9]
      9 #CHECK:  cfcmsa       $4, $3                  # encoding: [0x78,0x7e,0x19,0x19]
     10 #CHECK:  cfcmsa       $4, $3                  # encoding: [0x78,0x7e,0x19,0x19]
     11 #CHECK:  cfcmsa       $5, $4                  # encoding: [0x78,0x7e,0x21,0x59]
     12 #CHECK:  cfcmsa       $5, $4                  # encoding: [0x78,0x7e,0x21,0x59]
     13 #CHECK:  cfcmsa       $6, $5                  # encoding: [0x78,0x7e,0x29,0x99]
     14 #CHECK:  cfcmsa       $6, $5                  # encoding: [0x78,0x7e,0x29,0x99]
     15 #CHECK:  cfcmsa       $7, $6                  # encoding: [0x78,0x7e,0x31,0xd9]
     16 #CHECK:  cfcmsa       $7, $6                  # encoding: [0x78,0x7e,0x31,0xd9]
     17 #CHECK:  cfcmsa       $8, $7                  # encoding: [0x78,0x7e,0x3a,0x19]
     18 #CHECK:  cfcmsa       $8, $7                  # encoding: [0x78,0x7e,0x3a,0x19]
     19 
     20 #CHECK:  ctcmsa       $0, $1                  # encoding: [0x78,0x3e,0x08,0x19]
     21 #CHECK:  ctcmsa       $0, $1                  # encoding: [0x78,0x3e,0x08,0x19]
     22 #CHECK:  ctcmsa       $1, $2                  # encoding: [0x78,0x3e,0x10,0x59]
     23 #CHECK:  ctcmsa       $1, $2                  # encoding: [0x78,0x3e,0x10,0x59]
     24 #CHECK:  ctcmsa       $2, $3                  # encoding: [0x78,0x3e,0x18,0x99]
     25 #CHECK:  ctcmsa       $2, $3                  # encoding: [0x78,0x3e,0x18,0x99]
     26 #CHECK:  ctcmsa       $3, $4                  # encoding: [0x78,0x3e,0x20,0xd9]
     27 #CHECK:  ctcmsa       $3, $4                  # encoding: [0x78,0x3e,0x20,0xd9]
     28 #CHECK:  ctcmsa       $4, $5                  # encoding: [0x78,0x3e,0x29,0x19]
     29 #CHECK:  ctcmsa       $4, $5                  # encoding: [0x78,0x3e,0x29,0x19]
     30 #CHECK:  ctcmsa       $5, $6                  # encoding: [0x78,0x3e,0x31,0x59]
     31 #CHECK:  ctcmsa       $5, $6                  # encoding: [0x78,0x3e,0x31,0x59]
     32 #CHECK:  ctcmsa       $6, $7                  # encoding: [0x78,0x3e,0x39,0x99]
     33 #CHECK:  ctcmsa       $6, $7                  # encoding: [0x78,0x3e,0x39,0x99]
     34 #CHECK:  ctcmsa       $7, $8                  # encoding: [0x78,0x3e,0x41,0xd9]
     35 #CHECK:  ctcmsa       $7, $8                  # encoding: [0x78,0x3e,0x41,0xd9]
     36 
     37 cfcmsa       $1, $msair
     38 cfcmsa       $1, $0
     39 cfcmsa       $2, $msacsr
     40 cfcmsa       $2, $1
     41 cfcmsa       $3, $msaaccess
     42 cfcmsa       $3, $2
     43 cfcmsa       $4, $msasave
     44 cfcmsa       $4, $3
     45 cfcmsa       $5, $msamodify
     46 cfcmsa       $5, $4
     47 cfcmsa       $6, $msarequest
     48 cfcmsa       $6, $5
     49 cfcmsa       $7, $msamap
     50 cfcmsa       $7, $6
     51 cfcmsa       $8, $msaunmap
     52 cfcmsa       $8, $7
     53 
     54 ctcmsa       $msair, $1
     55 ctcmsa       $0, $1
     56 ctcmsa       $msacsr, $2
     57 ctcmsa       $1, $2
     58 ctcmsa       $msaaccess, $3
     59 ctcmsa       $2, $3
     60 ctcmsa       $msasave, $4
     61 ctcmsa       $3, $4
     62 ctcmsa       $msamodify, $5
     63 ctcmsa       $4, $5
     64 ctcmsa       $msarequest, $6
     65 ctcmsa       $5, $6
     66 ctcmsa       $msamap, $7
     67 ctcmsa       $6, $7
     68 ctcmsa       $msaunmap, $8
     69 ctcmsa       $7, $8
     70