Commit 2166d2a1 by Bernd Schmidt Committed by Bernd Schmidt

Allow misaligned volatile stores in C6X.

	* config/c6x/c6x.md (movmisalign<mode>): Use MEM_P, not
	memory_operand.

From-SVN: r221732
parent f50e5fcc
2015-03-27 Bernd Schmidt <bernds@codesourcery.com> 2015-03-27 Bernd Schmidt <bernds@codesourcery.com>
* config/c6x/c6x.md (movmisalign<mode>): Use MEM_P, not
memory_operand.
PR target/65052 PR target/65052
* config/c6x/constraints.md (S3): New constraint. * config/c6x/constraints.md (S3): New constraint.
* config/c6x/c6x.md (real_jump): Use it. * config/c6x/c6x.md (real_jump): Use it.
......
...@@ -775,7 +775,7 @@ ...@@ -775,7 +775,7 @@
UNSPEC_MISALIGNED_ACCESS))] UNSPEC_MISALIGNED_ACCESS))]
"TARGET_INSNS_64" "TARGET_INSNS_64"
{ {
if (memory_operand (operands[0], <MODE>mode)) if (MEM_P (operands[0]))
{ {
emit_insn (gen_movmisalign<mode>_store (operands[0], operands[1])); emit_insn (gen_movmisalign<mode>_store (operands[0], operands[1]));
DONE; DONE;
......
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