Commit bd8a677d authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜
Browse files

pan/va: Pack MUX.i32


Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa@collabora.com>
parent f86d5fe3
Pipeline #379611 waiting for manual action with stages
......@@ -155,6 +155,11 @@ main(int argc, const char **argv)
BI_REGISTER_FORMAT_F16, 2),
0x007f4004333c00f0);
CASE(bi_mux_i32_to(b, bi_register(0), bi_discard(bi_register(0)),
bi_discard(bi_register(4)),
bi_fau(BIR_FAU_UNIFORM | 0, false), BI_MUX_BIT),
0x00b8c00300804440ull);
{
bi_instr *I = bi_atest_to(b, bi_register(60), bi_register(60),
bi_half(bi_register(1), true));
......
......@@ -294,6 +294,7 @@ va_pack_instr(const bi_instr *I, unsigned action)
uint64_t hex = info.exact | (((uint64_t) meta) << 57);
if (I->op == BI_OPCODE_FREXPE_F32 && I->log) hex |= 1ull << 25;
if (I->op == BI_OPCODE_MUX_I32) hex |= (uint64_t) I->mux << 32;
/* Staging register count */
switch (I->op) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment