Re: [PATCH] Remove UNSPEC_LOADU and UNSPEC_STOREU

2016-04-19 Thread Kirill Yukhin
Hi, On 18 Apr 21:13, Uros Bizjak wrote: > On Mon, Apr 18, 2016 at 8:40 PM, H.J. Lu wrote: > > On Sun, Jan 10, 2016 at 11:45 PM, Uros Bizjak wrote: > >> On Sun, Jan 10, 2016 at 11:32 PM, H.J. Lu wrote: > >>> Since *mov_internal and _(load|store)_mask patterns > >>> can handle unaligned load and s

Re: [PATCH] Remove UNSPEC_LOADU and UNSPEC_STOREU

2016-04-18 Thread Uros Bizjak
On Mon, Apr 18, 2016 at 9:17 PM, H.J. Lu wrote: >>> Here is the updated patch for GCC 7. Tested on x86-64. OK for >>> trrunk? >> >> IIRC from previous discussion, are we sure we won't propagate >> unaligned memory into SSE arithmetic insns? > > Yes, it is true and it is what > > (define_special

Re: [PATCH] Remove UNSPEC_LOADU and UNSPEC_STOREU

2016-04-18 Thread H.J. Lu
On Mon, Apr 18, 2016 at 12:13 PM, Uros Bizjak wrote: > On Mon, Apr 18, 2016 at 8:40 PM, H.J. Lu wrote: >> On Sun, Jan 10, 2016 at 11:45 PM, Uros Bizjak wrote: >>> On Sun, Jan 10, 2016 at 11:32 PM, H.J. Lu wrote: Since *mov_internal and _(load|store)_mask patterns can handle unaligned

Re: [PATCH] Remove UNSPEC_LOADU and UNSPEC_STOREU

2016-04-18 Thread Uros Bizjak
On Mon, Apr 18, 2016 at 8:40 PM, H.J. Lu wrote: > On Sun, Jan 10, 2016 at 11:45 PM, Uros Bizjak wrote: >> On Sun, Jan 10, 2016 at 11:32 PM, H.J. Lu wrote: >>> Since *mov_internal and _(load|store)_mask patterns >>> can handle unaligned load and store, we can remove UNSPEC_LOADU and >>> UNSPEC_ST

Re: [PATCH] Remove UNSPEC_LOADU and UNSPEC_STOREU

2016-04-18 Thread H.J. Lu
On Sun, Jan 10, 2016 at 11:45 PM, Uros Bizjak wrote: > On Sun, Jan 10, 2016 at 11:32 PM, H.J. Lu wrote: >> Since *mov_internal and _(load|store)_mask patterns >> can handle unaligned load and store, we can remove UNSPEC_LOADU and >> UNSPEC_STOREU. We use function prototypes with pointer to scala

Re: [PATCH] Remove UNSPEC_LOADU and UNSPEC_STOREU

2016-01-10 Thread Uros Bizjak
On Sun, Jan 10, 2016 at 11:32 PM, H.J. Lu wrote: > Since *mov_internal and _(load|store)_mask patterns > can handle unaligned load and store, we can remove UNSPEC_LOADU and > UNSPEC_STOREU. We use function prototypes with pointer to scalar for > unaligned load/store builtin functions so that memo