nak: IMAD also has a destination predicate

Also use set_pred_dst(.., Dst::None) for IMAD64

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
Faith Ekstrand 2023-09-08 14:19:52 -05:00 committed by Marge Bot
parent ab7a4b531d
commit 80230731ec

View file

@ -596,6 +596,7 @@ impl SM75Instr {
ALUSrc::from_src(&op.srcs[1]),
ALUSrc::from_src(&op.srcs[2]),
);
self.set_pred_dst(81..84, Dst::None);
self.set_bit(73, op.signed);
}
@ -607,7 +608,7 @@ impl SM75Instr {
ALUSrc::from_src(&op.srcs[1]),
ALUSrc::from_src(&op.srcs[2]),
);
self.set_field(81..84, 0x7_u8); /* TODO: Pred? */
self.set_pred_dst(81..84, Dst::None);
self.set_bit(73, op.signed);
}