ObjFW  Check-in [62f3c342ab]

Overview
Comment:OFSystemInfoTests: Show AltiVec support on PPC64
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 62f3c342ab0eea40444674c4a3f052cde8ec6e4cccca6be3cedb96beb5ea1da0
User & Date: js on 2024-08-21 20:18:10
Other Links: manifest | tags
Context
2024-08-23
23:10
Implement extended attributes on Solaris check-in: 72254c0777 user: js tags: trunk
2024-08-21
20:18
OFSystemInfoTests: Show AltiVec support on PPC64 check-in: 62f3c342ab user: js tags: trunk
20:14
Make ObjFW compile on macOS/PowerPC 64 check-in: 7b0cd744dc user: js tags: trunk
Changes

Modified tests/OFSystemInfoTests.m from [655d6b2a77] to [8276e0c553].

128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
	    [OFSystemInfo supportsAVX512BitAlgorithms]);
	ADD_BOOL(@"Supports AVX-512 Float16 Instructions",
	    [OFSystemInfo supportsAVX512Float16Instructions]);
	ADD_BOOL(@"Supports AVX-512 BFloat16 Instructions",
	    [OFSystemInfo supportsAVX512BFloat16Instructions]);
#endif

#ifdef OF_POWERPC
	ADD_BOOL(@"Supports AltiVec", [OFSystemInfo supportsAltiVec]);
#endif

#ifdef OF_LOONGARCH64
	ADD_BOOL(@"Supports LSX", [OFSystemInfo supportsLSX]);
	ADD_BOOL(@"Supports LASX", [OFSystemInfo supportsLASX]);
#endif







|







128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
	    [OFSystemInfo supportsAVX512BitAlgorithms]);
	ADD_BOOL(@"Supports AVX-512 Float16 Instructions",
	    [OFSystemInfo supportsAVX512Float16Instructions]);
	ADD_BOOL(@"Supports AVX-512 BFloat16 Instructions",
	    [OFSystemInfo supportsAVX512BFloat16Instructions]);
#endif

#if defined(OF_POWERPC) || defined(OF_POWERPC64)
	ADD_BOOL(@"Supports AltiVec", [OFSystemInfo supportsAltiVec]);
#endif

#ifdef OF_LOONGARCH64
	ADD_BOOL(@"Supports LSX", [OFSystemInfo supportsLSX]);
	ADD_BOOL(@"Supports LASX", [OFSystemInfo supportsLASX]);
#endif