Differences From Artifact [b1b706eed5]:
- File src/OFSystemInfo.h — part of check-in [1dbc2e0c76] at 2015-10-17 12:01:06 on branch trunk — Provide MMX/SSE/AVX check methods only on x86(_64) (user: js, size: 4966) [annotate] [blame] [check-ins using] [more...]
To Artifact [cb7463de6c]:
- File
src/OFSystemInfo.h
— part of check-in
[952af5f0aa]
at
2015-10-24 20:53:32
on branch trunk
— OFSystemInfo.h: Use OF_X86 rather than OF_X86_ASM
The availability of the interface should not depend on whether inline
assembly is available or not, but rather on the CPU architecture.In case no inline assembly is available, false is returned for
everything. (user: js, size: 4958) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
82 83 84 85 86 87 88 | * * If the vendor could not be determined, nil is returned instead. * * @return The vendor of the CPU */ + (nullable OFString*)CPUVendor; | | | 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | * * If the vendor could not be determined, nil is returned instead. * * @return The vendor of the CPU */ + (nullable OFString*)CPUVendor; #if defined(OF_X86_64) || defined(OF_X86) || defined(DOXYGEN) /*! * @brief Returns whether the CPU supports MMX. * * @note This method is only available on x86 and x86_64. * * @return Whether the CPU supports MMX */ |
︙ | ︙ |