#define is_space_char(x) ((x) == ' ')
/* All non-digit non-letter characters that may occur in an operand. */
-static char operand_special_chars[] = "%$-+(,)*._~/<>|&^!:[@]";
+static char operand_special_chars[] = "%$-+(,)*._~/<>|&^!=:[@]";
/* md_assemble() always leaves the strings it's passed unaltered. To
effect this we maintain a stack of saved characters that we've smashed
--- /dev/null
+#objdump: -dw
+#name: x86 conditional operators in insn operands
+
+.*: +file format .*
+
+Disassembly of section .text:
+
+0+ <cond>:
+ +[a-f0-9]+: b8 01 00 00 00 + mov +\$(0x)?1,%eax
+ +[a-f0-9]+: b9 ff ff ff ff + mov +\$0xffffffff,%ecx
+ +[a-f0-9]+: ba ff ff ff ff + mov +\$0xffffffff,%edx
+ +[a-f0-9]+: bb ff ff ff ff + mov +\$0xffffffff,%ebx
+ +[a-f0-9]+: bc ff ff ff ff + mov +\$0xffffffff,%esp
+ +[a-f0-9]+: bd ff ff ff ff + mov +\$0xffffffff,%ebp
+ +[a-f0-9]+: be ff ff ff ff + mov +\$0xffffffff,%esi
+ +[a-f0-9]+: bf ff ff ff ff + mov +\$0xffffffff,%edi
+#pass
run_list_test "nop-bad-1" ""
run_list_test "unspec" ""
run_dump_test "fp"
+run_dump_test "cond"
run_dump_test pr30248
if {[is_elf_format] || [istarget "*-*-vxworks*"]} then {
run_list_test_stdin "list-1" "-al"