2017-10-04 03:03:52 +08:00
|
|
|
// RUN: llvm-mc -triple amdgcn--amdpal -mcpu=kaveri -show-encoding %s | FileCheck %s --check-prefix=ASM
|
2020-07-20 15:39:14 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple amdgcn--amdpal -mcpu=kaveri -show-encoding %s | llvm-readobj --symbols -S --sd - | FileCheck %s --check-prefix=ELF
|
2017-10-04 03:03:52 +08:00
|
|
|
|
2017-10-12 06:41:09 +08:00
|
|
|
.amd_amdgpu_pal_metadata 0x12345678, 0xfedcba98, 0x2468ace0, 0xfdb97531
|
|
|
|
// ASM: .amd_amdgpu_pal_metadata 0x12345678,0xfedcba98,0x2468ace0,0xfdb97531
|
2017-10-04 03:03:52 +08:00
|
|
|
// ELF: SHT_NOTE
|
|
|
|
// ELF: 0000: 04000000 10000000 0C000000 414D4400
|
|
|
|
// ELF: 0010: 78563412 98BADCFE E0AC6824 3175B9FD
|
|
|
|
|