diff options
author | J"orn Rennecke <amylaar@cygnus.co.uk> | 2000-02-16 01:29:42 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2000-02-16 01:29:42 +0000 |
commit | 22d05f60307d8a5dc4313869d2e3783913c062d2 (patch) | |
tree | 928a2a353ba15c92e38247a1a0f529767775f174 /gcc | |
parent | a512fa978e301b90b450b0f1372eb3015fae0e24 (diff) | |
download | gcc-22d05f60307d8a5dc4313869d2e3783913c062d2.zip gcc-22d05f60307d8a5dc4313869d2e3783913c062d2.tar.gz gcc-22d05f60307d8a5dc4313869d2e3783913c062d2.tar.bz2 |
* sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
From-SVN: r31998
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/sh/sh.md | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9ad434..3feaf69 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk> + + * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn. + Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk> * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 3a662cd..903199e 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -1305,6 +1305,13 @@ invariant code motion can move it. */ REG_NOTES (first) = gen_rtx_INSN_LIST (REG_LIBCALL, last, REG_NOTES (first)); REG_NOTES (last) = gen_rtx_INSN_LIST (REG_RETVAL, first, REG_NOTES (last)); + /* expand_binop can't find a suitable code in mul_highpart_optab to + make a REG_EQUAL note from, so make one here. + ??? Alternatively, we could put this at the calling site of expand_binop, + i.e. expand_mult_highpart. */ + REG_NOTES (last) + = gen_rtx_EXPR_LIST (REG_EQUAL, copy_rtx (SET_SRC (single_set (first))), + REG_NOTES (last)); DONE; }") |