diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-10-10 05:59:16 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-10-10 05:59:16 +0000 |
commit | 528859ea3ff07258da18c611ba58afb98335e06d (patch) | |
tree | 4fdd1360d60dabfab935c3e68d864b1d0119d636 /gas/config | |
parent | 719ddab4cc8d72035669d196f4adca700f2dd7db (diff) | |
download | gdb-528859ea3ff07258da18c611ba58afb98335e06d.zip gdb-528859ea3ff07258da18c611ba58afb98335e06d.tar.gz gdb-528859ea3ff07258da18c611ba58afb98335e06d.tar.bz2 |
Flag SP as modified for @-sp operand - OPERAND_ATMINUS.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-d10v.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c index bbed44b..bc20d32 100644 --- a/gas/config/tc-d10v.c +++ b/gas/config/tc-d10v.c @@ -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; |