aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-11-18 20:31:30 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-11-18 20:31:30 +0000
commitec5e212be2045fe9493227e16878935a8a73384a (patch)
tree65fa6dc5bb672adcd23ef4690ddbc4f5ebdda8c8 /gas/config
parentf3285daa51cbeb8124c583a5bf639d4b6b453fb3 (diff)
downloadgdb-ec5e212be2045fe9493227e16878935a8a73384a.zip
gdb-ec5e212be2045fe9493227e16878935a8a73384a.tar.gz
gdb-ec5e212be2045fe9493227e16878935a8a73384a.tar.bz2
Check validity of user parallel operations
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-d10v.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c
index 0de08e9..b2b9de6 100644
--- a/gas/config/tc-d10v.c
+++ b/gas/config/tc-d10v.c
@@ -734,6 +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))
+ as_fatal ("Two instructions may not be executed in parallel with each other.");
+
if (opcode1->unit == IU)
{
if (opcode2->unit == IU)