view 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
line wrap: on
line source

! RUN: not llvm-mc %s -arch=sparc   -show-encoding 2>&1 | FileCheck %s --check-prefix=SPARC32
! RUN: llvm-mc %s -triple sparc64 -show-encoding | FileCheck %s --check-prefix=SPARC64
! RUN: llvm-mc %s -triple sparcv9 -show-encoding | FileCheck %s --check-prefix=SPARCV9

        ! SPARC32:       error: unknown directive
        ! SPARC32-NEXT:  .xword 65536
        ! SPARC32-NEXT:  ^

        ! SPARC64:  .xword 65536
        .xword 65536

        ! SPARCV9:  .xword 65536
        .xword 65536