OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
sparcv9cap.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <setjmp.h>
#include <signal.h>
#include <sys/time.h>
#include <openssl/bn.h>

Go to the source code of this file.

Macros

#define SPARCV9_TICK_PRIVILEGED   (1<<0)
 
#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 */
 

Functions

int bn_mul_mont (BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np, const BN_ULONG *n0, int num)
 
unsigned long _sparcv9_rdtick (void)
 
void _sparcv9_vis1_probe (void)
 
unsigned long _sparcv9_vis1_instrument (void)
 
void _sparcv9_vis2_probe (void)
 
void _sparcv9_fmadd_probe (void)
 
unsigned long OPENSSL_rdtsc (void)
 
void OPENSSL_cpuid_setup (void)
 

Macro Definition Documentation

#define SPARCV9_FMADD   (1<<4) /* reserved for SPARC64 V */

Definition at line 13 of file sparcv9cap.c.

#define SPARCV9_PREFER_FPU   (1<<1)

Definition at line 10 of file sparcv9cap.c.

#define SPARCV9_TICK_PRIVILEGED   (1<<0)

Definition at line 9 of file sparcv9cap.c.

#define SPARCV9_VIS1   (1<<2)

Definition at line 11 of file sparcv9cap.c.

#define SPARCV9_VIS2   (1<<3) /* reserved */

Definition at line 12 of file sparcv9cap.c.

Function Documentation

void _sparcv9_fmadd_probe ( void  )
unsigned long _sparcv9_rdtick ( void  )
unsigned long _sparcv9_vis1_instrument ( void  )
void _sparcv9_vis1_probe ( void  )
void _sparcv9_vis2_probe ( void  )
int bn_mul_mont ( BN_ULONG *  rp,
const BN_ULONG *  ap,
const BN_ULONG *  bp,
const BN_ULONG *  np,
const BN_ULONG *  n0,
int  num 
)

Definition at line 17 of file sparcv9cap.c.

void OPENSSL_cpuid_setup ( void  )

Definition at line 168 of file sparcv9cap.c.

unsigned long OPENSSL_rdtsc ( void  )

Definition at line 36 of file sparcv9cap.c.