]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/MC/Mips/mips5/invalid-mips32.s
Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release):
[FreeBSD/FreeBSD.git] / test / MC / Mips / mips5 / invalid-mips32.s
1 # Instructions that are invalid
2 #
3 # RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips5 \
4 # RUN:     2>%t1
5 # RUN: FileCheck %s < %t1
6
7         .set noat
8
9         sync 0                    # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
10         sync 1                    # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled