URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 1666 to Rev 1667
- ↔ Reverse comparison
Rev 1666 → Rev 1667
/trunk/or1ksim/cpu/or32/op_swhb_op.h
20,126 → 20,35
|
/* FIXME: Do something with breakpoint */ |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _t0_t0)(void) |
#ifdef OP_2T |
__or_dynop void glue(glue(op_, S_OP_NAME), T)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(t0 + OP_PARAM1, t0, &breakpoint); |
S_FUNC(T0 + OP_PARAM1, T1, &breakpoint); |
} |
#endif |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _t0_t1)(void) |
#ifdef OP_1T |
__or_dynop void glue(glue(glue(op_, S_OP_NAME), _imm), T)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(t0 + OP_PARAM1, t1, &breakpoint); |
S_FUNC(OP_PARAM1, T0, &breakpoint); |
} |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _t0_t2)(void) |
__or_dynop void glue(glue(glue(op_, S_OP_NAME), _clear), T)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(t0 + OP_PARAM1, t2, &breakpoint); |
S_FUNC(T0 + OP_PARAM1, 0, &breakpoint); |
} |
#endif |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _t1_t1)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(t1 + OP_PARAM1, t1, &breakpoint); |
} |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _t1_t0)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(t1 + OP_PARAM1, t0, &breakpoint); |
} |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _t1_t2)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(t1 + OP_PARAM1, t2, &breakpoint); |
} |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _t2_t0)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(t2 + OP_PARAM1, t0, &breakpoint); |
} |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _t2_t1)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(t2 + OP_PARAM1, t1, &breakpoint); |
} |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _t2_t2)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(t2 + OP_PARAM1, t2, &breakpoint); |
} |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _imm_t0)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(OP_PARAM1, t0, &breakpoint); |
} |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _imm_t1)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(OP_PARAM1, t1, &breakpoint); |
} |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _imm_t2)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(OP_PARAM1, t2, &breakpoint); |
} |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _clear_t0)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(t0 + OP_PARAM1, 0, &breakpoint); |
} |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _clear_t1)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(t1 + OP_PARAM1, 0, &breakpoint); |
} |
|
__or_dynop void glue(glue(op_, S_OP_NAME), _clear_t2)(void) |
{ |
int breakpoint; |
upd_sim_cycles(); |
save_t_temporary(); |
S_FUNC(t2 + OP_PARAM1, 0, &breakpoint); |
} |
|
#if !defined(OP_1T) && !defined(OP_2T) |
__or_dynop void glue(glue(op_, S_OP_NAME), _clear_imm)(void) |
{ |
int breakpoint; |
147,4 → 56,5
save_t_temporary(); |
S_FUNC(OP_PARAM1, 0, &breakpoint); |
} |
#endif |
|
/trunk/or1ksim/cpu/or32/op.c
847,9 → 847,13
|
#undef OP_FILE |
|
#define OP_FILE "op_swhb_op.h" |
|
#define S_OP_NAME sb |
#define S_FUNC set_mem8 |
#include "op_swhb_op.h" |
#include "op_2t.h" |
#include "op_1t.h" |
#undef S_FUNC |
#undef S_OP_NAME |
|
856,6 → 860,8
#define S_OP_NAME sh |
#define S_FUNC set_mem16 |
#include "op_swhb_op.h" |
#include "op_2t.h" |
#include "op_1t.h" |
#undef S_FUNC |
#undef S_OP_NAME |
|
862,6 → 868,8
#define S_OP_NAME sw |
#define S_FUNC set_mem32 |
#include "op_swhb_op.h" |
#include "op_2t.h" |
#include "op_1t.h" |
#undef S_FUNC |
#undef S_OP_NAME |
|