summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit07c818d2da3bf98609cd171363c50b86553a856c (patch)
tree0c7ce43521829138ed325094acafb9b4b04f1f16 /llvm/test
parenta71919c9d6e989fb183f69729510da0152e1572b (diff)
downloadbcm5719-llvm-07c818d2da3bf98609cd171363c50b86553a856c.tar.gz
bcm5719-llvm-07c818d2da3bf98609cd171363c50b86553a856c.zip
This patch implements parsing the .word
directive for the Mips assembler. Contributer: Vladimir Medic llvm-svn: 173407
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/Mips/mips_directives.s5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/MC/Mips/mips_directives.s b/llvm/test/MC/Mips/mips_directives.s
index e2f75a827d0..5026b385e82 100644
--- a/llvm/test/MC/Mips/mips_directives.s
+++ b/llvm/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
OpenPOWER on IntegriCloud