osprey/kgccfe/gnu/java/javaop.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

union  Word
union  DWord

Defines

#define int16   short
#define int32   long
#define int64   long long
#define uint64   unsigned int64
#define jfloat   float
#define jdouble   double
#define jword   uint32
#define IMMEDIATE_u1   (PC++, CHECK_PC_IN_RANGE(PC), BCODE[PC-1])
#define IMMEDIATE_s1   (PC++, CHECK_PC_IN_RANGE(PC), (signed char)BCODE[PC-1])
#define IMMEDIATE_s2
#define IMMEDIATE_u2
#define IMMEDIATE_s4
#define UT8_CHAR_LENGTH(PREFIX_CHAR)

Typedefs

typedef unsigned char uint8
typedef unsigned int16 uint16
typedef unsigned int32 uint32
typedef uint16 jchar
typedef char jbyte
typedef int16 jshort
typedef int32 jint
typedef int64 jlong
typedef voidjref

Functions/Subroutines

static jfloat WORD_TO_FLOAT (jword w)
static jint WORD_TO_INT (jword w)
static jlong WORDS_TO_LONG (jword hi, jword lo)
static jdouble WORDS_TO_DOUBLE (jword hi, jword lo)


Define Documentation

#define IMMEDIATE_s1   (PC++, CHECK_PC_IN_RANGE(PC), (signed char)BCODE[PC-1])

Definition at line 89 of file javaop.h.

Referenced by verify_jvm_instructions().

#define IMMEDIATE_s2

Value:

(PC+=2, CHECK_PC_IN_RANGE(PC), \
  (signed char) BCODE[PC-2] * 256 + BCODE[PC-1])

Definition at line 92 of file javaop.h.

Referenced by verify_jvm_instructions().

#define IMMEDIATE_s4

Value:

(PC+=4, CHECK_PC_IN_RANGE(PC), \
  (WORD_TO_INT((BCODE[PC-4] << 24) | (BCODE[PC-3] << 16) \
         | (BCODE[PC-2] << 8) | (BCODE[PC-1]))))

Definition at line 100 of file javaop.h.

Referenced by verify_jvm_instructions().

#define IMMEDIATE_u1   (PC++, CHECK_PC_IN_RANGE(PC), BCODE[PC-1])

Definition at line 86 of file javaop.h.

Referenced by verify_jvm_instructions().

#define IMMEDIATE_u2

Value:

(PC+=2, CHECK_PC_IN_RANGE(PC),\
  (BCODE[PC-2] * 256 + BCODE[PC-1]))

Definition at line 96 of file javaop.h.

Referenced by verify_jvm_instructions().

#define int16   short

#define int32   long

#define int64   long long

#define jdouble   double

Definition at line 67 of file javaop.h.

Referenced by DEFUN().

#define jfloat   float

Definition at line 62 of file javaop.h.

Referenced by DEFUN().

#define jword   uint32

#define uint64   unsigned int64

Definition at line 46 of file javaop.h.

Referenced by _ALLOCATE(), _frwd(), _fwwd(), _REALLOC(), bext_ll(), btest_ll(), DEFUN(), and mvbits_long_long().

#define UT8_CHAR_LENGTH ( PREFIX_CHAR   ) 

Value:

((unsigned char)(PREFIX_CHAR) < 128 ? 1 \
   : ((PREFIX_CHAR) & 0x40) == 0 ? -1 \
   : ((PREFIX_CHAR) & 0x20) == 0 ? 2 \
   : ((PREFIX_CHAR) & 0x10) == 0 ? 3 \
   : ((PREFIX_CHAR) & 0x08) == 0 ? 4 : 5)

Definition at line 151 of file javaop.h.


Typedef Documentation

typedef char jbyte

Definition at line 53 of file javaop.h.

typedef uint16 jchar

Definition at line 49 of file javaop.h.

typedef int32 jint

Definition at line 56 of file javaop.h.

typedef int64 jlong

Definition at line 57 of file javaop.h.

typedef void* jref

Definition at line 58 of file javaop.h.

typedef int16 jshort

Definition at line 55 of file javaop.h.

typedef unsigned int16 uint16

Definition at line 33 of file javaop.h.

typedef unsigned int32 uint32

Definition at line 38 of file javaop.h.

typedef unsigned char uint8

Definition at line 29 of file javaop.h.


Function Documentation

static jfloat WORD_TO_FLOAT ( jword  w  )  [inline, static]

Definition at line 106 of file javaop.h.

References Word::f, and Word::i.

static jint WORD_TO_INT ( jword  w  )  [inline, static]

Definition at line 117 of file javaop.h.

References n.

Referenced by push_long_const().

static jdouble WORDS_TO_DOUBLE ( jword  hi,
jword  lo 
) [inline, static]

Definition at line 138 of file javaop.h.

References DWord::d, DWord::l, and WORDS_TO_LONG().

static jlong WORDS_TO_LONG ( jword  hi,
jword  lo 
) [inline, static]

Definition at line 126 of file javaop.h.

Referenced by WORDS_TO_DOUBLE().


Generated on Wed Apr 8 15:50:42 2009 for Open64 by  doxygen 1.5.6