A local copy of OpenSSL from GitHub
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.

26 lines
747 B

  1. /*
  2. * Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved.
  3. *
  4. * Licensed under the OpenSSL license (the "License"). You may not use
  5. * this file except in compliance with the License. You can obtain a copy
  6. * in the file LICENSE in the source distribution or at
  7. * https://www.openssl.org/source/license.html
  8. */
  9. #ifndef __PPC_ARCH_H__
  10. # define __PPC_ARCH_H__
  11. extern unsigned int OPENSSL_ppccap_P;
  12. /*
  13. * Flags' usage can appear ambiguous, because they are set rather
  14. * to reflect OpenSSL performance preferences than actual processor
  15. * capabilities.
  16. */
  17. # define PPC_FPU64 (1<<0)
  18. # define PPC_ALTIVEC (1<<1)
  19. # define PPC_CRYPTO207 (1<<2)
  20. # define PPC_FPU (1<<3)
  21. # define PPC_MADD300 (1<<4)
  22. #endif