* config/c6x/c6x.md (collapse-ndfa, no-comb-vect): New automata_options. (d1, l1, s1, m1, d2, l2, s2, m2): Changed to define_query_cpu_unit. (l1w, s1w, l2w, s2w): Define in the main automaton. (fps1, fpl1, adddps1, adddpl1, fps2, fpl2, adddps2, adddpl2): New units. * config/c6x/c6x.c (c6x_sched_insn_info): Add unit_mask member. (c6x_unit_names): Add the new units. (c6x_unit_codes): New static array. (UNIT_QID_D1, UNIT_QID_L1, UNIT_QID_S1, UNIT_QID_M1, UNIT_QID_FPS1, UNIT_QID_FPL1, UNIT_QID_ADDDPS1, UNIT_QID_ADDDPL1, UNIT_QID_SIDE_OFFSET): New macros. (RESERVATION_S2): Adjust value. (c6x_option_override): Compute c6x_unit_codes. (assign_reservations): Take the unit_mask of the last instruction into account. Detect floating point reservations by looking for the new units. Don't assign reservations if the field is already nonzero. (struct c6x_sched_context): Add member prev_cycle_state_ctx. (init_sched_state): Initialize it. (c6x_clear_sched_context): Free it. (insn_set_clock): Clear reservation. (prev_cycle_state): New static variable. (c6x_init_sched_context): Save it. (c6x_sched_init): Allocate space for it and clear it. (c6x_sched_dfa_pre_cycle_insn): New static function. (c6x_dfa_new_cycle): Save state at the start of a new cycle. (c6x_variable_issue): Only record units in the unit_mask that were not set at the start of the cycle. (c6x_variable_issue): Compute and store the unit_mask from the current state. (reorg_split_calls): Ensure the new information remains correct. (TARGET_SCHED_DFA_NEW_CYCLE, TARGET_SCHED_CLEAR_SCHED_CONTEXT, TARGET_SCHED_DFA_PRE_CYCLE_INSN): Define. * config/c6x/c6x.h (CPU_UNITS_QUERY): Define. * config/c6x/c6x-sched.md.in (fp4_ls_N__CROSS_, adddp_ls_N__CROSS_): Add special reservations. * config/c6x/c6x-sched.md: Regenerate. From-SVN: r178488
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
c6x-isas.def | Loading commit data... | |
c6x-modes.def | Loading commit data... | |
c6x-mult.md | Loading commit data... | |
c6x-mult.md.in | Loading commit data... | |
c6x-opts.h | Loading commit data... | |
c6x-protos.h | Loading commit data... | |
c6x-sched.md | Loading commit data... | |
c6x-sched.md.in | Loading commit data... | |
c6x-tables.opt | Loading commit data... | |
c6x.c | Loading commit data... | |
c6x.h | Loading commit data... | |
c6x.md | Loading commit data... | |
c6x.opt | Loading commit data... | |
c6x_intrinsics.h | Loading commit data... | |
constraints.md | Loading commit data... | |
crti.s | Loading commit data... | |
crtn.s | Loading commit data... | |
elf-common.h | Loading commit data... | |
elf.h | Loading commit data... | |
eqd.c | Loading commit data... | |
eqf.c | Loading commit data... | |
ged.c | Loading commit data... | |
gef.c | Loading commit data... | |
genmult.sh | Loading commit data... | |
genopt.sh | Loading commit data... | |
gensched.sh | Loading commit data... | |
gtd.c | Loading commit data... | |
gtf.c | Loading commit data... | |
led.c | Loading commit data... | |
lef.c | Loading commit data... | |
lib1funcs.asm | Loading commit data... | |
libgcc-c6xeabi.ver | Loading commit data... | |
ltd.c | Loading commit data... | |
ltf.c | Loading commit data... | |
predicates.md | Loading commit data... | |
sync.md | Loading commit data... | |
t-c6x | Loading commit data... | |
t-c6x-elf | Loading commit data... | |
t-c6x-uclinux | Loading commit data... | |
uclinux-elf.h | Loading commit data... |