comparison test/MC/Sparc/sparc-directive-xword.s @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 54457678186b
children
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
1 ! RUN: not llvm-mc %s -arch=sparc -show-encoding 2>&1 | FileCheck %s --check-prefix=SPARC32 1 ! RUN: not llvm-mc %s -arch=sparc -show-encoding 2>&1 | FileCheck %s --check-prefix=SPARC32
2 ! RUN: llvm-mc %s -arch=sparcv9 -show-encoding | FileCheck %s --check-prefix=SPARC64 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
3 4
4 ! SPARC32: error: unknown directive 5 ! SPARC32: error: unknown directive
5 ! SPARC32-NEXT: .xword 65536 6 ! SPARC32-NEXT: .xword 65536
6 ! SPARC32-NEXT: ^ 7 ! SPARC32-NEXT: ^
7 8
8 ! SPARC64: .xword 65536 9 ! SPARC64: .xword 65536
9 .xword 65536 10 .xword 65536
10 11
12 ! SPARCV9: .xword 65536
13 .xword 65536