view test/MC/Hexagon/out_of_range.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 1172e4bd9c6f
children
line wrap: on
line source

# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 | FileCheck %s

r1:0=##0xFFFFFF7000001000
# CHECK: rror: value -144(0xffffffffffffff70) out of range: -128-127

p0 = cmpb.eq(r0, #-257)
# CHECK: rror: invalid operand for instruction

p0 = cmpb.eq(r0, #256)
# CHECK: rror: invalid operand for instruction