Shaders: reuse lane guards for unchanged EXEC within a block
An instruction guard depends on its EXEC and the reachability of its block. Keep the most recent result, including an elided guard, rather than repeating the same BDD queries for consecutive vector instructions. Scalar instructions still bypass guard selection. Cover EXEC changes across and within a branch with a synthetic shader. Add a CPU-only guard_runs benchmark for unmasked, short, and long masked runs. (cherry picked from commit 81b81df351437c50f4321286c725de51664c7b1b)
This commit is contained in:
1 parent
bda8238b80
commit
ea357d4210
3 files changed
+96
-2
No files matched your search
@@ -17,6 +17,10 @@ host = ["dep:windows"]
|
||||
# Debugging switches (emitted-module dumps and the like).
|
||||
diagnostics = []
|
||||
|
||||
[[bench]]
|
||||
name = "guard_runs"
|
||||
harness = false
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows-sys = { workspace = true, features = ["Win32_System_LibraryLoader"] }
|
||||
windows = { workspace = true, optional = true, features = [
|
||||
|
||||
Reference in new issue
Block a user