static void
fill_line_from_memory (FRV_CACHE *cache, FRV_CACHE_TAG *tag, SI address)
{
- PCADDR pc;
int line_alignment;
SI read_address;
SIM_CPU *current_cpu = cache->cpu;
tag->line = cache->data_storage + (line_index * cache->line_size);
}
- pc = CPU_PC_GET (current_cpu);
line_alignment = cache->line_size - 1;
read_address = address & ~line_alignment;
read_data_from_memory (current_cpu, read_address, tag->line,
{
int cycles;
FRV_PROFILE_STATE *ps;
- const CGEN_INSN *insn;
int busy_adjustment[] = {0, 0};
int *fr;
cycles = idesc->timing->units[unit_num].done;
ps = CPU_PROFILE_STATE (cpu);
- insn = idesc->idata;
/* The latency of the registers may be less than previously recorded,
depending on how they were used previously.
{
int cycles;
FRV_PROFILE_STATE *ps;
- const CGEN_INSN *insn;
int busy_adjustment[] = {0};
- int *fr;
if (model_insn == FRV_INSN_MODEL_PASS_1)
return 0;
cycles = idesc->timing->units[unit_num].done;
ps = CPU_PROFILE_STATE (cpu);
- insn = idesc->idata;
/* The latency of the registers may be less than previously recorded,
depending on how they were used previously.
post_wait_for_FR (cpu, out_FRk);
/* Restore the busy cycles of the registers we used. */
- fr = ps->fr_busy;
/* The latency of the output register will be at least the latency of the
other inputs. Once initiated, post-processing will take 1 cycle. */
{
int cycles;
FRV_PROFILE_STATE *ps;
- const CGEN_INSN *insn;
INT ACC40Si_1;
INT FRk_1;
ACC40Si_1 = DUAL_REG (in_ACC40Si);
FRk_1 = DUAL_REG (out_FRk);
- insn = idesc->idata;
-
/* The post processing must wait if there is a dependency on a FR
which is not ready yet. */
ps->post_wait = cycles;
{
int cycles;
FRV_PROFILE_STATE *ps;
- const CGEN_INSN *insn;
int busy_adjustment[] = {0};
int *fr;
cycles = idesc->timing->units[unit_num].done;
ps = CPU_PROFILE_STATE (cpu);
- insn = idesc->idata;
/* The latency of the registers may be less than previously recorded,
depending on how they were used previously.
{
int cycles;
FRV_PROFILE_STATE *ps;
- const CGEN_INSN *insn;
int is_media_s1;
int is_media_s2;
int busy_adjustment[] = {0, 0, 0};
cycles = idesc->timing->units[unit_num].done;
ps = CPU_PROFILE_STATE (cpu);
- insn = idesc->idata;
/* If the previous use of the registers was a media op,
then their latency will be less than previously recorded.