nak: add ugpr latency classes for memory instructions

Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40891>
This commit is contained in:
Karol Herbst 2026-03-15 14:21:19 +01:00 committed by Marge Bot
parent 0c92d2191b
commit 6c5ee118cd
3 changed files with 21 additions and 0 deletions

View file

@ -250,6 +250,13 @@ fn op_ureg_latency(
Op::IMad64(_) => coupled,
Op::ISetP(_) => coupled,
Op::ALd(_)
| Op::ASt(_)
| Op::Ld(_)
| Op::Ldsm(_)
| Op::St(_)
| Op::Atom(_) => decoupled,
Op::SuLd(_) | Op::SuSt(_) | Op::SuAtom(_) => decoupled,
Op::Ldc(_) => {
if uniform_op {
ToUr

View file

@ -926,6 +926,13 @@ impl URegLatencySM75 {
Op::IMad64(_) => vcoupled,
Op::ISetP(_) => vcoupled,
Op::ALd(_)
| Op::ASt(_)
| Op::Ld(_)
| Op::Ldsm(_)
| Op::St(_)
| Op::Atom(_) => vdecoupled,
Op::SuLd(_) | Op::SuSt(_) | Op::SuAtom(_) => vdecoupled,
Op::Ldc(_) => {
if uniform_op {
Uldc

View file

@ -1082,6 +1082,13 @@ impl URegLatencySM80 {
Op::IMad64(_) => vcoupled,
Op::ISetP(_) => vcoupled,
Op::ALd(_)
| Op::ASt(_)
| Op::Ld(_)
| Op::Ldsm(_)
| Op::St(_)
| Op::Atom(_) => vdecoupled,
Op::SuLd(_) | Op::SuSt(_) | Op::SuAtom(_) => vdecoupled,
Op::Ldc(_) => {
if uniform_op {
Uldc