reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
   89
   90
   91
   92
   93
   94
   95
   96
   97
   98
   99
  100
  101
  102
  103
  104
  105
  106
  107
  108
  109
  110
  111
  112
  113
  114
  115
  116
  117
  118
  119
  120
  121
  122
  123
  124
  125
  126
  127
  128
  129
  130
  131
  132
  133
  134
  135
  136
  137
  138
  139
  140
  141
  142
  143
  144
  145
  146
  147
  148
  149
  150
  151
  152
  153
  154
  155
  156
  157
  158
  159
  160
  161
  162
  163
  164
  165
  166
  167
  168
  169
  170
  171
  172
  173
  174
  175
  176
  177
  178
  179
  180
  181
  182
  183
  184
  185
  186
  187
  188
  189
  190
  191
  192
  193
  194
  195
  196
  197
  198
  199
  200
  201
  202
  203
  204
  205
  206
  207
  208
  209
  210
  211
  212
  213
  214
  215
  216
  217
  218
  219
  220
  221
  222
  223
  224
  225
  226
  227
  228
  229
  230
  231
  232
  233
  234
  235
  236
  237
  238
  239
  240
  241
  242
  243
  244
  245
  246
  247
  248
  249
  250
  251
  252
  253
  254
  255
  256
  257
  258
  259
  260
  261
  262
  263
  264
  265
  266
  267
  268
  269
  270
  271
  272
  273
  274
  275
  276
  277
  278
  279
  280
  281
  282
  283
  284
  285
  286
  287
  288
  289
  290
  291
  292
  293
  294
  295
  296
  297
  298
  299
  300
  301
  302
  303
  304
  305
  306
  307
  308
  309
  310
  311
  312
  313
  314
  315
  316
  317
  318
  319
  320
  321
  322
  323
  324
  325
  326
  327
  328
  329
  330
  331
# RUN: not llvm-mc %s -triple=mips-unknown-linux -mcpu=mips32 -mattr=+soft-float 2>&1 |\
# RUN:   FileCheck %s --check-prefix=32
# RUN: not llvm-mc %s -triple=mips-unknown-linux -mcpu=mips64 -mattr=+soft-float 2>&1 |\
# RUN:   FileCheck %s --check-prefix=64
# RUN: not llvm-mc %s -triple=mips-unknown-linux -mcpu=mips32r2 -mattr=+soft-float 2>&1 |\
# RUN:   FileCheck %s --check-prefix=R2
# RUN: not llvm-mc %s -triple=mips-unknown-linux -mcpu=mips32r6 -mattr=+soft-float 2>&1 |\
# RUN:   FileCheck %s --check-prefix=R6

foo:
  dmfc1      $7, $f2
  # 64: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  dmtc1      $6, $f2
  # 64: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled

  ceil.l.d   $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  ceil.l.s   $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cvt.d.l    $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cvt.l.d    $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cvt.l.s    $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cvt.s.l    $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  floor.l.d  $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  floor.l.s  $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  ldxc1      $f2, $4($6)
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  luxc1      $f2, $4($6)
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  lwxc1      $f2, $4($6)
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  mfhc1      $7, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  msub.s     $f2, $f2, $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  mthc1      $7, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  nmadd.s    $f2, $f2, $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  nmsub.s    $f2, $f2, $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  round.l.s  $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  sdxc1      $f2, $4($6)
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  suxc1      $f2, $4($6)
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  swxc1      $f2, $4($6)
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  trunc.l.d  $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  trunc.l.s  $f2, $f2
  # R2: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled

  bc1eqz     $f2, 123
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  bc1nez     $f2, 456
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  class.d    $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  class.s    $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.af.d   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.af.s   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.eq.d   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.eq.s   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.le.d   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.le.s   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.lt.d   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.lt.s   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.saf.d  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.saf.s  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.seq.d  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.seq.s  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.sle.d  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.sle.s  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.slt.d  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.slt.s  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.sueq.d $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.sueq.s $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.sule.d $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.sule.s $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.sult.d $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.sult.s $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.sun.d  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.sun.s  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.ueq.d  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.ueq.s  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.ule.d  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.ule.s  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.ult.d  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.ult.s  $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.un.d   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cmp.un.s   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  maddf.d    $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  maddf.s    $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  max.d      $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  max.s      $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  maxa.d     $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  maxa.s     $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  min.d      $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  min.s      $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  mina.d     $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  mina.s     $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  msubf.d    $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  msubf.s    $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  rint.d     $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  rint.s     $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  sel.d      $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  sel.s      $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  seleqz.d   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  seleqz.s   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  selnez.d   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  selnez.s   $f2, $f2, $f2
  # R6: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled

  abs.d      $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  abs.s      $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  add.d      $f2, $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  add.s      $f2, $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.eq.d     $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.eq.s     $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.f.d      $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.f.s      $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.le.d     $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.le.s     $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.lt.d     $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.lt.s     $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.nge.d    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.nge.s    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ngl.d    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ngl.s    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ngle.d   $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ngle.s   $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ngt.d    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ngt.s    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ole.d    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ole.s    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.olt.d    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.olt.s    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.seq.d    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.seq.s    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.sf.d     $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.sf.s     $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ueq.d    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ueq.s    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ule.d    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ule.s    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ult.d    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.ult.s    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.un.d     $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  c.un.s     $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  ceil.w.d   $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  ceil.w.s   $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cvt.d.s    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cvt.d.w    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cvt.s.d    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cvt.s.w    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cvt.w.d    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  cvt.w.s    $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  div.d      $f2, $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  div.s      $f2, $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  floor.w.d  $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  floor.w.s  $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  ldc1       $f2, 16($7)
  # FIXME: LDC1 is correctly rejected but the wrong error message is emitted.
  # 32: :[[@LINE-2]]:19: error: invalid operand for instruction
  lwc1       $f2, 16($7)
  # FIXME: LWC1 is correctly rejected but the wrong error message is emitted.
  # 32: :[[@LINE-2]]:19: error: invalid operand for instruction
  madd.s     $f2, $f2, $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  mfc1       $7, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  mov.d      $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  mov.s      $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  movf.d     $f2, $f2, $fcc2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  movf.s     $f2, $f2, $fcc5
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  movn.d     $f2, $f2, $6
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  movn.s     $f2, $f2, $6
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  movt.d     $f2, $f2, $fcc0
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  movt.s     $f2, $f2, $fcc1
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  movz.d     $f2, $f2, $6
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  movz.s     $f2, $f2, $6
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  mtc1       $7, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  mul.d      $f2, $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  mul.s      $f2, $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  neg.d      $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  neg.s      $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  round.w.d  $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  round.w.s  $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  sdc1       $f2, 16($7)
  # FIXME: SDC1 is correctly rejected but the wrong error message is emitted.
  # 32: :[[@LINE-2]]:19: error: invalid operand for instruction
  sqrt.d     $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  sqrt.s     $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  sub.d      $f2, $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  sub.s      $f2, $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  swc1       $f2, 16($7)
  # FIXME: SWC1 is correctly rejected but the wrong error message is emitted.
  # 32: :[[@LINE-2]]:19: error: invalid operand for instruction
  trunc.w.d  $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
  trunc.w.s  $f2, $f2
  # 32: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled