[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / Hexagon / out_of_range.s
blobf3f9e7a73b97f7fa8e2b6169a03ddc6a72e2b99e
1 # RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 | FileCheck %s
3 r1:0=##0xFFFFFF7000001000
4 # CHECK: rror: value -144(0xffffffffffffff70) out of range: -128-127
6 p0 = cmpb.eq(r0, #-257)
7 # CHECK: rror: invalid operand for instruction
9 p0 = cmpb.eq(r0, #256)
10 # CHECK: rror: invalid operand for instruction