diff options
author | Roger Sayle <roger@eyesopen.com> | 2007-02-09 22:36:34 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2007-02-09 22:36:34 +0000 |
commit | f2477b062c9c639e5354ef705022a47dcb61e213 (patch) | |
tree | 21c8fe51fdf12e1f35832f1df15977876ee8846e /gcc/config | |
parent | 44bfc3acc21acc7e7580136b8364be28e50ecc50 (diff) | |
download | gcc-f2477b062c9c639e5354ef705022a47dcb61e213.tar.gz |
alpha.c (emit_insxl): Force the first operand of the insbl or inswl pattern into a register.
* config/alpha/alpha.c (emit_insxl): Force the first operand of
the insbl or inswl pattern into a register.
From-SVN: r121779
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/alpha/alpha.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index d4808a7db15..327efb458e5 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -4518,6 +4518,8 @@ emit_insxl (enum machine_mode mode, rtx op1, rtx op2) else fn = gen_inswl_le; } + /* The insbl and inswl patterns require a register operand. */ + op1 = force_reg (mode, op1); emit_insn (fn (ret, op1, op2)); return ret; |