On 6 May 2019 15:16:20 CEST, Stafford Horne <sho...@gmail.com> wrote: >Volatile memory does not match the memory_operand predicate. This >causes extra extend/mask instructions instructions when reading >from volatile memory. On OpenRISC loading volitile memory can be
s/volitile/volatile/g also at least in the test. Thanks, >diff --git a/gcc/testsuite/gcc.target/or1k/swap-2.c >b/gcc/testsuite/gcc.target/or1k/swap-2.c >new file mode 100644 >index 00000000000..8ddea4e659f >--- /dev/null >+++ b/gcc/testsuite/gcc.target/or1k/swap-2.c >+/* Check to ensure the volitile load does not get zero extended. */