• jinbo's avatar
    x86 avx2: small fixes for loongarch · 62f40d4b
    jinbo authored
    1. fix typo:
      Modify simde_mm256_bslli_epi128 to simde_mm256_bsrli_epi128.
    2. fix loongarch compiler errors:
      At present, the instructions like slli/srli/srai on loongarch
      only accept immediate constant values for shit count, so in order to
      avoid compiler errors in the build process, we need to use
      sll/srl/sra version instead. In the feature, if the compiler
      supports the formers, we can restore them.
    62f40d4b
avx2.h 212 KB