Re: [Beignet] [PATCH] Fix a segmentation fault.

2015-04-09 Thread Zhigang Gong
used as send's address or other payload, the > send payload need continuous register, so I change these registers to scalar > register. > > > -Original Message- > > From: Zhigang Gong [mailto:zhigang.g...@linux.intel.com] > > Sent: Wednesday, April 8, 2015

Re: [Beignet] [PATCH] Fix a segmentation fault.

2015-04-08 Thread Yang, Rong R
- > From: Zhigang Gong [mailto:zhigang.g...@linux.intel.com] > Sent: Wednesday, April 8, 2015 13:47 > To: Yang, Rong R > Cc: beignet@lists.freedesktop.org > Subject: Re: [Beignet] [PATCH] Fix a segmentation fault. > > On Tue, Mar 31, 2015 at 04:39:03PM +0800, Yang Rong wrote: >

Re: [Beignet] [PATCH] Fix a segmentation fault.

2015-04-07 Thread Zhigang Gong
On Tue, Mar 31, 2015 at 04:39:03PM +0800, Yang Rong wrote: > There is a segmentation fault in function isSrcDstDiffSpan, when src's hstrde > is not GEN_HORIZONTAL_STRIDE_0 but dst's hstride is GEN_HORIZONTAL_STRIDE_0. > > This is wrong state, and the LoadInstruction using GenRegister::udxgrf with

[Beignet] [PATCH] Fix a segmentation fault.

2015-03-31 Thread Yang Rong
There is a segmentation fault in function isSrcDstDiffSpan, when src's hstrde is not GEN_HORIZONTAL_STRIDE_0 but dst's hstride is GEN_HORIZONTAL_STRIDE_0. This is wrong state, and the LoadInstruction using GenRegister::udxgrf with simd is 1, will introduce this state, when dst is scalar. Use sel.