aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips5/invalid-mips32.s
blob: 2e2c8da462dfa71dcd1b9b901d6c71afdf3701ec (plain)
1
2
3
4
5
6
7
8
9
10
# Instructions that are invalid
#
# RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips5 \
# RUN:     2>%t1
# RUN: FileCheck %s < %t1

        .set noat

        sync 0                    # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
        sync 1                    # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled