Skip to content

Core dumped without AVX2 instructiom (VM instance) #50

@sweihub

Description

@sweihub

Yes, I know that sonic-cpp relies on the AVX2 instruction, for most VM instance, especially the cloud VMs, there's no AVX2 supported yet. But why the simdjson works normally? Can you fall back to sse/sse2 if no AVX2?

❯ ./build/benchmark/bench
[1]    2624172 illegal hardware instruction (core dumped)  ./build/benchmark/bench

CPU flags

❯ cat  /proc/cpuinfo | grep flags | uniq

flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 ht syscall nx lm rep_good nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm pti

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions