33 lines · plain
1! RUN: llvm-mc %s -triple=sparc -show-encoding | FileCheck %s --check-prefix=SPARC322! RUN: llvm-mc %s -triple=sparcv9 -show-encoding | FileCheck %s --check-prefix=SPARC643 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 x (7 8 ! '.register' is currently ignored.9 .register 8-)10 11 ! SPARC32: .byte 2412 ! SPARC64: .byte 2413 .byte 2414 15 ! SPARC32: .half 102416 ! SPARC64: .half 102417 ! SPARC32: .half 102418 ! SPARC64: .half 102419 .half 102420 .uahalf 102421 22 ! SPARC32: .word 6553623 ! SPARC64: .word 6553624 ! SPARC32: .word 6553625 ! SPARC64: .word 6553626 .word 6553627 .uaword 6553628 29 ! SPARC32: .word 6553630 ! SPARC64: .xword 6553631 .nword 6553632 33