Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include "arith.internal.h"
#include "int64.h"
Go to the source code of this file.
Classes | |
union | u |
Defines | |
#define | YMP 7 |
#define | C90 8 |
#define | T3D 10 |
#define | T90 11 |
#define | T3E 12 |
#define | CRAY_FLOAT_64 (UNROUNDED_TYPE(AR_Float_Cray1_64)) |
#define | CRAY_FLOAT_128 (UNROUNDED_TYPE(AR_Float_Cray1_128)) |
#define | CRAY_COMPLEX_64 (UNROUNDED_TYPE(AR_Complex_Cray1_64)) |
#define | CRAY_COMPLEX_128 (UNROUNDED_TYPE(AR_Complex_Cray1_128)) |
#define | IEEE_FLOAT_64 (UNROUNDED_TYPE(AR_Float_IEEE_NR_64)) |
#define | IEEE_FLOAT_128 (UNROUNDED_TYPE(AR_Float_IEEE_NR_128)) |
#define | IEEE_COMPLEX_64 (UNROUNDED_TYPE(AR_Complex_IEEE_NR_64)) |
#define | IEEE_COMPLEX_128 (UNROUNDED_TYPE(AR_Complex_IEEE_NR_128)) |
#define | DATA 0 /* Implicit data segment identifier */ |
#define | STACK 1 /* Stack segment identifier */ |
#define | STACK_SIZE 20480 /* # words to allocate for stack space */ |
#define | MAX_ARGS 8 /* Max # of arguments supported */ |
#define | MAX_EXT_ADDRS 16 /* Max # of EXT addresses passed */ |
#define | RMMASK 6 /* Masks RM[01] bits in SR0 */ |
#define | INTERRUPT_INV 8 |
#define | INTERRUPT_DIV 16 |
#define | INTERRUPT_OVF 32 |
#define | INTERRUPT_UNF 64 |
#define | INTERRUPT_INX 128 |
#define | INTERRUPT_INP 256 |
#define | DISASM0(fmt) |
#define | DISASM1(fmt, x) |
#define | DISASM2(fmt, x, y) |
#define | DISASM3(fmt, x, y, z) |
#define | DISASM4(fmt, x, y, z, v) |
#define | DISASM5(fmt, x, y, z, v, w) |
#define | DISASMB(b, c, ft) |
#define | DISASMT(t, c, ft) |
#define | DISASMV(v, ft) |
#define | set_a_size(s) |
#define | NOINTRIN 1 /* Unknown/unsupported intrinsic name */ |
#define | ARITHERR 2 /* Arithmetic error detected by intrinsic */ |
#define | EXTERROR 3 /* Unsupported external called by intrinsic */ |
#define | SETERRNO 4 /* Set errno = ERANGE */ |
#define | IFACEERR 5 /* Unsupported simulation interface */ |
#define | HOSTEXT 6 /* Call host system external */ |
#define | UNIMPL_INST 7 /* Unimplemented instruction encountered */ |
#define | UNIMPL_PRFX 8 /* Unimplemented prefixed instruction encountered */ |
#define | getp1(pc) ( (((int) code[(pc)*2])<<8) | code[(pc)*2+1] ) |
#define | prefix_check(p) if (p) { status = UNIMPL_PRFX; break; } else |
#define | LO32(i) ((int64) (((u*)&(i))->ui32.p2)) |
#define | HI32(i) ((int64) (((u*)&(i))->ui32.p1)) |
#define | CRAY_AHDR_SIZE 8 /* # words in cray a.out files */ |
#define | PAGESZ 256 /* # words in data space pages read in */ |
#define | PAGESHFT 8 /* Shift to get page # */ |
Typedefs | |
typedef unsigned long long | int64 |
Functions | |
static void | open_arith_file () |
static int64 | load_pvp_word (long vaddr) |
static void | store_pvp_word (long vaddr, int64 word) |
static int | ar_imul64u (int64 *result, int64 opnd1, int64 opnd2) |
int | ar_clear_sim_state (AR_TYPE resulttype) |
int | ar_ext_address (int64 *intaddr, const char *extaddr, int length) |
int | ar_pass_arg_address (const ar_data *arg, const AR_TYPE *argtype) |
int | ar_pass_ext_address (int64 *extdesc, const char *addr, int nwords) |
int | ar_pass_fcd_address (const char *str, long lenstr) |
int | ar_pass_arg_value (const ar_data *arg, const AR_TYPE *argtype) |
int | ar_put_real_address (AR_INT_64 *extdesc) |
int | ar_get_function_value (ar_data *result, AR_TYPE *resulttype) |
static int | call_host_external (char *func) |
static int | ar_check_status (int status, AR_IEEE_64 *rr) |
int | ar_sim (char *intrinsic) |
Variables | |
static const char | USMID [] = "@(#)30/cray1_sim.c 30.0 03/18/98 12:06:00" |
int | ar_mach_type = 0 |
int | ar_rounding_modes = 0 |
int | ar_underflow_modes = 0 |
char | AR_libmv2 [] |
char | AR_version [] |
static AR_TYPE | integer_64_s = AR_Int_64_S |
static AR_TYPE | integer_64_u = AR_Int_64_U |
static AR_TYPE | integer_128_s = AR_Int_128_S |
static AR_TYPE | integer_128_u = AR_Int_128_U |
static AR_TYPE | cray_float_64 = (AR_TYPE) CRAY_FLOAT_64 |
static AR_TYPE | cray_float_128 = (AR_TYPE) CRAY_FLOAT_128 |
static AR_TYPE | cray_complex_64 = (AR_TYPE) CRAY_COMPLEX_64 |
static AR_TYPE | cray_complex_128 = (AR_TYPE) CRAY_COMPLEX_128 |
static AR_TYPE | ieee_float_64 = (AR_TYPE) IEEE_FLOAT_64 |
static AR_TYPE | ieee_float_128 = (AR_TYPE) IEEE_FLOAT_128 |
static AR_TYPE | ieee_complex_64 = (AR_TYPE) IEEE_COMPLEX_64 |
static AR_TYPE | ieee_complex_128 = (AR_TYPE) IEEE_COMPLEX_128 |
static int | ar_sim_version = 0 |
static unsigned char * | code = NULL |
static int64 * | stack = NULL |
static int | JSZP |
static int | VSZ |
static int64 | AMASK |
static int64 | ASB |
static int64 | A [8] |
static int64 | S [8] |
static int64 | B [64] |
static int64 | T [64] |
static int | SR0 |
static int | VL |
static int64 | VM |
static int64 | VM1 |
static int64 * | V |
static int | numargs |
static int | numargwds |
static int | n_external_addresses |
static char * | external_address [MAX_EXT_ADDRS] |
static long | external_length [MAX_EXT_ADDRS] |
static int | idf_fd |
static long | idf_size |
static long | text_size |
static long | data_size |
static long | data_offset |
static int | shared_text = 0 |
static long | data_address |
static int64 ** | data_page |
static int | ndata_pages |
Definition at line 651 of file cray1_sim.c.
Referenced by ar_sim().
#define C90 8 |
Definition at line 53 of file cray1_sim.c.
Referenced by open_arith_file().
#define CRAY_AHDR_SIZE 8 /* # words in cray a.out files */ |
Definition at line 3229 of file cray1_sim.c.
Referenced by open_arith_file().
#define CRAY_COMPLEX_128 (UNROUNDED_TYPE(AR_Complex_Cray1_128)) |
Definition at line 73 of file cray1_sim.c.
Referenced by ar_get_function_value(), ar_pass_arg_address(), and ar_pass_arg_value().
#define CRAY_COMPLEX_64 (UNROUNDED_TYPE(AR_Complex_Cray1_64)) |
Definition at line 72 of file cray1_sim.c.
Referenced by ar_get_function_value(), ar_pass_arg_address(), and ar_pass_arg_value().
#define CRAY_FLOAT_128 (UNROUNDED_TYPE(AR_Float_Cray1_128)) |
Definition at line 71 of file cray1_sim.c.
Referenced by ar_get_function_value(), ar_pass_arg_address(), and ar_pass_arg_value().
#define CRAY_FLOAT_64 (UNROUNDED_TYPE(AR_Float_Cray1_64)) |
Definition at line 70 of file cray1_sim.c.
Referenced by ar_get_function_value(), ar_pass_arg_address(), and ar_pass_arg_value().
Definition at line 103 of file cray1_sim.c.
Referenced by ar_ext_address(), load_pvp_word(), and store_pvp_word().
#define DISASM0 | ( | fmt | ) |
Definition at line 215 of file cray1_sim.c.
Referenced by ar_sim().
#define DISASM1 | ( | fmt, | |
x | |||
) |
Definition at line 216 of file cray1_sim.c.
Referenced by ar_sim().
#define DISASM2 | ( | fmt, | |
x, | |||
y | |||
) |
Definition at line 217 of file cray1_sim.c.
Referenced by ar_sim().
#define DISASM3 | ( | fmt, | |
x, | |||
y, | |||
z | |||
) |
Definition at line 218 of file cray1_sim.c.
Referenced by ar_sim().
#define DISASM4 | ( | fmt, | |
x, | |||
y, | |||
z, | |||
v | |||
) |
Definition at line 219 of file cray1_sim.c.
Referenced by ar_sim().
#define DISASM5 | ( | fmt, | |
x, | |||
y, | |||
z, | |||
v, | |||
w | |||
) |
Definition at line 220 of file cray1_sim.c.
Referenced by ar_sim().
Definition at line 221 of file cray1_sim.c.
Referenced by ar_sim().
Definition at line 222 of file cray1_sim.c.
Referenced by ar_sim().
#define DISASMV | ( | v, | |
ft | |||
) |
Definition at line 223 of file cray1_sim.c.
Referenced by ar_sim().
#define EXTERROR 3 /* Unsupported external called by intrinsic */ |
Definition at line 652 of file cray1_sim.c.
Referenced by ar_sim().
Definition at line 663 of file cray1_sim.c.
Referenced by ar_sim().
Definition at line 3195 of file cray1_sim.c.
Referenced by ar_imul64u().
#define HOSTEXT 6 /* Call host system external */ |
Definition at line 655 of file cray1_sim.c.
Referenced by ar_sim().
#define IEEE_COMPLEX_128 (UNROUNDED_TYPE(AR_Complex_IEEE_NR_128)) |
Definition at line 78 of file cray1_sim.c.
Referenced by ar_get_function_value(), ar_pass_arg_address(), and ar_pass_arg_value().
#define IEEE_COMPLEX_64 (UNROUNDED_TYPE(AR_Complex_IEEE_NR_64)) |
Definition at line 77 of file cray1_sim.c.
Referenced by ar_get_function_value(), ar_pass_arg_address(), and ar_pass_arg_value().
#define IEEE_FLOAT_128 (UNROUNDED_TYPE(AR_Float_IEEE_NR_128)) |
Definition at line 76 of file cray1_sim.c.
Referenced by ar_get_function_value(), ar_pass_arg_address(), and ar_pass_arg_value().
#define IEEE_FLOAT_64 (UNROUNDED_TYPE(AR_Float_IEEE_NR_64)) |
Definition at line 75 of file cray1_sim.c.
Referenced by ar_get_function_value(), ar_pass_arg_address(), and ar_pass_arg_value().
Definition at line 654 of file cray1_sim.c.
Referenced by ar_sim().
#define INTERRUPT_DIV 16 |
Definition at line 148 of file cray1_sim.c.
Referenced by ar_check_status(), and ar_sim().
#define INTERRUPT_INP 256 |
Definition at line 152 of file cray1_sim.c.
Referenced by ar_sim().
#define INTERRUPT_INV 8 |
Definition at line 147 of file cray1_sim.c.
Referenced by ar_check_status(), and ar_sim().
#define INTERRUPT_INX 128 |
Definition at line 151 of file cray1_sim.c.
Referenced by ar_sim().
#define INTERRUPT_OVF 32 |
Definition at line 149 of file cray1_sim.c.
Referenced by ar_check_status(), and ar_sim().
#define INTERRUPT_UNF 64 |
Definition at line 150 of file cray1_sim.c.
Referenced by ar_sim().
Definition at line 3194 of file cray1_sim.c.
Referenced by ar_imul64u().
Definition at line 108 of file cray1_sim.c.
Referenced by ar_pass_arg_address(), ar_pass_arg_value(), ar_pass_ext_address(), ar_pass_fcd_address(), load_pvp_word(), open_arith_file(), and store_pvp_word().
#define MAX_EXT_ADDRS 16 /* Max # of EXT addresses passed */ |
Definition at line 109 of file cray1_sim.c.
Referenced by ar_ext_address().
Definition at line 650 of file cray1_sim.c.
Referenced by ar_sim().
#define PAGESHFT 8 /* Shift to get page # */ |
Definition at line 3232 of file cray1_sim.c.
Referenced by load_pvp_word(), open_arith_file(), and store_pvp_word().
Definition at line 3231 of file cray1_sim.c.
Referenced by load_pvp_word(), open_arith_file(), and store_pvp_word().
#define prefix_check | ( | p | ) | if (p) { status = UNIMPL_PRFX; break; } else |
Definition at line 666 of file cray1_sim.c.
Referenced by ar_sim().
Definition at line 145 of file cray1_sim.c.
Referenced by ar_sim().
#define set_a_size | ( | s | ) |
Definition at line 225 of file cray1_sim.c.
Referenced by open_arith_file().
Definition at line 653 of file cray1_sim.c.
Referenced by ar_sim().
Definition at line 104 of file cray1_sim.c.
Referenced by ar_ext_address(), ar_pass_arg_address(), ar_pass_ext_address(), ar_pass_fcd_address(), ar_sim(), load_pvp_word(), and store_pvp_word().
#define STACK_SIZE 20480 /* # words to allocate for stack space */ |
Definition at line 106 of file cray1_sim.c.
Referenced by ar_pass_arg_address(), ar_pass_ext_address(), ar_pass_fcd_address(), ar_sim(), load_pvp_word(), open_arith_file(), and store_pvp_word().
#define T3D 10 |
Definition at line 54 of file cray1_sim.c.
Referenced by open_arith_file().
#define T3E 12 |
Definition at line 56 of file cray1_sim.c.
Referenced by open_arith_file().
#define T90 11 |
Definition at line 55 of file cray1_sim.c.
Referenced by ar_pass_fcd_address(), ar_sim(), and open_arith_file().
#define UNIMPL_INST 7 /* Unimplemented instruction encountered */ |
Definition at line 656 of file cray1_sim.c.
Referenced by ar_sim().
#define UNIMPL_PRFX 8 /* Unimplemented prefixed instruction encountered */ |
Definition at line 657 of file cray1_sim.c.
Referenced by ar_sim().
#define YMP 7 |
Definition at line 52 of file cray1_sim.c.
Referenced by open_arith_file().
typedef unsigned long long int64 |
Definition at line 98 of file cray1_sim.c.
static int ar_check_status | ( | int | status, |
AR_IEEE_64 * | rr | ||
) | [static] |
Definition at line 669 of file cray1_sim.c.
References AR_IEEE64_MAX_EXPO, AR_STAT_OK, AR_STAT_OVERFLOW, AR_STAT_UNDEFINED, AR_IEEE_64::coeff0, AR_IEEE_64::coeff1, AR_IEEE_64::coeff2, AR_IEEE_64::coeff3, AR_IEEE_64::expo, INTERRUPT_DIV, INTERRUPT_INV, INTERRUPT_OVF, IS_ERROR_STATUS, and SR0.
Referenced by ar_sim().
int ar_clear_sim_state | ( | AR_TYPE | resulttype | ) |
Definition at line 238 of file cray1_sim.c.
References AR_CLASS, AR_CLASS_FLOAT, AR_CRAY_FLOATING_POINT, AR_FLOAT_CRAY, AR_FLOAT_FORMAT, ar_state_info::ar_float_format, AR_FLOAT_IEEE, AR_IEEE_FLOATING_POINT, ar_internal_error(), AR_STAT_OK, ar_state_register, code, getenv(), n_external_addresses, NULL, numargs, numargwds, and open_arith_file().
Referenced by ar_cabs(), ar_convert_str_to_float(), ar_exp(), ar_index(), ar_log(), ar_modulo(), ar_power(), ar_reshape(), ar_scan(), ar_selected_real_kind(), ar_sqrt(), ar_transfer(), and ar_verify().
int ar_ext_address | ( | int64 * | intaddr, |
const char * | extaddr, | ||
int | length | ||
) |
Definition at line 272 of file cray1_sim.c.
References AR_STAT_OK, AR_STAT_UNDEFINED, DATA, external_address, external_length, MAX_EXT_ADDRS, n_external_addresses, NULL, and STACK.
Referenced by ar_pass_ext_address(), ar_pass_fcd_address(), ar_reshape(), ar_sim(), ar_transfer(), and call_host_external().
int ar_get_function_value | ( | ar_data * | result, |
AR_TYPE * | resulttype | ||
) |
Definition at line 552 of file cray1_sim.c.
References AR_CLASS, AR_CLASS_FLOAT, AR_CLASS_INT, ar_convert_to_complex(), ar_convert_to_float(), ar_convert_to_integral(), AR_ERROR_STATUS, AR_STAT_INVALID_TYPE, CRAY_COMPLEX_128, cray_complex_128, CRAY_COMPLEX_64, cray_complex_64, CRAY_FLOAT_128, cray_float_128, CRAY_FLOAT_64, cray_float_64, IEEE_COMPLEX_128, ieee_complex_128, IEEE_COMPLEX_64, ieee_complex_64, IEEE_FLOAT_128, ieee_float_128, IEEE_FLOAT_64, ieee_float_64, S, and UNROUNDED_TYPE.
Referenced by ar_cabs(), ar_exp(), ar_index(), ar_log(), ar_modulo(), ar_power(), ar_scan(), ar_selected_real_kind(), ar_sqrt(), and ar_verify().
static int ar_imul64u | ( | int64 * | result, |
int64 | opnd1, | ||
int64 | opnd2 | ||
) | [static] |
Definition at line 3198 of file cray1_sim.c.
References AR_STAT_OK, HI32, and LO32.
Referenced by ar_sim().
int ar_pass_arg_address | ( | const ar_data * | arg, |
const AR_TYPE * | argtype | ||
) |
Definition at line 294 of file cray1_sim.c.
Referenced by ar_index(), ar_modulo(), ar_power(), ar_scan(), ar_selected_real_kind(), ar_transfer(), and ar_verify().
int ar_pass_arg_value | ( | const ar_data * | arg, |
const AR_TYPE * | argtype | ||
) |
Definition at line 475 of file cray1_sim.c.
Referenced by ar_cabs(), ar_exp(), ar_log(), ar_power(), and ar_sqrt().
int ar_pass_ext_address | ( | int64 * | extdesc, |
const char * | addr, | ||
int | nwords | ||
) |
Definition at line 380 of file cray1_sim.c.
References ar_ext_address(), ar_internal_error(), AR_STAT_OK, IS_ERROR_STATUS, MAX_ARGS, NULL, numargs, numargwds, S, STACK, STACK_SIZE, and store_pvp_word().
Referenced by ar_convert_str_to_float(), ar_reshape(), and ar_transfer().
int ar_pass_fcd_address | ( | const char * | str, |
long | lenstr | ||
) |
Definition at line 427 of file cray1_sim.c.
Referenced by ar_index(), ar_scan(), and ar_verify().
int ar_put_real_address | ( | AR_INT_64 * | extdesc | ) |
Definition at line 537 of file cray1_sim.c.
Referenced by ar_reshape(), and ar_transfer().
int ar_sim | ( | char * | intrinsic | ) |
Definition at line 686 of file cray1_sim.c.
Referenced by ar_cabs(), ar_convert_str_to_float(), ar_exp(), ar_index(), ar_log(), ar_modulo(), ar_power(), ar_reshape(), ar_scan(), ar_selected_real_kind(), ar_sqrt(), ar_transfer(), and ar_verify().
static int call_host_external | ( | char * | func | ) | [static] |
Definition at line 632 of file cray1_sim.c.
References ar_ext_address(), AR_STAT_UNDEFINED, and S.
Referenced by ar_sim().
static int64 load_pvp_word | ( | long | vaddr | ) | [static] |
Definition at line 3489 of file cray1_sim.c.
References ar_internal_error(), DATA, data_address, data_offset, data_page, external_address, external_length, idf_fd, idf_size, lseek, MAX_ARGS, n_external_addresses, ndata_pages, NULL, PAGESHFT, PAGESZ, read, result, STACK, stack, and STACK_SIZE.
Referenced by ar_sim(), and store_pvp_word().
static void open_arith_file | ( | ) | [static] |
Definition at line 3246 of file cray1_sim.c.
References AMASK, AR_128BIT_DOUBLE_DOUBLE, AR_128BIT_EXTENDED_DOUBLE, ar_state_info::ar_128bit_format, AR_CRAY_FLOATING_POINT, ar_state_info::ar_denorms_trap, ar_state_info::ar_float_format, AR_IEEE_FLOATING_POINT, ar_internal_error(), AR_libmv2, ar_mach_type, AR_ROUND_MINUS_INFINITY, AR_ROUND_NEAREST, AR_ROUND_PLUS_INFINITY, AR_ROUND_ZERO, AR_ROUNDED, ar_state_info::ar_rounding_mode, ar_rounding_modes, ar_state_register, ar_state_info::ar_underflow_mode, ar_underflow_modes, AR_UNDERFLOW_TO_PLUS_ZERO, AR_UNROUNDED, ASB, C90, close, code, CRAY_AHDR_SIZE, data_address, data_offset, data_page, data_size, fd, getenv(), idf_fd, idf_size, JSZP, Logfile_Warning, lseek, MAX_ARGS, ndata_pages, NULL, open, PAGESHFT, PAGESZ, PRINTMSG(), read, set_a_size, shared_text, stack, STACK_SIZE, strcpy, strnstrn(), T3D, T3E, T90, text_size, V, VSZ, and YMP.
Referenced by ar_clear_sim_state().
static void store_pvp_word | ( | long | vaddr, |
int64 | word | ||
) | [static] |
Definition at line 3554 of file cray1_sim.c.
References ar_internal_error(), DATA, data_offset, data_page, data_size, external_address, external_length, load_pvp_word(), MAX_ARGS, n_external_addresses, ndata_pages, NULL, PAGESHFT, PAGESZ, result, STACK, stack, and STACK_SIZE.
Referenced by ar_pass_arg_address(), ar_pass_ext_address(), ar_pass_fcd_address(), and ar_sim().
Definition at line 119 of file cray1_sim.c.
Referenced by ar_sim(), and open_arith_file().
char AR_libmv2[] |
Definition at line 39 of file edition.c.
Referenced by open_arith_file(), and open_intrinsics_file().
int ar_mach_type = 0 |
Definition at line 63 of file cray1_sim.c.
Referenced by ar_pass_fcd_address(), ar_sim(), open_arith_file(), and open_intrinsics_file().
int ar_rounding_modes = 0 |
Definition at line 64 of file cray1_sim.c.
int ar_sim_version = 0 [static] |
Definition at line 101 of file cray1_sim.c.
Referenced by ar_sim().
int ar_underflow_modes = 0 |
Definition at line 65 of file cray1_sim.c.
char AR_version[] |
Definition at line 38 of file edition.c.
Referenced by ar_internal_error().
Definition at line 120 of file cray1_sim.c.
Referenced by ar_sim(), and open_arith_file().
Definition at line 125 of file cray1_sim.c.
Referenced by ar_sim().
Definition at line 111 of file cray1_sim.c.
Referenced by ar_clear_sim_state(), ISA_Operands_End(), ISA_Properties_End(), ISA_Subset_Begin(), ISA_Subset_End(), open_arith_file(), PROC_Properties_End(), and process_defg().
AR_TYPE cray_complex_128 = (AR_TYPE) CRAY_COMPLEX_128 [static] |
Definition at line 88 of file cray1_sim.c.
Referenced by ar_get_function_value().
AR_TYPE cray_complex_64 = (AR_TYPE) CRAY_COMPLEX_64 [static] |
Definition at line 87 of file cray1_sim.c.
Referenced by ar_get_function_value().
AR_TYPE cray_float_128 = (AR_TYPE) CRAY_FLOAT_128 [static] |
Definition at line 86 of file cray1_sim.c.
Referenced by ar_get_function_value().
AR_TYPE cray_float_64 = (AR_TYPE) CRAY_FLOAT_64 [static] |
Definition at line 85 of file cray1_sim.c.
Referenced by ar_get_function_value().
long data_address [static] |
Definition at line 3240 of file cray1_sim.c.
Referenced by load_pvp_word(), and open_arith_file().
long data_offset [static] |
Definition at line 3238 of file cray1_sim.c.
Referenced by load_pvp_word(), open_arith_file(), and store_pvp_word().
Definition at line 3242 of file cray1_sim.c.
Referenced by load_pvp_word(), open_arith_file(), and store_pvp_word().
long data_size [static] |
Definition at line 3237 of file cray1_sim.c.
Referenced by cif_summary_rec(), cvrt_proc_to_pdg(), main(), open_arith_file(), and store_pvp_word().
char* external_address[MAX_EXT_ADDRS] [static] |
Definition at line 140 of file cray1_sim.c.
Referenced by ar_ext_address(), ar_put_real_address(), load_pvp_word(), and store_pvp_word().
long external_length[MAX_EXT_ADDRS] [static] |
Definition at line 141 of file cray1_sim.c.
Referenced by ar_ext_address(), load_pvp_word(), and store_pvp_word().
int idf_fd [static] |
Definition at line 3234 of file cray1_sim.c.
Referenced by load_pvp_word(), and open_arith_file().
long idf_size [static] |
Definition at line 3235 of file cray1_sim.c.
Referenced by load_pvp_word(), and open_arith_file().
AR_TYPE ieee_complex_128 = (AR_TYPE) IEEE_COMPLEX_128 [static] |
Definition at line 93 of file cray1_sim.c.
Referenced by ar_get_function_value().
AR_TYPE ieee_complex_64 = (AR_TYPE) IEEE_COMPLEX_64 [static] |
Definition at line 92 of file cray1_sim.c.
Referenced by ar_get_function_value().
AR_TYPE ieee_float_128 = (AR_TYPE) IEEE_FLOAT_128 [static] |
Definition at line 91 of file cray1_sim.c.
Referenced by ar_get_function_value().
AR_TYPE ieee_float_64 = (AR_TYPE) IEEE_FLOAT_64 [static] |
Definition at line 90 of file cray1_sim.c.
Referenced by ar_get_function_value(), and ar_sim().
AR_TYPE integer_128_s = AR_Int_128_S [static] |
Definition at line 82 of file cray1_sim.c.
AR_TYPE integer_128_u = AR_Int_128_U [static] |
Definition at line 83 of file cray1_sim.c.
AR_TYPE integer_64_s = AR_Int_64_S [static] |
Definition at line 80 of file cray1_sim.c.
AR_TYPE integer_64_u = AR_Int_64_U [static] |
Definition at line 81 of file cray1_sim.c.
int JSZP [static] |
Definition at line 116 of file cray1_sim.c.
Referenced by ar_sim(), and open_arith_file().
int n_external_addresses [static] |
Definition at line 139 of file cray1_sim.c.
Referenced by ar_clear_sim_state(), ar_ext_address(), ar_put_real_address(), load_pvp_word(), and store_pvp_word().
int ndata_pages [static] |
Definition at line 3243 of file cray1_sim.c.
Referenced by load_pvp_word(), open_arith_file(), and store_pvp_word().
int numargs [static] |
Definition at line 137 of file cray1_sim.c.
Referenced by ar_clear_sim_state(), ar_pass_arg_address(), ar_pass_arg_value(), ar_pass_ext_address(), ar_pass_fcd_address(), ar_sim(), cwh_char_intrin(), cwh_funny_fp_intrinsic(), cwh_intrin_build(), cwh_intrin_call(), cwh_intrin_op(), cwh_stmt_conformance_checks_walk(), and simple_intrinsic().
int numargwds [static] |
Definition at line 138 of file cray1_sim.c.
Referenced by ar_clear_sim_state(), ar_pass_arg_address(), ar_pass_arg_value(), ar_pass_ext_address(), ar_pass_fcd_address(), and ar_sim().
Definition at line 123 of file cray1_sim.c.
Referenced by ar_get_function_value(), ar_pass_arg_address(), ar_pass_arg_value(), ar_pass_ext_address(), ar_pass_fcd_address(), ar_sim(), and call_host_external().
int shared_text = 0 [static] |
Definition at line 3239 of file cray1_sim.c.
Referenced by open_arith_file().
int SR0 [static] |
Definition at line 128 of file cray1_sim.c.
Referenced by ar_check_status(), and ar_sim().
Definition at line 112 of file cray1_sim.c.
Referenced by ar_pass_arg_address(), load_pvp_word(), open_arith_file(), and store_pvp_word().
Definition at line 126 of file cray1_sim.c.
Referenced by mempool_allocator< T >::allocate(), SEGMENTED_ARRAY< T, block_size >::Allocate(), RELATED_SEGMENTED_ARRAY< T, block_size >::Allocate(), ar_sim(), mempool_allocator< T >::construct(), RELATED_SEGMENTED_ARRAY< T, block_size >::Construct_new_entry(), Copy_array_range(), Find_entry_if(), For_all_blocks(), For_all_entries(), SEGMENTED_ARRAY< T, block_size >::Insert(), RELATED_SEGMENTED_ARRAY< T, block_size >::Insert(), mempool_allocator< T >::max_size(), WRITE_TABLE_OP< T >::operator()(), SEGMENTED_ARRAY< T, block_size >::Pop_Map(), and RELATED_SEGMENTED_ARRAY< T, block_size >::Pop_Map().
long text_size [static] |
Definition at line 3236 of file cray1_sim.c.
Referenced by open_arith_file().
Definition at line 35 of file cray1_sim.c.
Definition at line 133 of file cray1_sim.c.
Referenced by ar_sim(), and open_arith_file().
int VL [static] |
Definition at line 130 of file cray1_sim.c.
Referenced by ar_sim().
Definition at line 131 of file cray1_sim.c.
Referenced by ar_sim().
Definition at line 132 of file cray1_sim.c.
Referenced by ar_sim().
int VSZ [static] |
Definition at line 117 of file cray1_sim.c.
Referenced by ar_sim(), and open_arith_file().