FP_formats fmt)
{
sim_fpu wop = {0}, wtemp = {0}, wmagic = {0}, wans = {0};
- int64_t intermediate;
int status = 0;
sim_fpu_round round = rounding_mode (GETRM());
{
sim_fpu wop1, wop2;
int result = 0;
- int signalling = cond & 0x8;
switch (fmt)
{
sim_fpu_class_number, 0, IMPLICIT_1, 0
};
int status = 0;
- sim_fpu t;
if (sim_fpu_is_zero (l))
{
// round: 0 = no rounding, 1 = rounding
:function:::void:do_qb_shra:int rd, int rt, int shift, int round
{
- int i, j;
+ int i;
int8_t q0;
uint32_t v1 = GPR[rt];
uint32_t result = 0;
:function:::void:do_ph_shrl:int rd, int rt, int shift
{
- int i, j;
+ int i;
uint16_t h0;
uint32_t v1 = GPR[rt];
uint32_t result = 0;
// round: 0 = no rounding, 1 = rounding
:function:::void:do_qh_w_op:int rd, int rs, int rt, int op, int round
{
- int i;
int64_t v0;
int32_t v1 = (int32_t)GPR[rs];
int32_t v2 = (int32_t)GPR[rt];
/* If we find an entry at address 0, then we will end up
allocating a new buffer in the "memory alias" command
below. The region at address 0 will be deleted. */
- address_word size = (entry->modulo != 0
- ? entry->modulo : entry->nr_bytes);
if (entry->addr == 0
&& (!match || entry->level < match->level))
match = entry;
:function:::void:do_pref:int hint, int insn_offset, int insn_base
{
+ /*
address_word base = GPR[insn_base];
address_word offset = EXTEND16 (insn_offset);
- {
- address_word vaddr = loadstore_ea (SD_, base, offset);
- address_word paddr = vaddr;
- /* Prefetch (paddr, vaddr, isDATA, hint); */
- }
+ address_word vaddr = loadstore_ea (SD_, base, offset);
+ address_word paddr = vaddr;
+ Prefetch (paddr, vaddr, isDATA, hint);
+ */
}
:function:::void:do_sc:int rt, int offsetarg, int basereg, address_word instruction_0, int store_ll_bit
{
- uint32_t instruction = instruction_0;
address_word base = GPR[basereg];
address_word offset = EXTEND16 (offsetarg);
{
:function:::void:do_prefx:int hint, int rindex, int rbase
{
+ /*
address_word base = GPR[rbase];
address_word index = GPR[rindex];
- {
- address_word vaddr = loadstore_ea (SD_, base, index);
- address_word paddr = vaddr;
- /* Prefetch (paddr, vaddr, isDATA, hint); */
- }
+ address_word vaddr = loadstore_ea (SD_, base, index);
+ address_word paddr = vaddr;
+ Prefetch (paddr, vaddr, isDATA, hint);
+ */
}
:function:::void:do_sdc1:int ft, int offset, int base