brintos

brintos / llvm-project-archived public Read only

0
0
Text · 960 B · 7728785 Raw
22 lines · plain
1# RUN: not llvm-mc %s -triple=mips -mcpu=mips32r2 2>%t12# RUN:   FileCheck %s < %t1 --check-prefix=O323# RUN: not llvm-mc %s -triple=mips64 -mcpu=mips64 -target-abi n32 2>&1 | \4# RUN:   FileCheck %s --check-prefix=N325# RUN: llvm-mc %s -triple=mips64 -mcpu=mips64 -target-abi n64 2>&1 | \6# RUN:   FileCheck %s --check-prefix=N647 8  .text9  la $5, 0x10000000010  # O32: :[[@LINE-1]]:3: error: instruction requires a 32-bit immediate11  # N32: :[[@LINE-2]]:3: error: instruction requires a 32-bit immediate12  # N64: :[[@LINE-3]]:3: warning: la used to load 64-bit address13 14  la $5, 0x100000000($6)15  # O32: :[[@LINE-1]]:3: error: instruction requires a 32-bit immediate16  # N32: :[[@LINE-2]]:3: error: instruction requires a 32-bit immediate17  # N64: :[[@LINE-3]]:3: warning: la used to load 64-bit address18 19  la $5, symbol20  # N32-NOT: :[[@LINE-1]]:3: warning: la used to load 64-bit address21  # N64:     :[[@LINE-2]]:3: warning: la used to load 64-bit address22