Re: [PATCH 1/2] or1k: Fix code quality for volatile memory loads

2019-05-10 Thread Stafford Horne
On Thu, May 09, 2019 at 07:44:15PM +0200, Bernhard Reutner-Fischer wrote: > On 6 May 2019 15:16:20 CEST, Stafford Horne wrote: > >Volatile memory does not match the memory_operand predicate. This > >causes extra extend/mask instructions instructions when reading > >from volatile memory. On OpenR

Re: [PATCH 1/2] or1k: Fix code quality for volatile memory loads

2019-05-09 Thread Bernhard Reutner-Fischer
On 6 May 2019 15:16:20 CEST, Stafford Horne 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 te

[PATCH 1/2] or1k: Fix code quality for volatile memory loads

2019-05-06 Thread Stafford Horne
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 treated the same as regular memory loads which supports combined sign/zero extends. Fixing this elimi