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/fp8gemv.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 / fp8gemv.isa` 127 lines ยท 2024 bytes Raw Blame History 1 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 # E4M3FNUZ row-major W[M,K], FP32 x[K], scales s[M], y[M]. 3 # acc=+0; ascending k: acc=fma(dequant(W[m,k]),x[k],acc); y[m]=RN32(s[m]*acc). 4 # Wave64: one row per lane. Grid Y=1. SH_MEM_CONFIG bit8=1 is a hardware precondition. 5 K fp8gemv 40 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 s 16 8 0 9 A y 24 8 0 10 A M 32 4 1 11 A K 36 4 1 12 F 1 2 13 B 1 0 26 6 0x30 14 D 1 0 0 0 6 15 D 1 1 0 6 7 16 D 1 2 0 16 1 17 D 1 3 0 17 1 18 D 1 4 0 18 8 19 D 1 5 1 0 21 20 F 2 1 21 B 2 0 30 2 2 22 D 2 0 0 0 8 23 D 2 1 0 8 8 24 D 2 2 0 16 7 25 D 2 3 0 23 7 26 F 3 1 27 B 3 0 23 9 0x17d 28 D 3 0 0 0 8 29 D 3 1 0 8 8 30 D 3 2 0 16 7 31 F 4 1 32 B 4 0 23 9 0x17f 33 D 4 0 0 0 16 34 D 4 1 0 16 7 35 F 5 1 36 B 5 0 31 1 0 37 D 5 0 0 0 9 38 D 5 1 0 9 8 39 D 5 2 0 17 8 40 D 5 3 0 25 6 41 F 6 1 42 B 6 0 25 7 0x3e 43 D 6 0 0 0 9 44 D 6 1 0 9 8 45 D 6 2 0 17 8 46 F 7 2 47 B 7 0 26 6 0x37 48 D 7 0 0 0 13 49 D 7 1 0 13 1 50 D 7 2 0 14 2 51 D 7 3 0 16 1 52 D 7 4 0 17 1 53 D 7 5 0 18 7 54 D 7 6 0 25 1 55 D 7 7 1 0 8 56 D 7 8 1 8 8 57 D 7 9 1 16 7 58 D 7 10 1 23 1 59 D 7 11 1 24 8 60 F 8 1 61 B 8 0 25 7 0x3f 62 D 8 0 0 0 9 63 D 8 1 0 9 8 64 D 8 2 0 17 8 65 # VOP3A gfx9: mul low/high unsigned, no source modifiers. 66 F 9 2 67 B 9 0 26 6 0x34 68 D 9 0 0 0 8 69 D 9 1 0 16 10 70 D 9 2 1 0 9 71 D 9 3 1 9 9 72 # VOP1 SDWA: CVT_F32_FP8, BYTE0, LLVM18 fixed DST_SEL=DWORD. 73 F 10 2 74 B 10 0 25 7 0x3f 75 B 10 0 0 9 249 76 B 10 0 9 8 84 77 B 10 1 8 3 6 78 D 10 0 0 17 8 79 D 10 1 1 0 8 80 I 1 0 4 0 1 2 0 81 I 1 0 8 0 1 2 16 82 I 1 0 12 0 1 1 32 83 I 5 255 0 0 0x13 84 L 0x3ff 85 I 4 0xc07f 12 86 I 2 2 134 14 28 87 I 5 14 0 1 52 88 I 6 12 1 204 89 I 3 106 32 16 90 I 4 @3 8 91 I 5 130 1 2 18 92 I 5 158 1 3 16 93 I 9 8 645 257 13 94 I 9 9 646 257 13 95 I 8 5 1 5 96 I 5 4 8 8 25 97 I 5 261 9 9 28 98 I 8 6 1 10 99 I 8 7 1 11 100 I 8 9 1 5 101 I 5 8 2 12 25 102 I 5 261 3 13 28 103 I 8 11 1 5 104 I 5 10 2 14 25 105 I 5 261 3 15 28 106 I 8 128 1 4 107 I 2 13 129 15 1 108 I 4 @2 5 109 T 1 110 I 7 0 0 2 0 0 16 0 8 0 127 0 7 111 I 7 0 0 2 0 0 20 0 10 0 127 0 6 112 I 4 0x0f70 12 113 I 10 7 7 114 I 5 263 6 4 59 115 I 5 129 8 8 25 116 I 5 128 9 9 28 117 I 5 132 10 10 25 118 I 5 128 11 11 28 119 I 2 15 129 15 1 120 I 4 @1 4 121 T 2 122 I 7 0 0 2 0 0 20 0 12 0 127 0 7 123 I 4 0x0f70 12 124 I 5 263 4 4 5 125 I 7 0 0 2 0 0 28 0 14 4 127 0 0 126 T 3 127 I 4 0 1