aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/c6x
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2015-03-27 13:02:39 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2015-03-27 13:02:39 +0000
commit2166d2a1a010c5172a14e30bb17c3bd4ca9a9ff3 (patch)
treeb971a7518e94f485f2a0525d361327b53582c6af /gcc/config/c6x
parentf50e5fcc32825c186ed32dbdf35dbf03c0fd0bcf (diff)
downloadgcc-2166d2a1a010c5172a14e30bb17c3bd4ca9a9ff3.zip
gcc-2166d2a1a010c5172a14e30bb17c3bd4ca9a9ff3.tar.gz
gcc-2166d2a1a010c5172a14e30bb17c3bd4ca9a9ff3.tar.bz2
Allow misaligned volatile stores in C6X.
* config/c6x/c6x.md (movmisalign<mode>): Use MEM_P, not memory_operand. From-SVN: r221732
Diffstat (limited to 'gcc/config/c6x')
-rw-r--r--gcc/config/c6x/c6x.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/c6x/c6x.md b/gcc/config/c6x/c6x.md
index fafefa6..e957eca 100644
--- a/gcc/config/c6x/c6x.md
+++ b/gcc/config/c6x/c6x.md
@@ -775,7 +775,7 @@
UNSPEC_MISALIGNED_ACCESS))]
"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]));
DONE;