projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
939f89e
)
(expand_divmod): Create RESULT in proper mode when trying
author
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 21 Oct 1993 17:48:04 +0000
(13:48 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 21 Oct 1993 17:48:04 +0000
(13:48 -0400)
quotient-and-remainder insn.
From-SVN: r5862
gcc/expmed.c
patch
|
blob
|
history
diff --git
a/gcc/expmed.c
b/gcc/expmed.c
index 93298339dfc1b08e0f91362bc477d57ae19096f7..16c2500a0832ee6eea03b5ede137eb10f97297e3 100644
(file)
--- a/
gcc/expmed.c
+++ b/
gcc/expmed.c
@@
-2597,7
+2597,7
@@
expand_divmod (rem_flag, code, mode, op0, op1, target, unsignedp)
{
/* No luck there. Try a quotient-and-remainder insn,
keeping the quotient alone. */
- result = gen_reg_rtx (mode);
+ result = gen_reg_rtx (
compute_
mode);
if (! expand_twoval_binop (unsignedp ? udivmod_optab : sdivmod_optab,
adjusted_op0, op1,
result, NULL_RTX, unsignedp))