24 lines · plain
1# RUN: not llvm-mc %s -triple=mips -mcpu=mips32 2>%t12# RUN: FileCheck %s < %t13 4 .text5 .set noreorder6 .cpload $257 8 .set mips169 .cprestore 810# CHECK: :[[@LINE-1]]:14: error: .cprestore is not supported in Mips16 mode11 .set nomips1612 13 .cprestore14# CHECK: :[[@LINE-1]]:13: error: expected stack offset value15 16 .cprestore foo17# CHECK: :[[@LINE-1]]:17: error: stack offset is not an absolute expression18 19 .cprestore -820# CHECK: :[[@LINE-1]]:3: warning: .cprestore with negative stack offset has no effect21 22 .cprestore 8, 35, bar23# CHECK: :[[@LINE-1]]:15: error: unexpected token, expected end of statement24