xref: /llvm-project/llvm/test/MC/Sparc/sparc-directive-xword.s (revision 252c42354eca54274ed7b10c32c73c6937478e8b)
1! RUN: not llvm-mc %s -triple=sparc   -show-encoding 2>&1 | FileCheck %s --check-prefix=SPARC32
2! RUN: llvm-mc %s -triple sparc64 -show-encoding | FileCheck %s --check-prefix=SPARC64
3! RUN: llvm-mc %s -triple sparcv9 -show-encoding | FileCheck %s --check-prefix=SPARCV9
4
5        ! SPARC32:       error: unknown directive
6        ! SPARC32-NEXT:  .xword 65536
7        ! SPARC32-NEXT:  ^
8
9        ! SPARC64:  .xword 65536
10        .xword 65536
11
12        ! SPARCV9:  .xword 65536
13        .xword 65536
14