arm.c (arm_print_operand): Fix invalid alignment hints for 'A' operand types.
* config/arm/arm.c (arm_print_operand): Fix invalid alignment hints for 'A' operand types. From-SVN: r186630
This commit is contained in:
parent
51b53ebe14
commit
a21b0e9956
|
@ -1,3 +1,10 @@
|
|||
2012-04-20 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||
|
||||
Backport from mainline:
|
||||
|
||||
* config/arm/arm.c (arm_print_operand): Fix invalid alignment
|
||||
hints for 'A' operand types.
|
||||
|
||||
2012-04-19 Georg-Johann Lay <avr@gjlay.de>
|
||||
|
||||
Backport from 2012-04-19 mainline r186588.
|
||||
|
|
|
@ -17712,9 +17712,9 @@ arm_print_operand (FILE *stream, rtx x, int code)
|
|||
memsize = MEM_SIZE (x);
|
||||
|
||||
/* Only certain alignment specifiers are supported by the hardware. */
|
||||
if (memsize == 16 && (align % 32) == 0)
|
||||
if (memsize == 32 && (align % 32) == 0)
|
||||
align_bits = 256;
|
||||
else if (memsize == 16 && (align % 16) == 0)
|
||||
else if ((memsize == 16 || memsize == 32) && (align % 16) == 0)
|
||||
align_bits = 128;
|
||||
else if (memsize >= 8 && (align % 8) == 0)
|
||||
align_bits = 64;
|
||||
|
|
Loading…
Reference in New Issue