Commit 485fafaa by Jim Wilson

(store_split_bit_field): Use number of bits in arg not

BITS_PER_WORD to adjust arg in BYTES_BIG_ENDIAN case.

From-SVN: r8086
parent f1636e8a
......@@ -751,7 +751,8 @@ store_split_bit_field (op0, bitsize, bitpos, value, align)
Give extract_bit_field the value it needs (with endianness
compensation) to fetch the piece we want. */
part = extract_fixed_bit_field (word_mode, value, 0, thissize,
BITS_PER_WORD - bitsize + bitsdone,
GET_MODE_BITSIZE (GET_MODE (value))
- bitsize + bitsdone,
NULL_RTX, 1, align);
#else
/* Fetch successively more significant portions. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment