mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-01 10:11:20 +08:00
Updated comments [skip ci]
This commit is contained in:
@@ -218,10 +218,11 @@ SupportsCpuFeature(unsigned int feature)
|
||||
if ((exx[2] & CPU_FEATURE_OSXSAVE) != CPU_FEATURE_OSXSAVE)
|
||||
return false;
|
||||
|
||||
/* Check YMM registers are enabled */
|
||||
/* Check XMM and YMM registers are enabled */
|
||||
if ((_xgetbv(0) & 6) != 6)
|
||||
return false;
|
||||
|
||||
/* Now check features */
|
||||
return (exx[2] & feature) == feature;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user