]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Flag SP as modified for @-sp operand - OPERAND_ATMINUS.
authorAndrew Cagney <cagney@redhat.com>
Fri, 10 Oct 1997 05:59:16 +0000 (05:59 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 10 Oct 1997 05:59:16 +0000 (05:59 +0000)
gas/ChangeLog
gas/config/tc-d10v.c

index 4e047783e520412a2c5e960f3c813b26854e8fb1..bd6d76622a351fe40f7cd76d0c2c54593e5e00b3 100644 (file)
@@ -1,3 +1,8 @@
+Fri Oct 10 11:54:50 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * config/tc-d10v.c (parallel_ok): Flag SP as modified for @-sp
+       operand - OPERAND_ATMINUS.
+
 Fri Oct 10 00:47:44 1997  Michael Meissner  <meissner@cygnus.com>
 
        * config/tc-d10v.c (parallel_ok): Note that auto increment and
index bbed44bcbe05b599eb4a41c05256bda4e11c1a1b..bc20d32a2a32cf31f45e806cfcf97d5d161a2e1b 100644 (file)
@@ -879,6 +879,12 @@ parallel_ok (op1, insn1, op2, insn2, exec_type)
                    mod[j] |= 1 << regno;
                }
            }
+         else if (flags & OPERAND_ATMINUS)
+           {
+             /* SP implicitly used/modified */
+             mod[j] |= 1 << 15;
+             used[j] |= 1 << 15;
+           }
        }
       if (op->exec_type & RMEM)
        used[j] |= 1 << 20;