URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 280 |
Rev 378 |
Line 3004... |
Line 3004... |
rtx accum_target = optimize ? 0 : accum;
|
rtx accum_target = optimize ? 0 : accum;
|
|
|
switch (alg->op[opno])
|
switch (alg->op[opno])
|
{
|
{
|
case alg_shift:
|
case alg_shift:
|
accum = expand_shift (LSHIFT_EXPR, mode, accum,
|
tem = expand_shift (LSHIFT_EXPR, mode, accum,
|
build_int_cst (NULL_TREE, log),
|
build_int_cst (NULL_TREE, log),
|
NULL_RTX, 0);
|
NULL_RTX, 0);
|
|
/* REG_EQUAL note will be attached to the following insn. */
|
|
emit_move_insn (accum, tem);
|
val_so_far <<= log;
|
val_so_far <<= log;
|
break;
|
break;
|
|
|
case alg_add_t_m2:
|
case alg_add_t_m2:
|
tem = expand_shift (LSHIFT_EXPR, mode, op0,
|
tem = expand_shift (LSHIFT_EXPR, mode, op0,
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.