diff options
| author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-27 15:20:47 +0000 |
|---|---|---|
| committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-27 15:20:47 +0000 |
| commit | 7943de3b5c119ec6ccb6853291fb55e9ab6355d1 (patch) | |
| tree | b23da05e39b4ed487b41c672c27e0e42a6b7fc65 | |
| parent | 42adef8f3242f13e3ba9296706a81e53dc62ca4f (diff) | |
| download | ppe42-gcc-7943de3b5c119ec6ccb6853291fb55e9ab6355d1.tar.gz ppe42-gcc-7943de3b5c119ec6ccb6853291fb55e9ab6355d1.zip | |
* config/bfin/bfin.c (bfin_output_mi_thunk): Use R3 as scratch reg
instead of R2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122376 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 3 | ||||
| -rw-r--r-- | gcc/config/bfin/bfin.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 91852b9f225..b902a029310 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -43,6 +43,9 @@ * config/bfin/bfin.md (ssashiftv2hi3, ssashifthi3, lshiftv2hi3, lshifthi3): Fix output template to use half reg for operand 2. + * config/bfin/bfin.c (bfin_output_mi_thunk): Use R3 as scratch reg + instead of R2. + 2007-02-27 Andreas Schwab <schwab@suse.de> * Makefile.in (TEXI_GCCINSTALL_FILES): Add gcc-common.texi. diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c index 12212b22cc0..43ab3ec85dd 100644 --- a/gcc/config/bfin/bfin.c +++ b/gcc/config/bfin/bfin.c @@ -4556,7 +4556,7 @@ bfin_output_mi_thunk (FILE *file ATTRIBUTE_UNUSED, if (vcall_offset) { rtx p2tmp = gen_rtx_REG (Pmode, REG_P2); - rtx tmp = gen_rtx_REG (Pmode, REG_R2); + rtx tmp = gen_rtx_REG (Pmode, REG_R3); xops[1] = tmp; xops[2] = p2tmp; |

