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