nak: Legalize more stuff
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
committed by
Marge Bot
parent
854b4c0817
commit
6750d21e65
@@ -172,6 +172,22 @@ impl<'a> LegalizeInstr<'a> {
|
||||
Op::St(op) => {
|
||||
self.mov_src_if_not_reg(&mut op.data, RegFile::GPR);
|
||||
}
|
||||
Op::ALd(_)
|
||||
| Op::ASt(_)
|
||||
| Op::Tex(_)
|
||||
| Op::Tld(_)
|
||||
| Op::Tld4(_)
|
||||
| Op::Tmml(_)
|
||||
| Op::Txd(_)
|
||||
| Op::Txq(_)
|
||||
| Op::SuLd(_)
|
||||
| Op::SuSt(_)
|
||||
| Op::Ld(_)
|
||||
| Op::St(_) => {
|
||||
for src in instr.srcs_mut() {
|
||||
self.mov_src_if_not_reg(src, RegFile::GPR);
|
||||
}
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user