[mips] Add explicit N32 and N64 tests to nabi-regs.s test
authorDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 19 Feb 2014 15:30:54 +0000 (15:30 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 19 Feb 2014 15:30:54 +0000 (15:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201684 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/Mips/nabi-regs.s

index 050fb8134880d5d1c14b3e0014eb547e9655951c..1c192c0e189d99a9f72df23a42bbf74a1aa1c66e 100644 (file)
@@ -3,10 +3,14 @@
 # for 4 more register parameters (A registers) offsetting
 # the T registers.
 #
-# For now just check N64
 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding \
-# RUN: -mcpu=mips64r2 -arch=mips64 | \
-# RUN: FileCheck %s
+# RUN:   -mcpu=mips64r2 -arch=mips64 | FileCheck %s
+#
+# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding \
+# RUN:   -mcpu=mips64r2 -arch=mips64 -mattr=+n32 | FileCheck %s
+#
+# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding \
+# RUN:   -mcpu=mips64r2 -arch=mips64 -mattr=+n64 | FileCheck %s
 
     .text
 foo: