diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-19 02:54:14 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-19 02:54:14 +0000 |
commit | e53d227a989c449a7020fe467b144ba66633abee (patch) | |
tree | f3edbc5847691ca1200d8b47b8e95600460f3e37 /gcc/config/sh | |
parent | 508308cc1aaadef2fb7efe6b04cd2466ed8a4753 (diff) | |
download | gcc-e53d227a989c449a7020fe467b144ba66633abee.tar.gz |
* config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49005 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh')
-rw-r--r-- | gcc/config/sh/sh.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 0e6c152f4e7..097bb1f6c65 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -1,5 +1,5 @@ ;;- Machine description for the Hitachi SH. -;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 ;; Free Software Foundation, Inc. ;; Contributed by Steve Chamberlain (sac@cygnus.com). ;; Improved by Jim Wilson (wilson@cygnus.com). @@ -2749,15 +2749,17 @@ rtx regop = operands[store_p], word0 ,word1; if (GET_CODE (regop) == SUBREG) - regop = alter_subreg (regop); + alter_subreg (®op); if (REGNO (XEXP (addr, 0)) == REGNO (XEXP (addr, 1))) offset = 2; else offset = 4; mem = copy_rtx (mem); PUT_MODE (mem, SImode); - word0 = alter_subreg (gen_rtx (SUBREG, SImode, regop, 0)); - word1 = alter_subreg (gen_rtx (SUBREG, SImode, regop, 4)); + word0 = gen_rtx (SUBREG, SImode, regop, 0); + alter_subreg (&word0); + word1 = gen_rtx (SUBREG, SImode, regop, 4); + alter_subreg (&word1); if (store_p || ! refers_to_regno_p (REGNO (word0), REGNO (word0) + 1, addr, 0)) { |