mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 22:34:39 +00:00
Added missing test for [ARM] AttributeParser. Check that build attribute
Tag_Advanced_SIMD_arch is set correctly when targeting v8.1-a NEON. Differential Revision: http://reviews.llvm.org/D13281 llvm-svn: 249304
This commit is contained in:
parent
d32e304f9c
commit
44b7e37d53
@ -15,6 +15,13 @@
|
||||
@CHECK-OBJ-NEXT: TagName: FP_arch
|
||||
@CHECK-OBJ-NEXT: Description: VFPv3-D16
|
||||
|
||||
.eabi_attribute Tag_Advanced_SIMD_arch, 4
|
||||
@CHECK: .eabi_attribute 12, 4
|
||||
@CHECK-OBJ: Tag: 12
|
||||
@CHECK-OBJ-NEXT: Value: 4
|
||||
@CHECK-OBJ-NEXT: TagName: Advanced_SIMD_arch
|
||||
@CHECK-OBJ-NEXT: Description: ARMv8.1-a NEON
|
||||
|
||||
.eabi_attribute Tag_PCS_config, 4
|
||||
@CHECK: .eabi_attribute 13, 4
|
||||
@CHECK-OBJ: Tag: 13
|
||||
|
@ -193,7 +193,7 @@ void ARMAttributeParser::WMMX_arch(AttrType Tag, const uint8_t *Data,
|
||||
void ARMAttributeParser::Advanced_SIMD_arch(AttrType Tag, const uint8_t *Data,
|
||||
uint32_t &Offset) {
|
||||
static const char *Strings[] = {
|
||||
"Not Permitted", "NEONv1", "NEONv2+FMA", "ARMv8-a NEON"
|
||||
"Not Permitted", "NEONv1", "NEONv2+FMA", "ARMv8-a NEON", "ARMv8.1-a NEON"
|
||||
};
|
||||
|
||||
uint64_t Value = ParseInteger(Data, Offset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user