[PATCH][AArch64] Use common rtx cost table structures with arm
Kyrill Tkachov
kyrylo.tkachov@arm.com
Wed Nov 13 12:33:00 GMT 2013
Hi all,
This patch adjusts aarch64 to use the the same rtx cost table struct as arm and
adds an include for the aarch-cost-table.h file which will include shared cost
tables.
The rtx costs function is adjusted to use the correct struct and fields.
Tested aarch64-none-elf on a model.
Ok for trunk?
Thanks,
Kyrill
2013-11-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.c: Include aarch-cost-tables.h.
(generic_rtx_cost_table): Remove.
(aarch64_rtx_costs): Use fields from cpu_cost_table.
* config/aarch64/aarch64-protos.h (tune_params): Use cpu_cost_table for
insn_extra_cost.
(cpu_rtx_cost_table): Remove.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: share-costs-aarch64.patch
Type: text/x-patch
Size: 6835 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131113/247139fc/attachment.bin>
More information about the Gcc-patches
mailing list