diff options
Diffstat (limited to 'crypto/sparc_arch.h')
-rw-r--r-- | crypto/sparc_arch.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/crypto/sparc_arch.h b/crypto/sparc_arch.h index e30d322a4ae2..99eafb331352 100644 --- a/crypto/sparc_arch.h +++ b/crypto/sparc_arch.h @@ -1,3 +1,12 @@ +/* + * Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + #ifndef __SPARC_ARCH_H__ # define __SPARC_ARCH_H__ @@ -5,11 +14,16 @@ # define SPARCV9_PREFER_FPU (1<<1) # define SPARCV9_VIS1 (1<<2) # define SPARCV9_VIS2 (1<<3)/* reserved */ -# define SPARCV9_FMADD (1<<4)/* reserved for SPARC64 V */ +# define SPARCV9_FMADD (1<<4) # define SPARCV9_BLK (1<<5)/* VIS1 block copy */ # define SPARCV9_VIS3 (1<<6) # define SPARCV9_RANDOM (1<<7) # define SPARCV9_64BIT_STACK (1<<8) +# define SPARCV9_FJAESX (1<<9)/* Fujitsu SPARC64 X AES */ +# define SPARCV9_FJDESX (1<<10)/* Fujitsu SPARC64 X DES, reserved */ +# define SPARCV9_FJHPCACE (1<<11)/* Fujitsu HPC-ACE, reserved */ +# define SPARCV9_IMA (1<<13)/* reserved */ +# define SPARCV9_VIS4 (1<<14)/* reserved */ /* * OPENSSL_sparcv9cap_P[1] is copy of Compatibility Feature Register, @@ -28,6 +42,9 @@ # define CFR_MONTMUL 0x00000200/* Supports MONTMUL opcodes */ # define CFR_MONTSQR 0x00000400/* Supports MONTSQR opcodes */ # define CFR_CRC32C 0x00000800/* Supports CRC32C opcodes */ +# define CFR_XMPMUL 0x00001000/* Supports XMPMUL opcodes */ +# define CFR_XMONTMUL 0x00002000/* Supports XMONTMUL opcodes */ +# define CFR_XMONTSQR 0x00004000/* Supports XMONTSQR opcodes */ # if defined(OPENSSL_PIC) && !defined(__PIC__) # define __PIC__ |