x86-asm: Accept all 32bit immediates

In particular don't care if they're signed or unsigned, they're all
acceptable as immediates.
This commit is contained in:
Michael Matz
2016-12-15 17:47:11 +01:00
parent 372f4b6a4e
commit e7ef087598
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -49,6 +49,8 @@ movw %ax, 0x100(%ebx,%edx,2)
movw $0x1122,%si
movl $0x112233,%edx
movl $0x80000000, %esi
movl $-0x7fffffff, %edi
#ifdef __x86_64__
mov $0x11223344,%rbx
movq $0x11223344,%rbx