The patch could fix that issue in my side. -----Original Message----- From: Beignet [mailto:[email protected]] On Behalf Of [email protected] Sent: Monday, February 09, 2015 3:52 PM To: [email protected] Cc: Junyan He Subject: [Beignet] [PATCH] Fix the bug of ulong mad sat
From: Junyan He <[email protected]> Signed-off-by: Junyan He <[email protected]> --- 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 [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
