diff --git a/src/panfrost/bifrost/ISA.xml b/src/panfrost/bifrost/ISA.xml
index b5965fd3ce4..d30ad6cfb88 100644
--- a/src/panfrost/bifrost/ISA.xml
+++ b/src/panfrost/bifrost/ISA.xml
@@ -8203,6 +8203,8 @@
aor
axor
+
+
@@ -8215,6 +8217,8 @@
asmax1
aor1
+
+
diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c
index a0c21ceef57..f1fbdc5272f 100644
--- a/src/panfrost/bifrost/bifrost_compile.c
+++ b/src/panfrost/bifrost/bifrost_compile.c
@@ -865,21 +865,16 @@ bi_emit_atomic_i32_to(bi_builder *b, bi_index dst,
enum bi_atom_opc opc = bi_atom_opc_for_nir(intrinsic);
enum bi_atom_opc post_opc = opc;
- bi_instr *I;
-
/* Generate either ATOM_C or ATOM_C1 as required */
if (bi_promote_atom_c1(opc, arg, &opc)) {
- I = bi_patom_c1_i32_to(b, sr, bi_word(addr, 0),
- bi_word(addr, 1), opc);
+ bi_patom_c1_i32_to(b, sr, bi_word(addr, 0),
+ bi_word(addr, 1), opc, 2);
} else {
bi_mov_i32_to(b, sr, arg);
- I = bi_patom_c_i32_to(b, sr, sr, bi_word(addr, 0),
- bi_word(addr, 1), opc);
-
+ bi_patom_c_i32_to(b, sr, sr, bi_word(addr, 0),
+ bi_word(addr, 1), opc, 2);
}
- I->sr_count = 2;
-
/* Post-process it */
bi_atom_post_i32_to(b, dst, bi_word(sr, 0), bi_word(sr, 1), post_opc);
}