summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJack Carter <jcarter@mips.com>2013-01-25 01:31:34 +0000
committerJack Carter <jcarter@mips.com>2013-01-25 01:31:34 +0000
commit801c5838830d190a6b0d8e462bd43805f66ba50f (patch)
treeaad54375f96cd0da57d0edf2123ee191cb4bf13c /test
parentd2047c60013a1a48cc3cef88003633463285b9ee (diff)
downloadllvm-801c5838830d190a6b0d8e462bd43805f66ba50f.tar.gz
llvm-801c5838830d190a6b0d8e462bd43805f66ba50f.tar.bz2
llvm-801c5838830d190a6b0d8e462bd43805f66ba50f.tar.xz
This patch implements parsing the .word
directive for the Mips assembler. Contributer: Vladimir Medic git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/Mips/mips_directives.s5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/MC/Mips/mips_directives.s b/test/MC/Mips/mips_directives.s
index e2f75a827d..5026b385e8 100644
--- a/test/MC/Mips/mips_directives.s
+++ b/test/MC/Mips/mips_directives.s
@@ -1,4 +1,4 @@
-# RUN: llvm-mc -triple mips-unknown-unknown %s
+# RUN: llvm-mc -triple mips-unknown-unknown %s | FileCheck %s
#this test produces no output so there isS no FileCheck call
$BB0_2:
.ent directives_test
@@ -10,6 +10,9 @@ $BB0_2:
.set noat
$JTI0_0:
.gpword ($BB0_2)
+ .word 0x77fffffc
+# CHECK: $JTI0_0:
+# CHECK-NEXT: .4byte 2013265916
.set at=$12
.set macro
.set reorder