projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace .mips_hack_stocg with ".set micromips" and ".set nomicromips".
[oota-llvm.git]
/
test
/
MC
/
Mips
/
elf_st_other.s
diff --git
a/test/MC/Mips/elf_st_other.s
b/test/MC/Mips/elf_st_other.s
index 2d632887799a2847af5b6bb6f5e24c345c00e269..eb685c3760cf49d61ba00264cc371f24e48776da 100644
(file)
--- a/
test/MC/Mips/elf_st_other.s
+++ b/
test/MC/Mips/elf_st_other.s
@@
-1,13
+1,17
@@
// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o -| llvm-readobj -t | FileCheck %s
// 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