You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cpu_s390x.go 1.0KB

123456789101112131415161718192021222324252627282930
  1. // Copyright 2020 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package cpu
  5. const cacheLineSize = 256
  6. func initOptions() {
  7. options = []option{
  8. {Name: "zarch", Feature: &S390X.HasZARCH},
  9. {Name: "stfle", Feature: &S390X.HasSTFLE},
  10. {Name: "ldisp", Feature: &S390X.HasLDISP},
  11. {Name: "eimm", Feature: &S390X.HasEIMM},
  12. {Name: "dfp", Feature: &S390X.HasDFP},
  13. {Name: "etf3eh", Feature: &S390X.HasETF3EH},
  14. {Name: "msa", Feature: &S390X.HasMSA},
  15. {Name: "aes", Feature: &S390X.HasAES},
  16. {Name: "aescbc", Feature: &S390X.HasAESCBC},
  17. {Name: "aesctr", Feature: &S390X.HasAESCTR},
  18. {Name: "aesgcm", Feature: &S390X.HasAESGCM},
  19. {Name: "ghash", Feature: &S390X.HasGHASH},
  20. {Name: "sha1", Feature: &S390X.HasSHA1},
  21. {Name: "sha256", Feature: &S390X.HasSHA256},
  22. {Name: "sha3", Feature: &S390X.HasSHA3},
  23. {Name: "sha512", Feature: &S390X.HasSHA512},
  24. {Name: "vx", Feature: &S390X.HasVX},
  25. {Name: "vxe", Feature: &S390X.HasVXE},
  26. }
  27. }