intel/tools/i965_asm: Allow neg and abs modifiers on accumulator register
Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25657>
This commit is contained in:
committed by
Marge Bot
parent
98665e024f
commit
f96e08f34d
@@ -1761,12 +1761,14 @@ srcimm:
|
||||
|
||||
directsrcaccoperand:
|
||||
directsrcoperand
|
||||
| accreg region reg_type
|
||||
| negate abs accreg region reg_type
|
||||
{
|
||||
$$ = set_direct_src_operand(&$1, $3);
|
||||
$$.vstride = $2.vstride;
|
||||
$$.width = $2.width;
|
||||
$$.hstride = $2.hstride;
|
||||
$$ = set_direct_src_operand(&$3, $5);
|
||||
$$.negate = $1;
|
||||
$$.abs = $2;
|
||||
$$.vstride = $4.vstride;
|
||||
$$.width = $4.width;
|
||||
$$.hstride = $4.hstride;
|
||||
}
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user