Re: [PATCH] Fix SSE (pre-AVX) alignment handling (PR target/59163)

2013-12-04 Thread Uros Bizjak
On Wed, Dec 4, 2013 at 11:15 AM, Jakub Jelinek wrote: > On Wed, Dec 04, 2013 at 10:20:20AM +0100, Uros Bizjak wrote: >> When "trap on unaligned" is activated, some program should not trap in >> different way due to compiler transformations. The optimized and >> unoptimized code should run (and tra

Re: [PATCH] Fix SSE (pre-AVX) alignment handling (PR target/59163)

2013-12-04 Thread Jakub Jelinek
On Wed, Dec 04, 2013 at 10:20:20AM +0100, Uros Bizjak wrote: > When "trap on unaligned" is activated, some program should not trap in > different way due to compiler transformations. The optimized and > unoptimized code should run (and trap) in the same way. Ok. Note, seems I have missed a i386/s

Re: [PATCH] Fix SSE (pre-AVX) alignment handling (PR target/59163)

2013-12-04 Thread Uros Bizjak
On Mon, Dec 2, 2013 at 11:58 PM, Jakub Jelinek wrote: > As discussed in the PR, combiner can combine e.g. unaligned integral > load (e.g. TImode) together with some SSE instruction that requires aligned > load, but doesn't actually check it. For AVX, most of the instructions > actually allow una

Re: [PATCH] Fix SSE (pre-AVX) alignment handling (PR target/59163)

2013-12-02 Thread Jeff Law
On 12/02/13 15:58, Jakub Jelinek wrote: Hi! As discussed in the PR, combiner can combine e.g. unaligned integral load (e.g. TImode) together with some SSE instruction that requires aligned load, but doesn't actually check it. For AVX, most of the instructions actually allow unaligned operands,