URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1660 |
Rev 1661 |
Line 506... |
Line 506... |
|
|
#define OP_FILE "op_3t_op.h"
|
#define OP_FILE "op_3t_op.h"
|
#include "op_3t.h"
|
#include "op_3t.h"
|
#undef OP_FILE
|
#undef OP_FILE
|
|
|
|
#define OP_FILE "op_arith_op.h"
|
#define OP_EXTRA
|
#define OP_EXTRA
|
|
|
#define OP /
|
#define OP /
|
#define OP_CAST(T) (orreg_t)T
|
#define OP_CAST(x) (orreg_t)(x)
|
#define OP_NAME div
|
#define OP_NAME div
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#define OP /
|
#define OP /
|
#define OP_CAST(T) T
|
#define OP_CAST(x) (x)
|
#define OP_NAME divu
|
#define OP_NAME divu
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#define OP *
|
#define OP *
|
#define OP_CAST(T) T
|
#define OP_CAST(x) (x)
|
#define OP_NAME mulu
|
#define OP_NAME mulu
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#define OP -
|
#define OP -
|
#define OP_CAST(T) (orreg_t)T
|
#define OP_CAST(x) (orreg_t)(x)
|
#define OP_NAME sub
|
#define OP_NAME sub
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#undef OP_EXTRA
|
#undef OP_EXTRA
|
|
|
#define OP_HAS_IMM
|
|
|
|
#define OP_EXTRA + ((env->sprs[SPR_SR] & SPR_SR_CY) >> 10)
|
#define OP_EXTRA + ((env->sprs[SPR_SR] & SPR_SR_CY) >> 10)
|
#define OP +
|
#define OP +
|
#define OP_CAST(T) (orreg_t)T
|
#define OP_CAST(x) (orreg_t)(x)
|
#define OP_NAME addc
|
#define OP_NAME addc
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
|
#include "op_2t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#undef OP_EXTRA
|
#undef OP_EXTRA
|
#define OP_EXTRA
|
#define OP_EXTRA
|
|
|
#define OP +
|
#define OP +
|
#define OP_CAST(T) (orreg_t)T
|
#define OP_CAST(x) (orreg_t)(x)
|
#define OP_NAME add
|
#define OP_NAME add
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
|
#include "op_2t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#define OP &
|
#define OP &
|
#define OP_CAST(T) T
|
#define OP_CAST(x) (x)
|
#define OP_NAME and
|
#define OP_NAME and
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
|
#include "op_2t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#define OP *
|
#define OP *
|
#define OP_CAST(T) (orreg_t)T
|
#define OP_CAST(x) (orreg_t)(x)
|
#define OP_NAME mul
|
#define OP_NAME mul
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
|
#include "op_2t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#define OP |
|
#define OP |
|
#define OP_CAST(T) T
|
#define OP_CAST(x) (x)
|
#define OP_NAME or
|
#define OP_NAME or
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
|
#include "op_2t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#define OP <<
|
#define OP <<
|
#define OP_CAST(T) T
|
#define OP_CAST(x) (x)
|
#define OP_NAME sll
|
#define OP_NAME sll
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
|
#include "op_2t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#define OP >>
|
#define OP >>
|
#define OP_CAST(T) (orreg_t)T
|
#define OP_CAST(x) (orreg_t)(x)
|
#define OP_NAME sra
|
#define OP_NAME sra
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
|
#include "op_2t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#define OP >>
|
#define OP >>
|
#define OP_CAST(T) T
|
#define OP_CAST(x) (x)
|
#define OP_NAME srl
|
#define OP_NAME srl
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
|
#include "op_2t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#define OP ^
|
#define OP ^
|
#define OP_CAST(T) T
|
#define OP_CAST(x) (x)
|
#define OP_NAME xor
|
#define OP_NAME xor
|
#include "op_arith_op.h"
|
#include "op_3t.h"
|
|
#include "op_2t.h"
|
#undef OP_NAME
|
#undef OP_NAME
|
#undef OP_CAST
|
#undef OP_CAST
|
#undef OP
|
#undef OP
|
|
|
#undef OP_EXTRA
|
#undef OP_EXTRA
|
#undef OP_HAS_IMM
|
#undef OP_FILE
|
|
|
#define EXT_NAME extbs
|
#define EXT_NAME extbs
|
#define EXT_TYPE int8_t
|
#define EXT_TYPE int8_t
|
#define EXT_CAST (orreg_t)
|
#define EXT_CAST (orreg_t)
|
#include "op_extend_op.h"
|
#include "op_extend_op.h"
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.