Re: [Beignet] [PATCH] GBE: fix a patch JMPI assert.

2016-06-22 Thread Song, Ruiling
I am ok with this patch. Thanks! Ruiling > -Original Message- > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of > Yang Rong > Sent: Thursday, May 26, 2016 1:29 PM > To: beignet@lists.freedesktop.org > Cc: Yang, Rong R > Subject: [Beigne

[Beignet] [PATCH] GBE: fix a patch JMPI assert.

2016-05-25 Thread Yang Rong
If jmpi out of range (+/-32768), should use long jump. Now decide the long jump in the gbe, use the GEN IR, but one GEN IR may produce several GEN instructions, especially long operation pre BDW. So use experiential 8000 as threshold. But some case still out of range. So decrease the threshold to 3