llvm.org GIT mirror llvm / f008d34
[arm] Refine ARMBuildAttrs.h. This commit cleans up some comments in ARMBuildAttrs.h. Besides, this commit fixes an error related to AllowWMMXv1 and AllowWMMXv2 (although they are not used currently.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194327 91177308-0d34-0410-b5e6-96231b3b80d8 Logan Chien 6 years ago
1 changed file(s) with 8 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
104104
105105 // The following have a lot of common use cases
106106 enum {
107 //ARMISAUse (=8), uleb128 and THUMBISAUse (=9), uleb128
108107 Not_Allowed = 0,
109108 Allowed = 1,
110109
111 // FP_arch (=10), uleb128 (formerly Tag_VFP_arch = 10)
110 // Tag_ARM_ISA_use (=8), uleb128
111
112 // Tag_THUMB_ISA_use, (=9), uleb128
113 AllowThumb32 = 2, // 32-bit Thumb (implies 16-bit instructions)
114
115 // Tag_FP_arch (=10), uleb128 (formerly Tag_VFP_arch = 10)
112116 AllowFPv2 = 2, // v2 FP ISA permitted (implies use of the v1 FP ISA)
113117 AllowFPv3A = 3, // v3 FP ISA permitted (implies use of the v2 FP ISA)
114118 AllowFPv3B = 4, // v3 FP ISA permitted, but only D0-D15, S0-S31
118122 AllowFPARMv8B = 8, // Use of the ARM v8-A FP ISA was permitted, but only D0-D15, S0-S31
119123
120124 // Tag_WMMX_arch, (=11), uleb128
121 AllowThumb32 = 2, // 32-bit Thumb (implies 16-bit instructions)
122
123 // Tag_WMMX_arch, (=11), uleb128
124 AllowWMMXv1 = 2, // The user permitted this entity to use WMMX v2
125 AllowWMMXv1 = 1, // The user permitted this entity to use WMMX v1
126 AllowWMMXv2 = 2, // The user permitted this entity to use WMMX v2
125127
126128 // Tag_Advanced_SIMD_arch, (=12), uleb128
127129 AllowNeon = 1, // SIMDv1 was permitted