|
Packit Service |
084de1 |
/*
|
|
Packit Service |
084de1 |
* Copyright 2014-2019 The OpenSSL Project Authors. All Rights Reserved.
|
|
Packit Service |
084de1 |
*
|
|
Packit Service |
084de1 |
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
Packit Service |
084de1 |
* this file except in compliance with the License. You can obtain a copy
|
|
Packit Service |
084de1 |
* in the file LICENSE in the source distribution or at
|
|
Packit Service |
084de1 |
* https://www.openssl.org/source/license.html
|
|
Packit Service |
084de1 |
*/
|
|
Packit Service |
084de1 |
|
|
Packit Service |
084de1 |
#ifndef OSSL_CRYPTO_PPC_ARCH_H
|
|
Packit Service |
084de1 |
# define OSSL_CRYPTO_PPC_ARCH_H
|
|
Packit Service |
084de1 |
|
|
Packit Service |
084de1 |
extern unsigned int OPENSSL_ppccap_P;
|
|
Packit Service |
084de1 |
|
|
Packit Service |
084de1 |
/*
|
|
Packit Service |
084de1 |
* Flags' usage can appear ambiguous, because they are set rather
|
|
Packit Service |
084de1 |
* to reflect OpenSSL performance preferences than actual processor
|
|
Packit Service |
084de1 |
* capabilities.
|
|
Packit Service |
084de1 |
*/
|
|
Packit Service |
084de1 |
# define PPC_FPU64 (1<<0)
|
|
Packit Service |
084de1 |
# define PPC_ALTIVEC (1<<1)
|
|
Packit Service |
084de1 |
# define PPC_CRYPTO207 (1<<2)
|
|
Packit Service |
084de1 |
# define PPC_FPU (1<<3)
|
|
Packit Service |
084de1 |
# define PPC_MADD300 (1<<4)
|
|
Packit Service |
084de1 |
# define PPC_MFTB (1<<5)
|
|
Packit Service |
084de1 |
# define PPC_MFSPR268 (1<<6)
|
|
Packit Service |
084de1 |
|
|
Packit Service |
084de1 |
#endif
|