Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

alpha_asm.h File Reference

#include <inttypes.h>

Go to the source code of this file.


Defines

#define GNUC_PREREQ(maj, min)   0
#define AMASK_BWX   (1 << 0)
#define AMASK_FIX   (1 << 1)
#define AMASK_CIX   (1 << 2)
#define AMASK_MVI   (1 << 8)
#define HAVE_BWX()   (amask(AMASK_BWX) == 0)
#define HAVE_FIX()   (amask(AMASK_FIX) == 0)
#define HAVE_MVI()   (amask(AMASK_MVI) == 0)
#define HAVE_CIX()   (amask(AMASK_CIX) == 0)
#define ldq(p)   (*(const uint64_t *) (p))
#define ldl(p)   (*(const int32_t *) (p))
#define stl(l, p)   do { *(uint32_t *) (p) = (l); } while (0)
#define stq(l, p)   do { *(uint64_t *) (p) = (l); } while (0)
#define sextw(x)   ((int16_t) (x))

Functions

uint64_t BYTE_VEC (uint64_t x)
uint64_t WORD_VEC (uint64_t x)

Define Documentation

#define AMASK_BWX   (1 << 0)
 

Definition at line 35 of file alpha_asm.h.

#define AMASK_CIX   (1 << 2)
 

Definition at line 37 of file alpha_asm.h.

#define AMASK_FIX   (1 << 1)
 

Definition at line 36 of file alpha_asm.h.

#define AMASK_MVI   (1 << 8)
 

Definition at line 38 of file alpha_asm.h.

#define GNUC_PREREQ maj,
min       0
 

Definition at line 32 of file alpha_asm.h.

 
#define HAVE_BWX      (amask(AMASK_BWX) == 0)
 

Definition at line 43 of file alpha_asm.h.

 
#define HAVE_CIX      (amask(AMASK_CIX) == 0)
 

Definition at line 58 of file alpha_asm.h.

 
#define HAVE_FIX      (amask(AMASK_FIX) == 0)
 

Definition at line 48 of file alpha_asm.h.

 
#define HAVE_MVI      (amask(AMASK_MVI) == 0)
 

Definition at line 53 of file alpha_asm.h.

#define ldl p       (*(const int32_t *) (p))
 

Definition at line 76 of file alpha_asm.h.

#define ldq p       (*(const uint64_t *) (p))
 

Definition at line 75 of file alpha_asm.h.

#define sextw      ((int16_t) (x))
 

Definition at line 79 of file alpha_asm.h.

#define stl l,
p       do { *(uint32_t *) (p) = (l); } while (0)
 

Definition at line 77 of file alpha_asm.h.

Referenced by write_typedefs(), and zzchar_().

#define stq l,
p       do { *(uint64_t *) (p) = (l); } while (0)
 

Definition at line 78 of file alpha_asm.h.


Function Documentation

uint64_t BYTE_VEC uint64_t    x [inline, static]
 

Definition at line 61 of file alpha_asm.h.

00062 {
00063     x |= x <<  8;
00064     x |= x << 16;
00065     x |= x << 32;
00066     return x;
00067 }

uint64_t WORD_VEC uint64_t    x [inline, static]
 

Definition at line 68 of file alpha_asm.h.

00069 {
00070     x |= x << 16;
00071     x |= x << 32;
00072     return x;
00073 }
 

Powered by Plone

This site conforms to the following standards: