summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorJack Carter <jcarter@mips.com>2012-09-07 00:48:02 +0000
committerJack Carter <jcarter@mips.com>2012-09-07 00:48:02 +0000
commitacbea45573078631e116c2aa91e57d3a9cb2dde1 (patch)
tree48c18a739c38dc4f16d0aa3283b97521bc7f2b97 /test/MC
parentf740d6e328bd10904b079e1ce6583f436d6c9817 (diff)
downloadllvm-acbea45573078631e116c2aa91e57d3a9cb2dde1.tar.gz
llvm-acbea45573078631e116c2aa91e57d3a9cb2dde1.tar.bz2
llvm-acbea45573078631e116c2aa91e57d3a9cb2dde1.tar.xz
The Mips standalone assembler intial directive support.
Actually these are just stubs for parsing the directives. Semantic support will come later. Test cases included Contributer: Vladimir Medic git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/Mips/mips_directives.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/Mips/mips_directives.s b/test/MC/Mips/mips_directives.s
new file mode 100644
index 0000000000..f9d846078b
--- /dev/null
+++ b/test/MC/Mips/mips_directives.s
@@ -0,0 +1,10 @@
+# RUN: llvm-mc -triple mips-unknown-unknown %s
+
+$BB0_2:
+ .frame $sp,0,$ra
+ .mask 0x00000000,0
+ .fmask 0x00000000,0
+ .set noreorder
+ .set nomacro
+$JTI0_0:
+ .gpword ($BB0_2)