Replies: 2 comments 5 replies
-
|
不用wsl,用windows宿主机,也是同样的问题 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
结论:和 xmake 无关。 flags 只检查是否能传给编译器,影响程序运行时行为需要自己检查。 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我的cpu为 AMD 5800U,用wsl编译,这个U检测是不支持avx512的,xmake版本 v3.0.6+20260104
以下是支持的指令
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm但是使用add_vector("all")或者add_vector("avx512),检测出来是支持的,导致编译出来的程序会崩溃,不知道是cpu问题还是xmake检测的问题
Beta Was this translation helpful? Give feedback.
All reactions