1# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 | FileCheck %s
2
3r1:0=##0xFFFFFF7000001000
4# CHECK: rror: value -144(0xffffffffffffff70) out of range: -128-127
5
6p0 = cmpb.eq(r0, #-257)
7# CHECK: rror: invalid operand for instruction
8
9p0 = cmpb.eq(r0, #256)
10# CHECK: rror: invalid operand for instruction
11