Source/Packages

Accelerator.SM86.InstructionEncoding

packages/hardware/architectures/nvidia-sm86/src/Accelerator/SM86/InstructionEncoding.alpha

2,937 lines191 declarations105.3 KiBSHA-256 0462dcc8328a

def · lines 2200–2607

sm86EncodeInstruction

Full file
2200def sm86EncodeInstruction =
2201  (lambda unrestricted instruction : SM86Instruction .
2202    eliminate
2203      SM86Instruction
2204      (lambda unrestricted current : SM86Instruction . SM86InstructionEncodingResult)
2205      instruction
2206      (branch
2207        SM86InstructionValue
2208        guard
2209        body
2210        .
2211        eliminate
2212          SM86InstructionBody
2213          (lambda unrestricted current : SM86InstructionBody . SM86InstructionEncodingResult)
2214          body
2215          (branch
2216            SM86MoveConstant
2217            destination
2218            bank
2219            offset
2220            control
2221            .
2222            sm86EncodeMoveConstant guard destination bank offset control)
2223          (branch
2224            SM86SpecialToRegister
2225            destination
2226            special
2227            control
2228            .
2229            sm86EncodeSpecialToRegister guard destination special control)
2230          (branch
2231            SM86MoveImmediate
2232            destination
2233            immediate
2234            control
2235            .
2236            sm86EncodeMoveImmediate guard destination immediate control)
2237          (branch
2238            SM86IntegerMultiplyAddConstant
2239            destination
2240            left
2241            bank
2242            offset
2243            addend
2244            control
2245            .
2246            sm86EncodeIntegerMultiplyAddConstant guard destination left bank offset addend control)
2247          (branch
2248            SM86IntegerMultiplyAddImmediate
2249            destination
2250            left
2251            immediate
2252            addend
2253            control
2254            .
2255            sm86EncodeIntegerMultiplyAddImmediate guard destination left immediate addend control)
2256          (branch
2257            SM86IntegerMultiplyAddWideConstant
2258            destination
2259            left
2260            right
2261            bank
2262            offset
2263            control
2264            .
2265            sm86EncodeIntegerMultiplyAddWideConstant
2266              guard
2267              destination
2268              left
2269              right
2270              bank
2271              offset
2272              control)
2273          (branch
2274            SM86IntegerAddThreeImmediate
2275            destination
2276            left
2277            immediate
2278            control
2279            .
2280            sm86EncodeIntegerAdd3Immediate guard destination left immediate control)
2281          (branch
2282            SM86IntegerAddThreeRegister
2283            destination
2284            left
2285            right
2286            control
2287            .
2288            sm86EncodeIntegerAdd3Register guard destination left right control)
2289          (branch
2290            SM86ShiftRightImmediate
2291            destination
2292            source
2293            amount
2294            control
2295            .
2296            sm86EncodeShiftRightImmediate guard destination source amount control)
2297          (branch
2298            SM86LogicThreeInputTruthTable
2299            destination
2300            left
2301            right
2302            truthTable
2303            control
2304            .
2305            sm86EncodeLogic3 guard destination left right truthTable control)
2306          (branch
2307            SM86IntegerToFloat
2308            destination
2309            source
2310            control
2311            .
2312            sm86EncodeIntegerToFloat guard destination source control)
2313          (branch
2314            SM86FloatAdd
2315            destination
2316            left
2317            right
2318            control
2319            .
2320            sm86EncodeFloatAdd guard destination left right control)
2321          (branch
2322            SM86FloatMultiply
2323            destination
2324            left
2325            right
2326            control
2327            .
2328            sm86EncodeFloatMultiply guard destination left right control)
2329          (branch
2330            SM86Float64Binary
2331            operation
2332            destination
2333            left
2334            right
2335            control
2336            .
2337            sm86EncodeFloat64Binary guard operation destination left right control)
2338          (branch
2339            SM86FloatConvert
2340            conversion
2341            control
2342            .
2343            sm86EncodeFloatConvert guard conversion control)
2344          (branch
2345            SM86FloatFusedMultiplyAdd
2346            destination
2347            left
2348            right
2349            addend
2350            control
2351            .
2352            sm86EncodeFloatFusedMultiplyAdd guard destination left right addend control)
2353          (branch
2354            SM86MultiFunctionUnitApproximation
2355            destination
2356            source
2357            operation
2358            control
2359            .
2360            sm86EncodeMultiFunction guard destination source operation control)
2361          (branch
2362            SM86FloatMinimumOrMaximum
2363            destination
2364            left
2365            right
2366            extremum
2367            control
2368            .
2369            sm86EncodeFloatExtremum guard destination left right extremum control)
2370          (branch
2371            SM86FloatNegate
2372            destination
2373            source
2374            control
2375            .
2376            sm86EncodeFloatNegate guard destination source control)
2377          (branch
2378            SM86FloatPairToPackedHalfPair
2379            destination
2380            sourceHigh
2381            sourceLow
2382            control
2383            .
2384            sm86EncodeFloat32PairToHalf2 guard destination sourceHigh sourceLow control)
2385          (branch
2386            SM86FloatPairToPackedBFloat16Pair
2387            destination
2388            sourceHigh
2389            sourceLow
2390            control
2391            .
2392            sm86EncodeFloat32PairToBFloat16Pair guard destination sourceHigh sourceLow control)
2393          (branch
2394            SM86FloatPairToPackedFloat8Pair
2395            destination
2396            sourceHigh
2397            sourceLow
2398            merge
2399            mergeHalf
2400            format
2401            control
2402            .
2403            sm86EncodeFloat32PairToFloat8Pair
2404              guard
2405              destination
2406              sourceHigh
2407              sourceLow
2408              merge
2409              mergeHalf
2410              format
2411              control)
2412          (branch
2413            SM86FloatArithmetic
2414            operation
2415            destination
2416            left
2417            right
2418            addend
2419            modifiers
2420            control
2421            .
2422            sm86EncodeFloatArithmetic
2423              guard
2424              operation
2425              destination
2426              left
2427              right
2428              addend
2429              modifiers
2430              control)
2431          (branch
2432            SM86HalfToFloat
2433            destination
2434            source
2435            selector
2436            control
2437            .
2438            sm86EncodeHalfToFloat guard destination source selector control)
2439          (branch
2440            SM86BFloat16ToFloat
2441            destination
2442            source
2443            selector
2444            control
2445            .
2446            sm86EncodeBFloat16ToFloat guard destination source selector control)
2447          (branch
2448            SM86TensorCoreHalfMatrixMultiplyAccumulate16x8x16Float32
2449            destination
2450            fragmentA
2451            fragmentB
2452            accumulator
2453            control
2454            .
2455            sm86EncodeHMMA16816F32F16 guard destination fragmentA fragmentB accumulator control)
2456          (branch
2457            SM86TensorCoreBFloat16MatrixMultiplyAccumulate16x8x16Float32
2458            destination
2459            fragmentA
2460            fragmentB
2461            accumulator
2462            control
2463            .
2464            sm86EncodeHMMA16816F32BF16 guard destination fragmentA fragmentB accumulator control)
2465          (branch
2466            SM86TensorCoreHalfMatrixMultiplyAccumulate16x8x16Half
2467            destination
2468            fragmentA
2469            fragmentB
2470            accumulator
2471            control
2472            .
2473            sm86EncodeHMMA16816F16F16 guard destination fragmentA fragmentB accumulator control)
2474          (branch
2475            SM86TensorCoreInteger8MatrixMultiplyAccumulate16x8x32Integer32
2476            destination
2477            fragmentA
2478            fragmentB
2479            accumulator
2480            control
2481            .
2482            sm86EncodeIMMA16832S8S8 guard destination fragmentA fragmentB accumulator control)
2483          (branch
2484            SM86LoadGlobal
2485            destination
2486            address
2487            offset
2488            control
2489            .
2490            sm86EncodeLoadGlobal guard destination address offset control)
2491          (branch
2492            SM86LoadGlobalWide
2493            destination
2494            address
2495            offset
2496            control
2497            .
2498            sm86EncodeLoadGlobalWide guard destination address offset control)
2499          (branch
2500            SM86WarpShuffle
2501            destination
2502            source
2503            lane
2504            segment
2505            mode
2506            control
2507            .
2508            sm86EncodeShuffle guard destination source lane segment mode control)
2509          (branch
2510            SM86LoadShared
2511            destination
2512            address
2513            offset
2514            control
2515            .
2516            sm86EncodeLoadShared guard destination address offset control)
2517          (branch
2518            SM86LoadSharedMatrix
2519            destination
2520            address
2521            offset
2522            count
2523            transpose
2524            control
2525            .
2526            sm86EncodeLoadSharedMatrix guard destination address offset count transpose control)
2527          (branch
2528            SM86StoreShared
2529            address
2530            value
2531            offset
2532            control
2533            .
2534            sm86EncodeStoreShared guard address value offset control)
2535          (branch
2536            SM86LoadGlobalToShared
2537            address
2538            offset
2539            source
2540            sourceOffset
2541            control
2542            .
2543            sm86EncodeLoadGlobalToShared guard address offset source sourceOffset control)
2544          (branch SM86CommitAsyncGroup control . sm86EncodeCommitAsyncGroup guard control)
2545          (branch
2546            SM86WaitAsyncGroups
2547            count
2548            control
2549            .
2550            sm86EncodeWaitAsyncGroups guard count control)
2551          (branch SM86BarrierSynchronize control . sm86EncodeBarrierSynchronize guard control)
2552          (branch
2553            SM86BarrierSynchronizeCount
2554            barrier
2555            threads
2556            control
2557            .
2558            sm86EncodeBarrierSynchronizeCount guard barrier threads control)
2559          (branch
2560            SM86StoreGlobal
2561            address
2562            value
2563            offset
2564            control
2565            .
2566            sm86EncodeStoreGlobal guard address value offset control)
2567          (branch
2568            SM86StoreGlobalWide
2569            address
2570            value
2571            offset
2572            control
2573            .
2574            sm86EncodeStoreGlobalWide guard address value offset control)
2575          (branch
2576            SM86StoreGlobal64
2577            address
2578            value
2579            offset
2580            control
2581            .
2582            sm86EncodeStoreGlobal64 guard address value offset control)
2583          (branch
2584            SM86ReduceGlobalAddFloat32
2585            address
2586            value
2587            offset
2588            control
2589            .
2590            sm86EncodeReduceGlobalAddFloat32 guard address value offset control)
2591          (branch
2592            SM86PredicateGreaterThanImmediate
2593            predicate
2594            source
2595            immediate
2596            control
2597            .
2598            sm86EncodePredicateGreater guard predicate source immediate control)
2599          (branch
2600            SM86Branch
2601            offset
2602            descriptor
2603            control
2604            .
2605            sm86EncodeBranch guard offset descriptor control)
2606          (branch SM86Exit control . sm86EncodeExit guard control)
2607          (branch SM86System operation control . sm86EncodeSystem guard operation control)))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.