[llvm] 53fed88 - [AMDGPU] Reserve AMDGPU ELF e_flags machine 0x44
Tony Tye via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 14 23:47:10 PDT 2021
Author: Tony Tye
Date: 2021-07-15T06:46:27Z
New Revision: 53fed88159d00a340797cb4966dce471bc9fba21
URL: https://github.com/llvm/llvm-project/commit/53fed88159d00a340797cb4966dce471bc9fba21
DIFF: https://github.com/llvm/llvm-project/commit/53fed88159d00a340797cb4966dce471bc9fba21.diff
LOG: [AMDGPU] Reserve AMDGPU ELF e_flags machine 0x44
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D106034
Added:
Modified:
llvm/docs/AMDGPUUsage.rst
llvm/include/llvm/BinaryFormat/ELF.h
Removed:
################################################################################
diff --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
index c84583233ce2f..0a25fda829fd3 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -1164,6 +1164,7 @@ The AMDGPU backend uses the following ELF header:
*reserved* 0x041 Reserved.
``EF_AMDGPU_MACH_AMDGCN_GFX1013`` 0x042 ``gfx1013``
*reserved* 0x043 Reserved.
+ *reserved* 0x044 Reserved.
==================================== ========== =============================
Sections
diff --git a/llvm/include/llvm/BinaryFormat/ELF.h b/llvm/include/llvm/BinaryFormat/ELF.h
index b8135ffcd7a2a..8660d40ca039b 100644
--- a/llvm/include/llvm/BinaryFormat/ELF.h
+++ b/llvm/include/llvm/BinaryFormat/ELF.h
@@ -744,10 +744,11 @@ enum : unsigned {
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X41 = 0x041,
EF_AMDGPU_MACH_AMDGCN_GFX1013 = 0x042,
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X43 = 0x043,
+ EF_AMDGPU_MACH_AMDGCN_RESERVED_0X44 = 0x044,
// First/last AMDGCN-based processors.
EF_AMDGPU_MACH_AMDGCN_FIRST = EF_AMDGPU_MACH_AMDGCN_GFX600,
- EF_AMDGPU_MACH_AMDGCN_LAST = EF_AMDGPU_MACH_AMDGCN_RESERVED_0X43,
+ EF_AMDGPU_MACH_AMDGCN_LAST = EF_AMDGPU_MACH_AMDGCN_RESERVED_0X44,
// Indicates if the "xnack" target feature is enabled for all code contained
// in the object.
More information about the llvm-commits
mailing list