diff --git a/src/panfrost/bifrost/valhall/ISA.xml b/src/panfrost/bifrost/valhall/ISA.xml index 36d348453ec..3009b9b6fad 100644 --- a/src/panfrost/bifrost/valhall/ISA.xml +++ b/src/panfrost/bifrost/valhall/ISA.xml @@ -1823,6 +1823,21 @@ + + + Similar to SHADDX, but especially used for loading offsets into + WLS. Usually this is only required for atomic operations, which cannot + directly use wls_pointer as an address. + + .neg indicates SEG_SUB instead. + + + + + A + B + + Sign or zero extend B to 64-bits, left-shift by `shift`, and add the diff --git a/src/panfrost/bifrost/valhall/valhall.c.py b/src/panfrost/bifrost/valhall/valhall.c.py index b0c9049726f..38b26707b65 100644 --- a/src/panfrost/bifrost/valhall/valhall.c.py +++ b/src/panfrost/bifrost/valhall/valhall.c.py @@ -78,6 +78,7 @@ SKIP = set([ "IDP.v4s8", "IDP.v4u8", "FATAN_ASSIST.f32", + "SEG_ADD.u64", "TEX_DUAL", "TODO.VAR_TEX", ])