summaryrefslogtreecommitdiff
path: root/test/MC/Mips/mt/abiflag.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Mips/mt/abiflag.s')
-rw-r--r--test/MC/Mips/mt/abiflag.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/Mips/mt/abiflag.s b/test/MC/Mips/mt/abiflag.s
new file mode 100644
index 000000000000..b4769cba4c2d
--- /dev/null
+++ b/test/MC/Mips/mt/abiflag.s
@@ -0,0 +1,10 @@
+# RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -mattr=+mt -filetype=obj -o - \
+# RUN: | llvm-readobj -mips-abi-flags | FileCheck %s
+
+# Test that the usage of the MT ASE is recorded in .MIPS.abiflags
+
+# CHECK: ASEs
+# CHECK-NEXT: MT (0x40)
+
+ .text
+ nop