i had the same problem but in my case the error was with
cmp $0xFFFFFFFFFFFFFFFF, %rdx
and the decision was to do
movq $0xFFFFFFFFFFFFFFFF, %rcx
first and then
cmp %rcx, %rdx
(afaik, big cmp numbers need two registers, not const and register)
source
to share