[PATCH] D99122: [AMDGPU] Reserve ELF code
Tony Tye via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 22 19:00:57 PDT 2021
t-tye updated this revision to Diff 332497.
t-tye added a comment.
Address review comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99122/new/
https://reviews.llvm.org/D99122
Files:
llvm/docs/AMDGPUUsage.rst
llvm/include/llvm/BinaryFormat/ELF.h
Index: llvm/include/llvm/BinaryFormat/ELF.h
===================================================================
--- llvm/include/llvm/BinaryFormat/ELF.h
+++ llvm/include/llvm/BinaryFormat/ELF.h
@@ -734,6 +734,7 @@
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X3E = 0x03e,
EF_AMDGPU_MACH_AMDGCN_GFX90A = 0x03f,
+ EF_AMDGPU_MACH_AMDGCN_RESERVED_0X40 = 0x040,
// First/last AMDGCN-based processors.
EF_AMDGPU_MACH_AMDGCN_FIRST = EF_AMDGPU_MACH_AMDGCN_GFX600,
EF_AMDGPU_MACH_AMDGCN_LAST = EF_AMDGPU_MACH_AMDGCN_GFX90A,
Index: llvm/docs/AMDGPUUsage.rst
===================================================================
--- llvm/docs/AMDGPUUsage.rst
+++ llvm/docs/AMDGPUUsage.rst
@@ -1155,6 +1155,7 @@
*reserved* 0x03d Reserved.
*reserved* 0x03e Reserved.
``EF_AMDGPU_MACH_AMDGCN_GFX90A`` 0x03f ``gfx90a``
+ *reserved* 0x040 Reserved.
==================================== ========== =============================
Sections
@@ -4104,9 +4105,9 @@
work-group. Granularity is
device specific:
- GFX6:
+ GFX6
roundup(lds-size / (64 * 4))
- GFX7-GFX10:
+ GFX7-GFX10
roundup(lds-size / (128 * 4))
24 1 bit ENABLE_EXCEPTION_IEEE_754_FP Wavefront starts execution
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99122.332497.patch
Type: text/x-patch
Size: 1743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210323/46cc26de/attachment.bin>
More information about the llvm-commits
mailing list