[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / X86 / imm-comments.s
blob844bc39ac225d7d9bce17164bbb5743484152cd8
1 # RUN: llvm-mc %s -triple=x86_64-unknown-unknown | FileCheck %s
3 movb $127, %al
4 movb $-128, %al
6 movw $32767, %ax
7 movw $-32768, %ax
9 movl $2147483647, %eax
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