diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-d10v.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c index b2b9de6..a7e98b7 100644 --- a/gas/config/tc-d10v.c +++ b/gas/config/tc-d10v.c @@ -734,7 +734,9 @@ write_2_short (opcode1, insn1, opcode2, insn2, exec_type, fx) if (opcode1->exec_type & SEQ || opcode2->exec_type & SEQ) as_fatal ("One of these instructions may not be executed in parallel."); - if ( !parallel_ok (opcode1, insn1, opcode2, insn2)) + if ( !parallel_ok (opcode1, insn1, opcode2, insn2) + && (opcode1->exec_type & PARONLY) == 0 + && (opcode2->exec_type & PARONLY) == 0) as_fatal ("Two instructions may not be executed in parallel with each other."); if (opcode1->unit == IU) |