compiler-explorer / compiler-explorer/compiler-explorer

[COMPILER REQUEST]: SPIR-V / DXIL to SASS / GCN ISA / RDNA ISA

Open
#8,307 1 comment 1 reaction 0 assignees View on GitHub
new-compilers request
Dominant language
TypeScript
Stars
19.1k
Forks
2.1k
Avg merge
3d 15h
Merged PRs (30d)
67

Description

### Compiler name

Radeon GPU Analyzer

### Compiler version

2.14

### Compiler language

SPIR-V, DXIL

### Compiler homepage

https://github.com/GPUOpen-Tools/radeon_gpu_analyzer

### Motivation

Godbolt can currently compile high level shading languages (GLSL, HLSL, Slang) to intermediate assembly (SPIR-V, DXIL), but not to true machine code (SASS for Nvidia, GCN / RDNA ISA for AMD), making it only partially useful for graphics developers.

On the AMD side, the main compiler "Radeon GPU Analyzer" (RGA) is available and open source, so it should be doable. Same for Mesa's ACO compiler.

On the Nvidia side, the vendor compiler is not officially distributed, although Nvidia Nsight Graphics can display shader SASS, so there might be something to hack there. Mesa's NVK compiler could also be used.

At some point it would probably be better to have two separate issue for AMD and Nvidia, but for now I think it is interesting to keep it as one to gather all relevant opinions and information.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.