expr.c (emit_group_load): Use extract_bit_field to load from the stack.

* expr.c (emit_group_load) <CONCAT>: Use extract_bit_field
	to load from the stack.

From-SVN: r90521
This commit is contained in:
Eric Botcazou 2004-11-12 07:59:47 +01:00 committed by Eric Botcazou
parent 765d98c70c
commit f58c00e3f1
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-11-12 Eric Botcazou <ebotcazou@libertysurf.fr>
* expr.c (emit_group_load) <CONCAT>: Use extract_bit_field
to load from the stack.
2004-11-12 Richard Henderson <rth@redhat.com>
* toplev.c (floor_log2): Rename from floor_log2_wide, use CLZ_HWI.

View File

@ -1673,11 +1673,12 @@ emit_group_load (rtx dst, rtx orig_src, tree type ATTRIBUTE_UNUSED, int ssize)
else
{
rtx mem;
gcc_assert (!bytepos);
mem = assign_stack_temp (GET_MODE (src), slen, 0);
emit_move_insn (mem, src);
tmps[i] = adjust_address (mem, mode, 0);
tmps[i] = extract_bit_field (mem, bytelen * BITS_PER_UNIT,
0, 1, NULL_RTX, mode, mode);
}
}
/* FIXME: A SIMD parallel will eventually lead to a subreg of a