[Beignet] [PATCH] Fix the bug of ulong mad sat
Zhigang Gong
zhigang.gong at linux.intel.com
Sun Feb 8 23:22:36 PST 2015
LGTM, will push latter, thanks.
On Mon, Feb 09, 2015 at 03:52:15PM +0800, junyan.he at inbox.com wrote:
> From: Junyan He <junyan.he at linux.intel.com>
>
> Signed-off-by: Junyan He <junyan.he at linux.intel.com>
> ---
> backend/src/backend/gen8_context.cpp | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/backend/src/backend/gen8_context.cpp b/backend/src/backend/gen8_context.cpp
> index aa870ea..4edfd81 100644
> --- a/backend/src/backend/gen8_context.cpp
> +++ b/backend/src/backend/gen8_context.cpp
> @@ -308,6 +308,7 @@ namespace gbe
> p->curr.noMask = 1;
> p->curr.useFlag(flagReg.flag_nr(), flagReg.flag_subnr());
> p->CMP(GEN_CONDITIONAL_NZ, dst_h, GenRegister::immud(0), tmp0);
> + p->curr.predicate = GEN_PREDICATE_NORMAL;
> p->curr.noMask = 0;
> p->MOV(dst_l, GenRegister::immuint64(0xFFFFFFFFFFFFFFFF));
> p->pop();
> @@ -317,6 +318,7 @@ namespace gbe
> p->curr.noMask = 1;
> p->curr.useFlag(flagReg.flag_nr(), flagReg.flag_subnr());
> p->CMP(GEN_CONDITIONAL_L, dst_l, src2, tmp0);
> + p->curr.predicate = GEN_PREDICATE_NORMAL;
> p->curr.noMask = 0;
> p->MOV(dst_l, GenRegister::immuint64(0xFFFFFFFFFFFFFFFF));
> p->pop();
> --
> 1.9.1
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list