mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
a76ecb87cf
- Add target id support (https://clang.llvm.org/docs/ClangOffloadBundler.html#target-id) - Add code object v4 support (https://llvm.org/docs/AMDGPUUsage.html#elf-code-object) - Add kernarg_size to kernel descriptor - Change trap handler ABI to no longer move queue pointer into s[0:1] - Cleanup ELF definitions - Add V2, V3, V4 suffixes to make a clear distinction for code object version - Consolidate note names Differential Revision: https://reviews.llvm.org/D95638
14 lines
520 B
ArmAsm
14 lines
520 B
ArmAsm
# RUN: llvm-mc -preserve-comments -triple amdgcn-amd- %s >%t-1.s
|
|
# RUN: llvm-mc -preserve-comments -triple amdgcn-amd- %t-1.s >%t-2.s
|
|
# RUN: diff %t-1.s %t-2.s
|
|
|
|
# Test that AMDGPU assembly round-trips when run through MC; the first
|
|
# transition from hand-written to "canonical" output may introduce some small
|
|
# differences, so we don't include the initial input in the comparison.
|
|
|
|
.text
|
|
|
|
# The AMDGPU asm parser didn't consume the end of statement
|
|
# consistently, which led to extra empty lines in the output.
|
|
s_nop 0
|