diff --git a/src/panfrost/bifrost/valhall/ISA.xml b/src/panfrost/bifrost/valhall/ISA.xml index 5ab5eae2f7a..30728e033e3 100644 --- a/src/panfrost/bifrost/valhall/ISA.xml +++ b/src/panfrost/bifrost/valhall/ISA.xml @@ -1721,6 +1721,34 @@ Mask + + + Mux between A and B based on the provided mask. The condition specified + as the `mux` modifier is evaluated on the mask. If true, `A` is chosen, + else `B` is chosen. The `bit` modifier acts bitwise, equivalent to + `bitselect()` in OpenCL, so `MUX.i32.bit A, B, mask` calculates + `(A & mask) | (A & ~mask)`. + + + A + B + Mask + + + + + Mux between A and B based on the provided mask. The condition specified + as the `mux` modifier is evaluated on the mask. If true, `A` is chosen, + else `B` is chosen. The `bit` modifier acts bitwise, equivalent to + `bitselect()` in OpenCL, so `MUX.i32.bit A, B, mask` calculates + `(A & mask) | (A & ~mask)`. + + + A + B + Mask + + During a cube map transform, select the S coordinate given a selected face. Z coordinate as 32-bit floating point