]>
Commit | Line | Data |
---|---|---|
d2e9e320 | 1 | /* |
72a7a702 | 2 | * Copyright 2014-2019 The OpenSSL Project Authors. All Rights Reserved. |
d2e9e320 RS |
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 | ||
04473165 RS |
10 | #ifndef HEADER_PPC_ARCH_H |
11 | # define HEADER_PPC_ARCH_H | |
0e716d92 AP |
12 | |
13 | extern unsigned int OPENSSL_ppccap_P; | |
14 | ||
2688d999 AP |
15 | /* |
16 | * Flags' usage can appear ambiguous, because they are set rather | |
17 | * to reflect OpenSSL performance preferences than actual processor | |
18 | * capabilities. | |
19 | */ | |
0f113f3e MC |
20 | # define PPC_FPU64 (1<<0) |
21 | # define PPC_ALTIVEC (1<<1) | |
22 | # define PPC_CRYPTO207 (1<<2) | |
2688d999 | 23 | # define PPC_FPU (1<<3) |
e0e53282 | 24 | # define PPC_MADD300 (1<<4) |
b6769a38 BE |
25 | # define PPC_MFTB (1<<5) |
26 | # define PPC_MFSPR268 (1<<6) | |
0e716d92 AP |
27 | |
28 | #endif |