[mips] Switch the MIPS-III and MIPS-IV assembler tests to use -mcpu=mips4.
[oota-llvm.git] / test / MC / Mips / mips4 / valid.s
index bcc9f689bfab29f1801c3a63ae93df0f4e082262..a3d1759e8ec9b20f0f5a9413635cbaf9cfabd86e 100644 (file)
@@ -1,7 +1,6 @@
 # Instructions that are valid
 #
-# FIXME: Test MIPS-IV instead of MIPS64
-# RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64   | FileCheck %s
+# RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips4 | FileCheck %s
 
        .set noat
        abs.d   $f7,$f25 # CHECK: encoding
@@ -50,6 +49,7 @@
        dsrlv   $s3,$t6,$s4
        dsub    $a3,$s6,$t0
        dsubu   $a1,$a1,$k0
+       ehb                      # CHECK: ehb # encoding:  [0x00,0x00,0x00,0xc0]
        eret
        floor.l.d       $f26,$f7
        floor.l.s       $f12,$f5
        sqrt.s  $f0,$f1
        srav    $s1,$s7,$sp
        srlv    $t9,$s4,$a0
+       ssnop                    # CHECK: ssnop # encoding:  [0x00,0x00,0x00,0x40]
        sub     $s6,$s3,$t4
        sub.d   $f18,$f3,$f17
        sub.s   $f23,$f22,$f22