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/CUDApp/blob/main/backend/amd/gfx942/fsum16.isa # CUDApp CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / backend / amd / gfx942 / fsum16.isa` 134 lines · 2937 bytes Raw Blame History 1 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 # gfx942 fsum16: o[g] = (((x[16g]+x[16g+1])+x[16g+2])...+x[16g+15]), g < n. 3 # The order is frozen, including the first load (there is no initial +0 addition). 4 # K/A schema and field definitions: vadd.isa; LLVM 18.1.3 sources in PROVENANCE.md section 8. 5 # K name size align group private sgprs vgprs agprs maxgroup wave rsrc3 rsrc1 rsrc2 properties 6 K fsum16 20 8 0 0 18 9 0 64 64 2 0xaf0081 0x84 8 7 A x 0 8 0 8 A o 8 8 0 9 A n 16 4 1 10 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 65 I 1 0 4 0 1 2 0 # s_load_dwordx4 s[4:7], s[0:1], 0 66 I 1 0 8 0 1 0 16 # s_load_dword s8, s[0:1], 16 67 I 5 255 0 0 0x13 # v_and_b32 v0, 0x3ff, v0 68 L 0x3ff 69 I 2 2 134 9 0x1c # s_lshl_b32 s9, s2, 6 70 I 5 9 0 1 0x34 # v_add_u32 v1, s9, v0 71 I 4 0xc07f 0x0c 72 I 6 8 1 0xcc # v_cmp_gt_u32 vcc, s8, v1 73 I 3 106 0x20 10 # s_and_saveexec_b64 s[10:11], vcc 74 I 4 @1 0x08 75 I 5 134 1 2 0x12 # v_lshlrev_b32 v2, 6, v1: row byte offset low 76 I 5 154 1 3 0x10 # v_lshrrev_b32 v3, 26, v1: row byte offset high 77 I 8 5 1 5 78 I 5 4 2 6 0x19 79 I 5 261 3 7 0x1c 80 I 7 0 0 2 0 0 0x14 0 6 0 127 0 4 81 I 4 0x0f70 0x0c 82 I 7 4 0 2 0 0 0x14 0 6 0 127 0 8 83 I 4 0x0f70 0x0c 84 I 5 260 8 4 0x01 85 I 7 8 0 2 0 0 0x14 0 6 0 127 0 8 86 I 4 0x0f70 0x0c 87 I 5 260 8 4 0x01 88 I 7 12 0 2 0 0 0x14 0 6 0 127 0 8 89 I 4 0x0f70 0x0c 90 I 5 260 8 4 0x01 91 I 7 16 0 2 0 0 0x14 0 6 0 127 0 8 92 I 4 0x0f70 0x0c 93 I 5 260 8 4 0x01 94 I 7 20 0 2 0 0 0x14 0 6 0 127 0 8 95 I 4 0x0f70 0x0c 96 I 5 260 8 4 0x01 97 I 7 24 0 2 0 0 0x14 0 6 0 127 0 8 98 I 4 0x0f70 0x0c 99 I 5 260 8 4 0x01 100 I 7 28 0 2 0 0 0x14 0 6 0 127 0 8 101 I 4 0x0f70 0x0c 102 I 5 260 8 4 0x01 103 I 7 32 0 2 0 0 0x14 0 6 0 127 0 8 104 I 4 0x0f70 0x0c 105 I 5 260 8 4 0x01 106 I 7 36 0 2 0 0 0x14 0 6 0 127 0 8 107 I 4 0x0f70 0x0c 108 I 5 260 8 4 0x01 109 I 7 40 0 2 0 0 0x14 0 6 0 127 0 8 110 I 4 0x0f70 0x0c 111 I 5 260 8 4 0x01 112 I 7 44 0 2 0 0 0x14 0 6 0 127 0 8 113 I 4 0x0f70 0x0c 114 I 5 260 8 4 0x01 115 I 7 48 0 2 0 0 0x14 0 6 0 127 0 8 116 I 4 0x0f70 0x0c 117 I 5 260 8 4 0x01 118 I 7 52 0 2 0 0 0x14 0 6 0 127 0 8 119 I 4 0x0f70 0x0c 120 I 5 260 8 4 0x01 121 I 7 56 0 2 0 0 0x14 0 6 0 127 0 8 122 I 4 0x0f70 0x0c 123 I 5 260 8 4 0x01 124 I 7 60 0 2 0 0 0x14 0 6 0 127 0 8 125 I 4 0x0f70 0x0c 126 I 5 260 8 4 0x01 127 I 5 130 1 2 0x12 # output byte offset low 128 I 5 158 1 3 0x10 # output byte offset high 129 I 8 7 1 5 130 I 5 6 2 6 0x19 131 I 5 261 3 7 0x1c 132 I 7 0 0 2 0 0 0x1c 0 6 4 127 0 0 133 T 1 134 I 4 0 0x01