Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/gpu/amd/gfx942/bf16gemv.isa # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / gpu / amd / gfx942 / bf16gemv.isa` 113 lines ยท 1752 bytes Raw Blame History 1 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 # Row-major little-endian BF16 W[M,K], FP32 x[K], y[M]. 3 # acc=+0; ascending k: acc=fma(W[m,k]<<16,x[k],acc); y[m]=acc. 4 # One row per wave64 lane. Initialize v7 low16 once; D16_HI loads preserve it. 5 K bf16gemv 32 8 0 0 24 16 0 64 64 3 0xaf0081 0x84 8 6 A W 0 8 0 7 A x 8 8 0 8 A y 16 8 0 9 A M 24 4 1 10 A K 28 4 1 11 F 1 2 12 B 1 0 26 6 0x30 13 D 1 0 0 0 6 14 D 1 1 0 6 7 15 D 1 2 0 16 1 16 D 1 3 0 17 1 17 D 1 4 0 18 8 18 D 1 5 1 0 21 19 F 2 1 20 B 2 0 30 2 2 21 D 2 0 0 0 8 22 D 2 1 0 8 8 23 D 2 2 0 16 7 24 D 2 3 0 23 7 25 F 3 1 26 B 3 0 23 9 0x17d 27 D 3 0 0 0 8 28 D 3 1 0 8 8 29 D 3 2 0 16 7 30 F 4 1 31 B 4 0 23 9 0x17f 32 D 4 0 0 0 16 33 D 4 1 0 16 7 34 F 5 1 35 B 5 0 31 1 0 36 D 5 0 0 0 9 37 D 5 1 0 9 8 38 D 5 2 0 17 8 39 D 5 3 0 25 6 40 F 6 1 41 B 6 0 25 7 0x3e 42 D 6 0 0 0 9 43 D 6 1 0 9 8 44 D 6 2 0 17 8 45 F 7 2 46 B 7 0 26 6 0x37 47 D 7 0 0 0 13 48 D 7 1 0 13 1 49 D 7 2 0 14 2 50 D 7 3 0 16 1 51 D 7 4 0 17 1 52 D 7 5 0 18 7 53 D 7 6 0 25 1 54 D 7 7 1 0 8 55 D 7 8 1 8 8 56 D 7 9 1 16 7 57 D 7 10 1 23 1 58 D 7 11 1 24 8 59 F 8 1 60 B 8 0 25 7 0x3f 61 D 8 0 0 0 9 62 D 8 1 0 9 8 63 D 8 2 0 17 8 64 F 9 2 65 B 9 0 26 6 0x34 66 D 9 0 0 0 8 67 D 9 1 0 16 10 68 D 9 2 1 0 9 69 D 9 3 1 9 9 70 I 1 0 4 0 1 2 0 71 I 1 0 8 0 1 2 16 72 I 5 255 0 0 19 73 L 0x3ff 74 I 4 0xc07f 12 75 I 2 2 134 12 28 76 I 5 12 0 1 52 77 I 6 10 1 204 78 I 3 106 32 14 79 I 4 @3 8 80 I 5 130 1 2 18 81 I 5 158 1 3 16 82 I 9 8 645 257 11 83 I 9 9 646 257 11 84 # Double the full64 product to obtain the BF16 row's byte offset. 85 I 5 264 8 8 25 86 I 5 265 9 9 28 87 I 8 5 1 5 88 I 5 4 8 8 25 89 I 5 261 9 9 28 90 I 8 6 1 10 91 I 8 7 1 11 92 I 8 9 1 5 93 I 5 8 2 12 25 94 I 5 261 3 13 28 95 I 8 128 1 4 96 I 8 128 1 7 97 I 2 11 129 13 1 98 I 4 @2 5 99 T 1 100 I 7 0 0 2 0 0 37 0 8 0 127 0 7 101 I 7 0 0 2 0 0 20 0 10 0 127 0 6 102 I 4 0x0f70 12 103 I 5 263 6 4 59 104 I 5 130 8 8 25 105 I 5 128 9 9 28 106 I 5 132 10 10 25 107 I 5 128 11 11 28 108 I 2 13 129 13 1 109 I 4 @1 4 110 T 2 111 I 7 0 0 2 0 0 28 0 12 4 127 0 0 112 T 3 113 I 4 0 1