aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Sparc/sparc-nop-data.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Sparc/sparc-nop-data.s')
-rw-r--r--test/MC/Sparc/sparc-nop-data.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/Sparc/sparc-nop-data.s b/test/MC/Sparc/sparc-nop-data.s
new file mode 100644
index 0000000..1538505
--- /dev/null
+++ b/test/MC/Sparc/sparc-nop-data.s
@@ -0,0 +1,11 @@
+! RUN: llvm-mc %s -arch=sparc -filetype=obj | llvm-readobj -s -sd | FileCheck %s
+! RUN: llvm-mc %s -arch=sparcv9 -filetype=obj | llvm-readobj -s -sd | FileCheck %s
+
+! CHECK: 0000: BA1F401D 01000000 01000000 01000000
+! CHECK: 0010: BA1F401D
+
+foo:
+ xor %i5, %i5, %i5
+ .align 16
+ xor %i5, %i5, %i5
+