--- /dev/null
+diff -Naur gas/config/tc-i386.c gas/config/tc-i386.c
+--- a/gas/config/tc-i386.c 2013-11-26 12:37:33.000000000 +0100
++++ b/gas/config/tc-i386.c 2015-05-22 11:42:24.647713050 +0200
+@@ -6140,7 +6140,7 @@
+ op.bitfield.regmem = 0;
+ if ((dest + 1) >= i.operands
+ || (op.bitfield.reg32 != 1
+- && !op.bitfield.reg64 != 1
++ && !!op.bitfield.reg64
+ && !operand_type_equal (&op, ®xmm)
+ && !operand_type_equal (&op, ®ymm)
+ && !operand_type_equal (&op, ®zmm)