brintos

brintos / llvm-project-archived public Read only

0
0
Text · 803 B · be234bc Raw
28 lines · plain
1# RUN: not llvm-mc %s -triple=mips -mcpu=mips32r2 2>%t12# RUN: FileCheck %s < %t1 -check-prefix=ASM3 4        .text5        .option pic26        .set noreorder7        .set mips168        .cpload $259# ASM: :[[@LINE-1]]:17: error: .cpload is not supported in Mips16 mode10 11        .set nomips1612        .set reorder13        .cpload $2514# ASM: :[[@LINE-1]]:9: warning: .cpload should be inside a noreorder section15 16        .set noreorder17        .cpload $3218# ASM: :[[@LINE-1]]:17: error: invalid register19 20        .cpload $foo21# ASM: :[[@LINE-1]]:17: error: expected register containing function address22 23        .cpload bar24# ASM: :[[@LINE-1]]:17: error: expected register containing function address25 26        .cpload $25 foobar27# ASM: :[[@LINE-1]]:21: error: unexpected token, expected end of statement28