From 528859ea3ff07258da18c611ba58afb98335e06d Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 10 Oct 1997 05:59:16 +0000 Subject: [PATCH] Flag SP as modified for @-sp operand - OPERAND_ATMINUS. --- gas/ChangeLog | 5 +++++ gas/config/tc-d10v.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 4e04778..bd6d766 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 10 11:54:50 1997 Andrew Cagney + + * config/tc-d10v.c (parallel_ok): Flag SP as modified for @-sp + operand - OPERAND_ATMINUS. + Fri Oct 10 00:47:44 1997 Michael Meissner * config/tc-d10v.c (parallel_ok): Note that auto increment and 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; -- 2.7.4