1# RUN: llvm-mc %s -triple=x86_64-unknown-unknown | FileCheck %s 2 3movb $127, %al 4movb $-128, %al 5 6movw $32767, %ax 7movw $-32768, %ax 8 9movl $2147483647, %eax 10movl $-2147483648, %eax 11 12movabsq $9223372036854775807, %rax 13 14# This line should not induce undefined behavior via negation of INT64_MIN. 15movabsq $-9223372036854775808, %rax 16 17# CHECK: movb $127, %al 18# CHECK: movb $-128, %al 19 20# CHECK: movw $32767, %ax # imm = 0x7FFF 21# CHECK: movw $-32768, %ax # imm = 0x8000 22 23# CHECK: movl $2147483647, %eax # imm = 0x7FFFFFFF 24# CHECK: movl $-2147483648, %eax # imm = 0x80000000 25 26# CHECK: movabsq $9223372036854775807, %rax # imm = 0x7FFFFFFFFFFFFFFF 27# CHECK: movabsq $-9223372036854775808, %rax # imm = 0x8000000000000000 28 29