Commit d6cb05db by Ulrich Weigand Committed by Ulrich Weigand

re PR target/51819 (Neon wrong code generation, Error: unsupported alignment for…

re PR target/51819 (Neon wrong code generation, Error: unsupported alignment for instruction -- `vst1.32 {d2[0]},[r0:64]')

2012-04-16  Ulrich Weigand  <ulrich.weigand@linaro.org>

	PR target/51819
	* config/arm/arm.c (arm_print_operand): Fix invalid alignment
	hints for 'A' operand types.

From-SVN: r186498
parent 034a3fcd
2012-04-16 Ulrich Weigand <ulrich.weigand@linaro.org>
PR target/51819
* config/arm/arm.c (arm_print_operand): Fix invalid alignment
hints for 'A' operand types.
2012-04-16 Jan Hubicka <jh@suse.cz>
* cgraph.h (symtab_node_base): Add next and previous pointers.
......
......@@ -17877,9 +17877,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;
......
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