1! RUN: llvm-mc %s -arch=sparc   -show-encoding | FileCheck %s --check-prefix=SPARC32
2! RUN: llvm-mc %s -arch=sparcv9 -show-encoding | FileCheck %s --check-prefix=SPARC64
3
4        ! '.proc' is documented to do nothing in the binutils assembler.
5        ! so it should do nothing for clang either, i.e. not be an error.
6        .proc 1
7
8        ! SPARC32: .byte 24
9        ! SPARC64: .byte 24
10        .byte 24
11
12        ! SPARC32: .half 1024
13        ! SPARC64: .half 1024
14        ! SPARC32: .half 1024
15        ! SPARC64: .half 1024
16        .half 1024
17        .uahalf 1024
18
19        ! SPARC32: .word 65536
20        ! SPARC64: .word 65536
21        ! SPARC32: .word 65536
22        ! SPARC64: .word 65536
23        .word 65536
24        .uaword 65536
25
26        ! SPARC32: .word 65536
27        ! SPARC64: .xword 65536
28        .nword 65536
29
30