LoongArchTargetParser.def 725 B

12345678910111213141516171819202122232425
  1. #ifndef LOONGARCH_FEATURE
  2. #define LOONGARCH_FEATURE(NAME, KIND)
  3. #endif
  4. LOONGARCH_FEATURE("invalid", FK_INVALID)
  5. LOONGARCH_FEATURE("none", FK_NONE)
  6. LOONGARCH_FEATURE("+64bit", FK_64BIT)
  7. LOONGARCH_FEATURE("+f", FK_FP32)
  8. LOONGARCH_FEATURE("+d", FK_FP64)
  9. LOONGARCH_FEATURE("+lsx", FK_LSX)
  10. LOONGARCH_FEATURE("+lasx", FK_LASX)
  11. LOONGARCH_FEATURE("+lbt", FK_LBT)
  12. LOONGARCH_FEATURE("+lvz", FK_LVZ)
  13. #undef LOONGARCH_FEATURE
  14. #ifndef LOONGARCH_ARCH
  15. #define LOONGARCH_ARCH(NAME, KIND, FEATURES)
  16. #endif
  17. LOONGARCH_ARCH("invalid", AK_INVALID, FK_INVALID)
  18. LOONGARCH_ARCH("loongarch64", AK_LOONGARCH64, FK_64BIT | FK_FP32 | FK_FP64)
  19. LOONGARCH_ARCH("la464", AK_LA464, FK_64BIT | FK_FP32 | FK_FP64 | FK_LSX | FK_LASX)
  20. #undef LOONGARCH_ARCH