[Flint] normalize surface addresses and pack Gen9 message payloads
Mirror Gitea refs to GitHub / mirror (push) Successful in 21s
Test / build_and_test (push) Successful in 2m54s
Build / build (push) Successful in 4m37s

This commit is contained in:
2026-08-28 19:35:16 +02:00
parent 441d5fbb96
commit 0788470ee5
14 changed files with 503 additions and 28 deletions
+14
View File
@@ -42,6 +42,19 @@ pub const SurfaceWrite = struct {
data: operand.Source,
};
pub const SurfaceMessageKind = enum {
read,
write,
};
pub const SurfaceMessage = struct {
kind: SurfaceMessageKind,
binding_table: u8,
payload: operand.RegisterSpan,
response: ?operand.RegisterSpan,
data_type: operand.DataType,
};
pub const Move = struct {
destination: operand.Destination,
source: operand.Source,
@@ -86,6 +99,7 @@ pub const Operation = union(enum) {
store_buffer: StoreBuffer,
surface_read: SurfaceRead,
surface_write: SurfaceWrite,
surface_message: SurfaceMessage,
move: Move,
binary: Binary,
compare: Compare,