1 # RUN: not llvm-mc %s -triple mips-unknown-linux-gnu -mcpu=mips32 \
2 # RUN: --position-independent -filetype=obj -o /dev/null 2>&1 \
3 # RUN: | FileCheck %s -check-prefix=O32
5 # RUN: llvm-mc %s -triple mips64-unknown-linux-gnu -filetype=obj \
6 # RUN: -o /dev/null 2>&1 \
7 # RUN: | FileCheck %s -allow-empty -check-prefix=N64
9 # RUN: llvm-mc %s -triple mips64-unknown-linux-gnuabin32 -filetype=obj \
10 # RUN: -o /dev/null 2>&1 \
11 # RUN: | FileCheck %s -allow-empty -check-prefix=N32
13 # RUN: llvm-mc %s -triple mips64-unknown-linux-gnuabin32 -filetype=obj -o - \
14 # RUN: | llvm-objdump -d -r - | FileCheck %s -check-prefix=NO-STORE
16 # RUN: llvm-mc %s -triple mips64-unknown-linux-gnu -filetype=obj -o - \
17 # RUN: | llvm-objdump -d -r - | FileCheck %s -check-prefix=NO-STORE
28 # O32-NOT: error: pseudo-instruction requires $at, which is not available
29 # N32-NOT: error: pseudo-instruction requires $at, which is not available
30 # N64-NOT: error: pseudo-instruction requires $at, which is not available
31 # NO-STORE-NOT: sw $gp, 8($sp)
47 # O32: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
48 # N32-NOT: error: pseudo-instruction requires $at, which is not available
49 # N64-NOT: error: pseudo-instruction requires $at, which is not available
50 # NO-STORE-NOT: sw $gp,