diff options
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index e94e01c..01365f3 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -5510,10 +5510,14 @@ check_reverse: case 4: if (!operand_type_match (overlap3, i.types[3]) || (check_register - && !operand_type_register_match (i.types[2], - operand_types[2], - i.types[3], - operand_types[3]))) + && (!operand_type_register_match (i.types[1], + operand_types[1], + i.types[3], + operand_types[3]) + || !operand_type_register_match (i.types[2], + operand_types[2], + i.types[3], + operand_types[3])))) continue; /* Fall through. */ case 3: |