Replace .mips_hack_stocg with ".set micromips" and ".set nomicromips".
[oota-llvm.git] / test / MC / Mips / elf_st_other.s
index 678bedae08545bcafd9b3c0bd79bb1db97a17690..eb685c3760cf49d61ba00264cc371f24e48776da 100644 (file)
@@ -1,15 +1,17 @@
-; XFAIL: *
-
 // RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o -| llvm-readobj -t | FileCheck %s
 
-        .text
-        .globl  main
-        .align  2
-        .type   main,@function
-        .set    nomips16                # @main
-        .ent    main
-        .mips_hack_stocg main, 128
-main:
-
-// CHECK:     Name: main
-// CHECK:     Other: 128
+
+.globl f1
+.set micromips
+f1:
+       nop
+
+.globl f2
+.set nomicromips
+f2:
+       nop
+
+// CHECK-LABEL: Name: f1
+// CHECK:       Other: 128
+// CHECK-LABEL: Name: f2
+// CHECK:       Other: 0